Cached normals?
Jarel
Posts: 18
Hi. I'm updating some code from 3.x that exports scene geometry.
DzObject.getCachedGeom() used to return DzPolyMesh* and now returns DzVertexMesh*. Easy enough to get the vertex positions from this, but I can't see how to get the transformed normals. Is there still a way to do this please?
Comments
Cast it to a DzFacetMesh with qobject_cast(your_pointer)
That worked. Thanks very much.