From: Brian Furtaw (brian++at++sgi.com)
Date: 11/18/2003 06:10:43
When you say you are removing pfEarthSky do you mean recompiling the
application with out it or are you removing it at runtime? Did you
attach the pfFog to the pfEarthSky? As long as you clear the depth
buffer every frame which Performer usually does for you, you should get
fog in your background. Fog can be selectively applied to objects but
that would need to be done in a draw callback. Fog is computed by the
graphics hardware based on the parameters you specify for it and the
values in the depth buffer.DO you have a simple code example which
demonstrates this problem?
Brian
faculaganymede wrote:
> Hi All,
>
> I have a question about fog and EarthSky.
>
> In my Performer application, when I include EarthSky
> in the background and add fog using pfFog, I can see
> fog drawn on the entire scene. But when I take away
> EarthSky, I only see fog drawn on my objects/models,
> the background is black, how can I tell whether if fog
> is drawn in those areas. Is it suppose to? Please advise.
>
> =====
> Thanks,
> faculaganymede
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> -----------------------------------------------------------------------
> 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
> -----------------------------------------------------------------------
> I/ITSEC 2003 Friends of Performer Meeting:
> Wednesday December 03, 6:30-8:30pm, Peabody Hotel, Florida I Ballroom
> -----------------------------------------------------------------------
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612
Graphics Guru Office:(301)814.6858 Fax: (253)323-8182
12200-G Plum Orchard Drive OpenGL/OpenGL Performer/Commodity Graphics
Silver Spring, Maryland 20904 Solutions and Integration Services
This archive was generated by hypermail 2b29 : Fri Nov 21 2003 - 12:56:10 PST