From: Yalin Kecik (yalin.kecik++at++mchp.siemens.de)
Date: 01/07/2002 09:35:30
Hi,
I want to dynamically change the color of a pfFog in my application.
First i created a global pfFog object and set some values of fog:
pfFog *fog = new pfFog;
fog->setFogType(PFFOG_VTX_LIN);
fog->setColor(0.0f, 1.0f, 0.0f);
...
Then i applied it:
fog->apply();
So far so good ...
After changing the color of the fog, and applying it again, nothing happens:
fog->setColor(1.0f, 0.0f, 0.0f);
fog->apply();
I use Performer 2.5 for Linux.
What is the problem?
Thanks in advance for any answers,
Yalin
This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 15:04:35 PST