Re: Twosided Lighting and Wireframe

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.asd.sgi.com)
Tue, 12 Nov 1996 16:02:24 -0800


+>---- On Nov 12, 1:57pm, Daniela Rainer wrote:
> Subject: Twosided Lighting and Wireframe
->Hi,
->
->I have problems with the appearance of the lines of a wireframe primitive:
->
->with a twosided lightmodel and a twosided material the lighting of
->filled primitives is correct but if I switch to wireframe mode the lighting of the lines
->is only onesided. Did I forget anything?

For speed, Performer draws wireframes as lines, as opposed to using
the GL_LINE polygon modes. This is faster, but true lines do not
have front/back faces. If you want the fancier lines, you can
call glPolygonMode() directly in the draw process and do not enable
Performer wireframe mode.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
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:53:56 PDT

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