Obtaining subdivided DzFacetMesh for a node
shoei321
Posts: 113
How to I get a reference to the current subdivided DzFacetMesh for a given node? Calling dzNode->getObject()->getCachedGeom() returns the subdivided mesh usually, but sometimes it gives me back the base mesh instead, even if subd is currently enabled for the node.
Is there a call I have to make in advance to force the pipeline to generate the subdivided mesh? I've tried calling dzObject->focreCacheUpdate() but no dice.
Thanks
Comments
From DzNode.h
-Rob
Thanks Rob, exactly what I needed.