Stencil question

New Message Reply Date view Thread view Subject view Author view

Joaquin Casillas Melendez (jcasilla++at++glup.eleinf.uv.es)
Thu, 29 May 1997 18:30:43 +0100 (WETDST)


Hi all!
I am trying to draw an objet over a given plane, and I don't want the
object to be drawn outside the limits of the plane. In opengl this can be
achieved by drawing the plane (floor) and at the same time writing a
certain value to the stencil buffer. Then, in the draw routine, the
object will be drawn only over the pixels with that a certain value.

I don't know the way to do this in Performer, so any help would be
appreciated.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Joaquin Casillas Melendez | email: jcasilla++at++glup.eleinf.uv.es _/
_/ ARTEC (LISITT) | _/
_/ Dept. Electr. & Informatics | Phone: +34 6 360 4484 Fax: +34 6 361 6198 _/
_/ University of Valencia | Address: Hugo de Moncada 4. 46010 Val.(SPAIN)_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

=======================================================================
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:19 PDT

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