Re: [info-performer] Problem with pfVolFog

New Message Reply Date view Thread view Subject view Author view

From: Radomir Mech (rmech++at++engr.sgi.com)
Date: 04/01/2003 10:37:11


Hi Jason,

you need to define your own draw callback from which you call
layeredfog->draw().

Regards,
Radomir

Chee Tzuon wrote:
>
> 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
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Apr 01 2003 - 10:37:14 PST

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