THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/06/2003 at 06:15, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
I use BaseDocument->Polygonize to get all object instances as polygons. that is working fine by all objects. The only function where it isn't working is the SplineRail Deformation. I tested all other deformers and they are wotking but it isn't working for SplineRail. Then the poygonize function returns the original polygon without modifications. The next crazy think is that when I put the polygon with the SplineRail into a NULL-object then it is working. Is it a bug from Cinema that the polygonize function isn't working or is there any reaseon for that.
Have anybody ideas for solutions and explanations?
On 08/06/2003 at 08:17, xxxxxxxx wrote:
I assume you are using a tag based system for the objects to tell you which objects are going to be rendered with an NPR system. The easiest way I can think of that should work is to use the SendModelingCommand with current state to object. This doesn't affect the scene and saves a great amount of memory ( because you can bring one object hierarchy into memory at a time and add use it to add your geometry and then step back out ). That should fix almost every problem I would think.
On 08/06/2003 at 09:44, xxxxxxxx wrote:
before BaseObject->Polygonize I used the ModellingCommand_CurrentState but then you don't get instances of array objects and co anf get problems with nurbs and co too when you go through the hirarchy. And the memory think isn't that importent becasue the user of my plugin don't build that complex scenes and because of that Polygonize is a good solution for me and working much better then the ModellingCommand and I think that it isn't working with SplineRail must be a bug becasue all other deformers are working fine.
On 09/06/2003 at 08:52, xxxxxxxx wrote:
I couldn't confirm the Spline Rail bug. It seems to work fine here. Could you send a scene where BaseDocument::Polygonize() fails to [email protected]?