Allan Schaffer (allan)
Thu, 11 Sep 1997 16:36:15 -0700
It's a very simple example, but check out
/usr/share/Performer/src/pguide/libpf/C/intersect.c
It determines the height-above-ground by intersecting the ground with
a ray (from high above). An obvious enhancement would be to
intersect the ground with, say, one ray pointing down from each
corner of the virtual "vehicle", and use any differences in
intersection position to approximate the pitch or roll. (perfly does
this)
Allan
--
Allan Schaffer allan++at++sgi.com
Silicon Graphics http://reality.sgi.com/allan
=======================================================================
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:55 PDT