P J Narayanan (pjn++at++cair.res.in)
Thu, 04 Jun 1998 10:48:46
I have a question for the experts out there. Sorry if this is an already
thrashed issue on this group. I couldn't find any references to this
issue in the FAQ.
I am trying to write a driver for a stereo display device that takes the
odd video lines as left-eye input and the even ones as right-eye input.
I modified the perfly Draw callback to set the channel view to the left
eye location first, call pfDraw(). This is immediately followed by a
change of channel view to the right eye location/angle and a second
call to pfDraw(). {OpenGL stencil bits are used with appropriate stencil
function to make sure the first call writes only the odd lines and
vice versa).
This scheme, unfortunately, doesn't work well. Both pfDraw() calls seem
to draw it to the right eye, strangely. I am sure I am missing something
and would appreciate to be enlightened. Thank you.
Is there any relevant sample code out there that makes multiple calls
to pfDraw() within the Draw callback, as in multisample antialiasing?
On a related note, are there examples of drivers for this style of
stereo and/or the standard SGI style of stereo for the Performer?
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