david.heskamp++at++lmco.com
Mon, 10 Feb 97 14:07:49 EST
I finally set up pre-draw and post-draw callbacks to the node that encapsulated the
reflected geometry. In those callbacks I used glFrontFace to set the appropriate
frontface mode. That does the job.
Dave
--- Begin Included Message ---
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
--- End Included Message ---
Dave Heskamp
Lockheed Martin Tactical Defense Systems
1210 Massillon Road
Akron, Ohio 44315-0001
phone: (330) 796 - 5383
fax: (330) 796 - 7009
email: david.heskamp++at++lmco.com
=======================================================================
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:37 PDT