getting world coordinates from a pfHit..

New Message Reply Date view Thread view Subject view Author view

From: Bryan Housel (bryan++at++openworlds.com)
Date: 06/22/2001 15:05:41


If you have a pfHit containing an intersection, you can get the local
point of intersection by querying the pfHit with the PFQHIT_POINT
flag... But what if I want the point in world coordinates?.. I know I
can use PFQHIT_PATH to get the path to the object and, using the SCS and
DCS nodes, determine where that point would be, but is this the best
way?

I looked at pfGeoSet.h, and the transformation to world coordinates is
actually stored in the pfHit, but as protected data.. Shouldn't there be
a way to get at it?

Thanks,
Bryan

-- 
OpenWorlds VRML C++ toolkit                 http://www.openworlds.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jun 22 2001 - 15:08:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.