Message 1 of 3
Reading render-time mesh

Not applicable
09-02-2013
03:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm working on a render plugin for 3DS Max and I'm having problems reading the render-specific object meshes, e.g. MeshSmoothed mesh with a different number of smooth iterations (using Render Values).
I seem to be stuck with the mesh visible in the viewport.
I'm using this procedure to get the final mesh:
meshNode = <the object's INode> Object * object = meshNode->EvalWorldState(time).obj; GeomObject * geomObject = (GeomObject *)object; Mesh * mesh = geomObject->GetRenderMesh(time, meshNode, *(View *)&nullView, needDelete);
Then I read out the geometry data and save it in the renderer's specific storage.
Can anyone see where the problem is?
Thanks