View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0033706 | Community | OCCT:Data Exchange | public | 2024-05-12 14:21 | 2024-05-13 12:43 |
| Reporter | dsa-t | Assigned To | dpasukhi | ||
| Priority | normal | Severity | integration request | ||
| Status | assigned | Resolution | open | ||
| Platform | Windows | OS | VC 2022 | ||
| Product Version | 7.8.0 | ||||
| Target Version | 7.9.0 | ||||
| Summary | 0033706: Data Exchange, Vrml - Recompute normals when the normal count is different to vertex count | ||||
| Description | Some VRML models define IndexedFaceSet with Normal as empty vector array. This causes a "zero norm" exception in gp_Dir constructor when calling aTriangulation->SetNormal() in VrmlData_IndexedFaceSet::TShape. Example structure:
Shape {
appearance
Appearance {
...
}
geometry
IndexedFaceSet {
coord
Coordinate {
...
}
normal
Normal {
vector [ ]
}
coordIndex [
... ]
...
}
},
Example file and patch are attached. It is ok to push the patch without CLA. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
|
Dear @dsa-t, My apologies, there are some internal bug with attachments, Could you please re-attach files as a new node(Add Node). Thank you for your investigation! |
|
|
vrml-normals-count.patch (1,117 bytes) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-05-12 14:21 | dsa-t | New Issue | |
| 2024-05-12 14:21 | dsa-t | Assigned To | => ika |
| 2024-05-13 12:24 | dpasukhi | Target Version | => 7.9.0 |
| 2024-05-13 12:25 | dpasukhi | Summary | VRML - Recompute normals when the normal count is different to vertex count => Data Exchange, Vrml - Recompute normals when the normal count is different to vertex count |
| 2024-05-13 12:25 | dpasukhi | Description Updated | |
| 2024-05-13 12:25 | dpasukhi | Assigned To | ika => dpasukhi |
| 2024-05-13 12:25 | dpasukhi | Status | new => assigned |
| 2024-05-13 12:26 | dpasukhi | Note Added: 0115817 | |
| 2024-05-13 12:43 | dsa-t | Note Added: 0115819 | |
| 2024-05-13 12:43 | dsa-t | File Added: vrml-normals-count.patch | |
| 2024-05-13 12:43 | dsa-t | File Added: BHC-18650-1P.wrl |