Re: reflecting GeoSets causes shading to malfunciton (fwd)

New Message Reply Date view Thread view Subject view Author view

Timothy Moore (moore++at++wolfenet.com)
Thu, 6 Feb 1997 22:16:03 -0800 (PST)


   From: david.heskamp++at++lmco.com
   Date: Thu, 6 Feb 97 09:44:30 EST
   Thanks for everyone who responded.

   Using glFrontFace (GL_CW) solves the problem globally! But, it causes
   non-reflected geometry to behave improperly. How do I selectively change front
   face ordering for various Geosets?

You should attach a pre-draw and post-draw callback to the pfGeode
that contains the reflected geosets. The pre-draw callback sets the
vertex order to clockwise; the post-draw callback restores it to
counter-clockwise.

Tim
=======================================================================
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:54:36 PDT

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