From: Tsuyoshi Mishina (mishina++at++realviz.co.jp)
Date: 05/03/2002 21:20:04
I've posted the following message twice. But it didn't seem to be delivered.
Though I don't understand what is wrong with my message, I try again by
using another title and source address...
--------------------------------------------------------------
Hello,
I have a question about pfFog.
How is the density parameter required for glFog calculated from pfFog's opaque
distance when I use PFFOG_*_EXP* fog?
I know that the fog factor of GL_FOG_EXP type is calculated as follows:
f = e^(-density * z)
No matter how you specify the density, it can never output 0.
But, according to the man page, the opaque distance of pfFog means the distance
at which f=0...
Thanks in advance,
Tsuyoshi Mishina
This archive was generated by hypermail 2b29 : Fri May 03 2002 - 21:29:55 PDT