THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/10/2005 at 16:20, xxxxxxxx wrote:
Cinema 4D Version: 9.1
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
i read in the forum that all geometry are triangulate before before rendering.
I need to know the vertex coordinate of a polygon hit by ray inside a SimpleIllumModel take from Sdk.
i noticed that
LONG polyid = 0;
RayObject *myop = vd->ID_to_Obj(vd->lhit, &polyid;);
polyid is the # of triangle in the scene.. i tried tihs.
and i see the RayPolygon have a,b,c and d...
Why d? Does the Raypolygon are not all triangle?
How i can get the real the vertex in global coordinate of my polygon?
Sorry for bad english in the question.
Thanks in advance