Nicolas Gauvin (nicolas++at++cae.ca)
Thu, 6 Feb 1997 23:02:12 -0500
You should set the channel view of both channels as the center direction
returned by the bird and then add a left and right offset to the
appropriate channels.
Something like:
Poll_Bird(Look_at,Look_up);
AtUp_to_HPR(Look_at,Look_up,Dir);
pfChanView(LeftChan, CurPos,Dir);
pfChanView(RightChan, CurPos,Dir);
pfChanViewOffsets(LeftChan,<0,0,0>,<+20,0,0>);
pfChanViewOffsets(RightChan,<0,0,0>,<-20,0,0>);
You could also use a channel group to avoid calling pfChanView twice for
both channels.
Nicolas Gauvin CAE Electronics Ltd., 8585 Cote De Liesse
Software Developer Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
nicolas++at++cae.ca fax: +1 514 340 5496
=======================================================================
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:54:36 PDT