THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/02/2003 at 02:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
In a channel shader, I want to know which polygon of which object is currently being rendered (for poly objects).
'cd->vd->p' gives me the current 3D location of the point being rendered, but can I find out which object and which poly this is from?
Also, 'cd->vd' can be NULL. In practice, is it ever NULL except when rendering material previews in the material editor windows?
Thanks for any help.
Cheers - Steve