Re: Terrain following

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan)
Thu, 11 Sep 1997 16:36:15 -0700


On Sep 11, 3:18am, VenkataKrishnan Chandran wrote:
> I am trying to develop a software having terrain following. I am new
> to Performer development environment. Can any one help in this regard,
> by giving few tips to start of? Suggest some references for the same.

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

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:55 PDT

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