From: jason allen bryan (jbryan++at++cis.ohio-state.edu)
Date: 04/20/2000 10:46:50
this is probably a really simple problem, but i'll ask anyway:
we're implementing fog in our environment, and the following code works as
expected on an Onyx2 (i.e. we see fog), but on our Octane there is no fog.
i expect there is some flag or parameter that needs a different value
on the Octane, but so far i've had no luck.
please help!
fog->setFogType (PFFOG_PIX_EXP2);
fog->setRange (0.0, 1000.0);
fog->setColor (1.0, 1.0, 1.0);
gstate->setMode(PFSTATE_ENFOG, PFFOG_ON);
gstate->setAttr(PFSTATE_FOG, fog);
scene->setGState(gstate);
where fog is of type pfFog,
gstate is of type pfGeoState,
and scene is of type pfScene
This archive was generated by hypermail 2b29 : Thu Apr 20 2000 - 10:46:45 PDT