David Florek (dflorek++at++nvl.army.mil)
Fri, 28 Mar 1997 19:05:30 -0500 (EST)
We have atmospheric attenuation! The intensity (in-scattering) may need
to be fiddled with, and should probably be a function of time-of-day.
Also, it doesn't affect the sky, so we may need to put some distant poly-
gon out there, fog-colored at the horizon and black at the top.
For the geeky,
pfApplyFog() needs to be called in the draw process; the _pfDirtCheck
errors went away as soon as I stopped trying to update the fog in the
postApp callback. Instead, I had to create an "atmosphere" module in
the [Coryphaeus EasyScene] .set file with a preDraw callback to check
whether the fog needs to be adjusted (as a result of the user changing
the %transmission/km). Also, the pfOverride needs to be turned off
before the fog is re-applied (re-applying fog with pfApplyFog() is
required after adjusting any parameters), and then turned back on
afterwards.
Dave
-----------------------------------------------------------------------------
David W. Florek E-OIR Measurements, Inc. Phone: 703 / 704 - 1767
Senior Engineer NVESD Night Vision Lab Email: dflorek++at++nvl.army.mil
Computer Graphics Ft. Belvoir, VA 22060
-----------------------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:58 PDT