Re: Replace a geometry on an existing SI object via CMeshBuilder

2012-08-21 Thread Kamen Lilov
On 8/20/2012 10:29 PM, Steven Caron wrote: 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?

Re: Replace a geometry on an existing SI object via CMeshBuilder

2012-08-21 Thread Steven Caron
so you need to reassign and preserve cluster info? there is a pretty good chance any clusters made by the user will no longer be aligned with your new data, so preserving the old data would be quite difficult from my perspective. also any topological operators will fail to be useful. from what i

Re: Replace a geometry on an existing SI object via CMeshBuilder

2012-08-21 Thread Kamen Lilov
On 8/21/2012 8:09 PM, Steven Caron wrote: so you need to reassign and preserve cluster info? there is a pretty good chance any clusters made by the user will no longer be aligned with your new data, so preserving the old data would be quite difficult from my perspective. also any topological

Re: Replace a geometry on an existing SI object via CMeshBuilder

2012-08-21 Thread Steven Caron
could you use your own operator which sits at the bottom of the stack? On Tue, Aug 21, 2012 at 10:25 AM, Kamen Lilov kamen.li...@chaosgroup.comwrote: I control both the old data and the new geom data. We are building a preview mesh for a piece of external geometry, a.k.a. VRay Proxy / Arnold

Replace a geometry on an existing SI object via CMeshBuilder

2012-08-20 Thread Kamen Lilov
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.

Re: Replace a geometry on an existing SI object via CMeshBuilder

2012-08-20 Thread Steven Caron
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