Re: Shade model problem

New Message Reply Date view Thread view Subject view Author view

Veraart (rioj7++at++fel.tno.nl)
Mon, 22 Jul 1996 12:00:04 +0200 (MET DST)


> With ogldebug, I always see a glShadeModel(GL_FLAT) openGL call, when I draw my
> geosets but I don't know why.
>
> When I modify the normal binding OVERALL to PER_VERTEX, I obtain gouraud
> shading but I suppose I should do it only for non-equal normals, right ?
When all vertices have the same vertex normal then they will all have
the same light intensity. So if the color of the polygon is OVERALL or
PERPRIMITIVE then this is equivalent to FLAT shading. And this is what performer
chooses to render the polygon.

Mario

P.S. Take a look at the clock of your system. It's in the future (23 july).
=======================================================================
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:12 PDT

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