THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2010 at 10:10, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Mac OSX ;
Language(s) : C++ ;
---------
I'm reading userData from objects in a shader. This works fine for polygonal objects and spheres, but fails for most parametric objects like for Cylinder/Capsules/etc.
vd->op->link is simply nil in those cases, probably as the hit surface is created just before rendering.
Is there any way to access the objet that belongs to that surface?
Thanks
Kabe