Lance Marrou (marrou++at++vsl.ist.ucf.edu)
Tue, 29 Aug 1995 13:09:57 -0400
<snip>
>
> The apache model is a multigen model, and I would expect that the model
> would be dark as if with no light and then the rest of the terrain would
> appear with the light.
>
> Also, is updating the apache DCS in the preDraw function a good or bad
> practice?
>
>-- End of excerpt from Torres Mario 678-3280 AMSRL-BE-M
You cannot change the scene geometry in the draw process so, no, it is not good
practice to attempt it. This should mean that the calls to pfLightAmbient() et
al, do not work in either the draw or cull processes, though if others have
suggested it, it might still work. However, pfEnable() does work. So you
could use pfGetEnable in preDraw, followed by pfDisable, then pfEnable or
pfDisable in the postDraw.
--
______________________________________________________________________________
/\ ______ /\____ ______ ______ E-mail: marrou++at++vsl.ist.ucf.edu
Visual / / / _ / / __ // ____// ____/ VSL: (407)658-5073
Systems / /__ / /_/ / / / / // /___ / __/_ R. Marrou Fax: (407)658-5059
Lab /____//____/\\/_/ /_//_____//_____/ http://www.vsl.ist.ucf.edu/~marrou
"Reap the whirlwind." "We don't need no thought control."
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:50 PDT