Obtaining subdivided DzFacetMesh for a node

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.





  • rbtwhizrbtwhiz Posts: 1,971
    edited February 2017

    From DzNode.h

    virtual void	update( bool isRender = false );virtual void	finalize( bool isRender = false, bool allowResChange = true );



    Post edited by rbtwhiz on
  • shoei321shoei321 Posts: 113

    Thanks Rob, exactly what I needed.

Sign In or Register to comment.