Mario Veraart (rioj7++at++fel.tno.nl)
Thu, 4 Jun 1998 12:33:52 +0200 (MET DST)
A call to pfDraw() does not cull the scene it merely sends the
commands to the graphics pipeline that cull has determined and sorted.
The problem is that you need to cull the scene two times. One for every eye.
You should define two channels that overlap w.r.t. the viewport but
that have different settings for the viewpoint (left-right).
In the drawcallback you setup the stencil operation depending on the
channel that is to be drawn or you define two separate draw callback
functions, one for each channel. You only call pfDraw ones in the draw
callback.
Mario
> Thanks in advance!
>
> PJN
>
> ---
> Centre for Artificial Intelligence and Robotics +91 80 226 5609 (Phone)
> Raj Bhavan Circle, High Grounds +91 80 225 5615 (Fax)
> Bangalore 560 001, INDIA
> URL: http://www.cair.res.in/~pjn pjn++at++cair.res.in
=======================================================================
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:57:30 PDT