THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/11/2009 at 12:34, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R11
Platform: Mac OSX ;
Language(s) : C++ ;
---------
In a shader, I have an IN_EXCLUDE description element, which only accepts Base Objects
ACCEPT { Obase; }
Basically this works, I get InExcludeData and can i.e. get the right object count.
However, I'm struggling with the best way to acces the objects itself during RenderInit (just reading of course).
With GetData(i) I get a valid BaseContainer, but my attempts to create the BaseObject* fail.
The BaseContainer delivers -1 on GetId() - NOTOK?
Any insight? Should be straight forward to get the BaseObjects from a list with some cast...
Thanks!
Kabe