THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/05/2009 at 01:50, xxxxxxxx wrote:
Cinema 4D Version: 10.1, 11
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
in my generator plugin, I create a Plane primitive, convert it into a polygon object (Current State to Object) and manipulate the point positions (using the point array retrieved from ->GetPointW()).
Using the GeGetTimer() function, I measure the time used. Even with a plane subdivision of 1000x1000, it's really fast, only 2 or 3 seconds.
Then I return the resulting PolygonObject from GetVirtualObjects().
And then I wait, and I wait, and I wait...
And after approx. 2 Minutes(!!) the geometry in the viewport updates!
What could be the reason for this? My calculations are all finished, and I just return the geometry. And that takes sooooo damn long! What is Cinema doing all this time? If I create a Plane primite in the editor and set it to 1000x1000 subdivisions, it updates immediately.
Is there anything I can do? Do I have to send some kind of message to speed this up?
Greetings & thanks in advance,