THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/11/2003 at 06:17, xxxxxxxx wrote:
Cinema 4D Version: 7.0
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
I am working on a shader and I want to do this:
When i cast a ray from a point and it hits something i get the id of the polygon the ray has hit. I want to figure out if this polygon belongs to the object that I am currently shading. Is there an easy way to do this?
On 11/11/2003 at 15:46, xxxxxxxx wrote:
No, not that I can think of. The VolumeData functions are pretty limited in C.O.F.F.E.E. In a C++ plugin you could call ID_to_Obj().