[info-performer] Problem with pfVolFog

New Message Reply Date view Thread view Subject view Author view

From: Chee Tzuon (CheeTzuon++at++stts.com.sg)
Date: 04/01/2003 01:18:31


Hi,

I'm currently testing on Layered Fog and Patchy Fog function in Performer 3.0 on NT OS.
I followed the steps in the Programming Guide, but still getting my original pfEarthSky Fog settings.
Any problem with my settings?

        layerfog=new pfVolFog;

        layerfog->addColoredPoint(3,1,1,0,0);
        layerfog->addPoint(5,0.1);
        layerfog->addPoint(7,0.5);
        layerfog->apply(scene);
        layerfog->setVal(PFVFOG_LAYERED_MODE ,PFVFOG_EXP);
        layerfog->addChannel(channel);
        layerfog->updateView();

Thanks
Regards
Jason


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Apr 01 2003 - 01:20:24 PST

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