Marcus Barnes (marcus++at++multigen.com)
Mon, 26 Jan 1998 18:15:24 -0800
calculate shading on your "flat" terrain polygons (faces) with lighting mode
"None".
>but performer always seems to shade
>the terrain regardless of how we specify it to be shaded before the
>geometry hits the loader.
the default pfdGeoBuilder modes, as set by the OpenFlight loader, include the
computation of missing normals. simply disable this mode, either:
{
pfdConverterMode( "flt", PFFLT_COMPUTENORMALS, FALSE );
pfdLoadFile( "file.flt" );
}
or with perfly:
perfly -y flt,5,0 file.flt
Regards.
--
+ Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com +
+ Multigen Inc. http://www.multigen.com +
+ 550 S. Winchester Blvd. phoneto:1-408-556-2654 +
+ Suite 500 San Jose CA 95128 faxto:1-408-261-4102 +
=======================================================================
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:37 PDT