Generate Normal Data for All Meshes in a 3D File
Contents
[
Hide
]
Using Aspose.3D for Python via .NET, developers can generate normal data for all meshes in any 3D model (without the normal data).
Generate Normal Data for All Meshes in a 3DS File
The generate_normal
method exposed by the PolygonModifier
class can be used to generate normal data for all meshes in a 3DS file. If VertexElementSmoothingGroup
element was defined in the mesh, the generated normal data will get smoothed by the VertexElementSmoothingGroup
.
Programming Sample
This code example loads a 3DS file, visit all nodes and create normal data for all meshes.