pfFog and fog density

New Message Reply Date view Thread view Subject view Author view

Drew Hess (dhess++at++vision.arc.nasa.gov)
Mon, 6 Jun 1994 13:46:20 -0700


I need to explicitly set the fog density parameter of Performer fog. As far as
I can tell the only way to do this is with PFFOG_PIX_SPLINE, but what I'd
actually like to do is use PFFOG_PIX_EXP or PFFOG_VTX_EXP.

Basically I need the extra parameter that fogvertex(3G) uses for density, but
in looking at the Performer documentation it's not clear how to do this without
going to the GL, which I'd like to avoid if possible.

It appears that the only controls over fog, besides with the SPLINE type, are
color and the near and far fog planes. Am I missing something obvious? How
does Performer calculate the density parameter for fog by default?

Thanks

-dwh-
dhess++at++vision.arc.nasa.gov


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:50:19 PDT

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