THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/08/2003 at 10:56, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; C++ ;
---------
Hi,
i need the color for one special point on the object in my NPR plugin. So I used the GetSurfaceData function which is working fine for a cube or a sphere before the command, make editable. So I got all the time the right color. But when I make the sphere editable, the GetSurfaceData function returns wrong values. I think the problem lies maybe in the global polygon id. Is there a other way then TraceGeometry/TraceColor or TraceColorDirect to get this id, but they didn't worked bt me. I ueses at the moment Obj_to_ID and put this returned value into the GetSufaceData function. Is that right?
Has anybody some ideas?
Thanks
Cathleen