i have never tried to do such a thing but i think you have the right idea, at least thats what i gather from reading the CMeshBuilder class documentation. i would be weary of the clusters on the new mesh... maybe purge clusters before rebuilding?
On Mon, Aug 20, 2012 at 8:52 AM, Kamen Lilov <[email protected]>wrote: > I am trying to completely replace the geometry on an existing Softimage > X3DObject node - and do it quickly. This is not at render time but in an > interactive session. CMeshBuilder seems the best way to construct a > (relatively) large mesh's geometry from an internal, incompatible > representation. > > I am also trying to preserve everything else on the SI object - operator > stack, the render trees on the individual clusters, etc etc. I would rather > not try to serialize everything beside the mesh and then re-create the > entire node. > > Has anyone succeeded in replacing an object's mesh using CMeshBuilder > while keeping everything else intact? Any pitfalls? > > K. > >

