Re: retesselated geometry bug?

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Mon, 27 Oct 1997 12:01:06 -0800


On Oct 27, 4:54pm, Klaus Otto wrote:
> I have a problem in scene with a local light.

[munch]

> Now walking along this wall the wall's geometry (and ONLY this)
> is shaded real strange. When i highlight the normals in the
> ShowTreeMode (perfly derivate), it seems that some
> normals are missing though present in MultiGen.

the polygons are optimized into tristrips and more likely flat tristrips.

> pfdConverterMode( COMPUTE_NORMALS, OFF)

this mode shouldn't matter if you have normals.

note that you must set the face lighting mode in multigen to "Dynamic" or
"Dynamic Gouraud". the openflight loader only considers normals under these two
settings.

> pfdMesherMode( RETESSELATE, OFF)

instead call:

    pfdMesherMode( PFDMESH_LOCAL_LIGHTING, PF_ON );

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

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:56:08 PDT

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