On 05/08/2017 at 01:40, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R17
Platform: Windows ;
Language(s) : C++ ;
---------
Hi All!
There is a subdivision surface object in Cinema. If we place objects under it they are subdivided with following number of subdivisions:
- For Picture Viewer with #Render subdivisions
- For Editor View with #Editor subdivisions
There are some common routines:
BaseDocument * doc = GetActiveDocument();
BaseObject * some_object = doc->GetFirstObject(); // and also enumerate the hierarchy
BaseObject * dc = some_object->GetDeformCache(); // if null then check GetCache(), etc.
For Subdivision Surface object the some_object->GetDeformCache() returns the object with #num subdivs corresponding to #Editor setting. I would like to know a way how to get result corresponding to #Render setting (typically a higher number and better precision). Is it possible to get it at any time for active document out of the Picture Viewer renderer?
Thanks,
Aaron