Scott McMillan (scott++at++ht.com)
Fri, 10 Oct 1997 17:46:47 -0400 (EDT)
Your application is apparently setting FLAT shading while perfly is using
GOURAUD shading (I am assuming you want the latter). First try the following
somewhere in your application:
pfShadeModel(PFSM_GOURAUD);
If that doesn't work you probably have to fiddle with the model's pfGeoState.
if you can get a handle to this pfGeoState (call it gstate) then the
following command might work:
gstate->setMode(PFSTATE_SHADEMODEL, PFSM_GOURAUD);
This is in the man page for pfShadeModel but is missing from the pfGeoState
man pages.
Actually I won't go any further...the man page for pfShadeModel lists about
four different ways that FLAT shading could be turned on and off. You'll
have to go through them and see which one is causing flat shading.
Cheers,
scott
--
Scott McMillan | HT Medical, Inc. | Disclaimers
scott++at++ht.com | http://www.ht.com | available
Ph: 301-984-3706 | 6001 Montrose Rd., #902 | upon re-
Fax: 301-984-2104 | Rockville, MD 20852 | quest.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:04 PDT