Mon, 06/26/2023 - 12:05
Forums:
Hello,
The Poly_Triangulation::ComputeNormals()
seems to be computing normals on each node by a simple average.
Would it be possible to compute them from the underlying brep surface ?
I believe this would lead to better quality normals (and also display), by taking the "ideal" normal rather than a meshing-dependant one. Thanks for your insights !
Mon, 06/26/2023 - 12:39
Take a look at
BRepLib_ToolTriangulatedShape::ComputeNormals()
(in older OCCT -StdPrs_ToolTriangulatedShape
)Mon, 06/26/2023 - 14:04
So simple, worked like a charm. Thanks a bunch.