THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/03/2009 at 18:13, xxxxxxxx wrote:
Cinema 4D Version: 10.1+11
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
in my generator object, in GetVirtualObjects() I retrieve the LOD value from the HierarchyHelp:
Real LOD = hh- >GetLOD();
That works fine... you would think.
But here's a problem:
I attach a display tag to my object and set the LOD to 10%. When I start an external rendering in the Picture Manager now, my object's GetVirtualObjects() is called two times! The first time, I get the LOD value from the tag (0.1) and the second time, I get the value 1.0.
The object then renders with full geometry detail, so it seems the 1.0 value is used for the rendering. Anyway, the first value also seems to be used. In another plugin object that I have, I create clones on the geometry. And those clones are distributed like on the low-detail geometry.
My cloning plugin is not the problem. When I delete it from the scene, my generator object's GetVirtualObjects() is still called twice. First time with low LOD, second time with full LOD.
When I go into the Render Settings and enable the option "Use Display Tag LOD", the object is only called once, and - of course - with the correct LOD of 0.1.
+ + +
So what is this it all about with calling the object's GetVirtualObjects() twice? How can I prevent that? It's totally annoying that the object renders with full detail, but all objects that refer to my object's geometry seem to get the low-detailled version.
This problem happens in R10.1, R10.5 and R11.
Thanks for any help!