Shading

New Message Reply Date view Thread view Subject view Author view

Sasikumar Kutti (kvsasi++at++icemt.iastate.edu)
Wed, 20 Aug 1997 14:59:53 -0500


Hi

I am having a trouble with getting smooth shaded models.

I imported a Multigen flight model in 'trackball.c'. It looks badly
shaded. So I inserted the following lines in the code

     pfShadeModel( PFSM_GOURAUD);
   
     pfOverride(PFSTATE_SHADEMODEL, PF_ON);
  

Further the model doesn't look different even if change to flat shading.

The model looks good in Multigen so I guess there is little chance that
it has very few polygons.

Where could I be going wrong?

Any help will be appreciated.

Thanks

-- 
Sasikumar Kutti
 
kvsasi++at++iastate.edu
http://www.eng.iastate.edu/~kvsasi
=======================================================================
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:55:45 PDT

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