Re: fog color

New Message Reply Date view Thread view Subject view Author view

Sylvain Mayer (mayer++at++poster.cae.ca)
Wed, 18 Mar 1998 13:46:10 -0500


Sylvain Mayer wrote:
>
> Steve Baker wrote:
> > > pfApplyFog(shared->fog);
> >
> > I don't do that. I think your fog will get applied for you when the
> > first GeoSet/GeoState that needs it is drawn.
> >
>
> The fog man page are very clear on that point: the new modification
> to the fog model will not take effect until you issue the "apply"
> call.

If the pfFog is attached to a GeoState then ok, you don't have to
explicitly apply it (Steve was right on that point)

But original poster never said he was using a pfGeoState (in that case
he have to apply it)

-- 
Sylvain Mayer, 3D Graphics Developer
CAE Electronics Ltd. (http://www.cae.ca)
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/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 2.0b2 on Mon Aug 10 1998 - 17:57:02 PDT

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