[info-performer] Question about pfFog

New Message Reply Date view Thread view Subject view Author view

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri May 03 2002 - 21:29:55 PDT

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