::GetRenderingFacetMesh() for a terrain
While working on a fix for a number of my plugins that need to have a preview mesh and a rendering mesh I've come back to an unresolved issue. Can one get the rendering quality facet mesh for a terrain ? During a render the full mesh will be given to a deformer but I need to do my stuff during the preview.
The code I'm using works for all the other object types I've tried. Inside a modifier I start with the I3DShTreeElement then get the I3DShPrimitive.
I also tried to call ::GetRenderingFacetMesh() from the I3DExGeometricPrimitive but I can only ever get the preview mesh for a terrain.
The Carrara surface replicator and the Inagoni Replica plugin work properly and always distribute over the full quality mesh so there must be a way to do it...