Re: Shading

New Message Reply Date view Thread view Subject view Author view

WILLIAM_MARINELLI++at++ntsc.navy.mil
Thu, 21 Aug 97 07:43:20 EST


     My first guess is whether the multigen file provides vertex normals.

______________________________ Reply Separator _________________________________
Subject: Shading
Author: Sasikumar Kutti <kvsasi++at++icemt.iastate.edu> at SMTPLINK-NTSC
Date: 8/20/97 10:41 PM

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

======================================================================= 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.