Re: pfGSetDrawMode(gset,PFGS_FLATSHADE) not working?

New Message Reply Date view Thread view Subject view Author view

cstanek++at++smtpgate.sm.tsc.com
Mon, 25 Mar 96 15:08:41 PST


     I believe the color and normal attribute lists have a special case
     for geosets with a primitive type of flat t strips and a bind of per
     vertex. You don't need the first two entries in an attribute list in
     this case. Check the man pages carefully on pfGeoSet. It describes
     what you are asking pretty clear.
      
     clay
      

______________________________ Reply Separator _________________________________
Subject: pfGSetDrawMode(gset,PFGS_FLATSHADE) not working?
Author: nicolas++at++cae.ca (Nicolas Gauvin) at AAINTERNET
Date: 3/25/96 7:30 AM

I have a geoset composed of regular tristrips (non-flat).
When I set the drawing mode to PFGS_FLATSHADE it seems
that the geoset is still gouraud shared, not flat-shaded as
it should be. Is this normal? I'm using Performer 2.0 on
IRIX 5.3

Also, am I correct when I assume that the last color of
each triangles is the one that should be used to flat-shade
the triangles when the drawing mode is set to PFGS_FLATSHADE?

Thanks

     ___/ | ___/ Nicolas Gauvin e-mail: nicolas++at++cae.ca
    / / | / Software Developper voice: (514) 341-2000 x2275
   / / | __/ CAE Electronics Ltd. fax: (514) 340-5496
  / ___ | / 8585 Cote De Liesse, P.O. Box 1800
_____/ _/ _| _____/ Saint-Laurent, Quebec, Canada, H4L-4X4


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:52:35 PDT

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