Re: (Solved) Lighting problem of Flight models

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Fri, 30 Oct 1998 16:55:56 -0800


On Oct 29, 2:11pm, Mario Veraart wrote:
>... for me it had to do with an pfOverride(PFSTATE_ENTEXTURE, PF_ON).
>This was called in the application based on some required settings.
>
>.. The loaded models where not able to DISABLE the texturing and so they
>got stuck with whatever there was left on the OpenGL state.

The OpenFlight loader DOES disable texture as appropriate. Are you calling
pfdMakeShared() or similar? Also don't enable PFFLT_INHERIT_GSTATE mode. It's
use is deprecated by pfdMakeShared() and friends.

Regards.

--
+ Marcus Barnes, Technical Staff        mailto:marcus++at++multigen.com +
+ Multigen-Paradigm Inc.                http://www.multigen.com    +
+ 550 S. Winchester Blvd.               phoneto:1-408-367-2654     +
+ Suite 500 San Jose CA 95128           faxto:1-408-261-4103       +

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Oct 30 1998 - 16:56:11 PST

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