Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Mon, 11 Aug 1997 12:15:56 -0700
John,
you seem to be intersecting with the vehicle graph although
it's not entirely clear.
HitNum = ModelsParentDCSNode->isect(&Isegset, Result);
If ModelsParentDCSNode is the vehicle DCS then this is wrong.
You need to transform the vectors *positions* through the matrix of
the vehicle DCS and intersect with the scene terrain node. Be sure
and include any matrices you may have above the terrain.
Use pfVec3::xformPt for this position transformation.
Cheers,
Angus
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:43 PDT