Re: ground fog

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Sat, 11 Nov 1995 18:15:11 +0100


Fog attenuates everything by Z depth in the framebuffer.
You want 3D fog, the closest you can come to this at present is to
apply different fogging parameters to different parts of the scene graph
depending on where they & the eye are.

The earth sky won't do this for you. You'd have to use pfApplyFog several times
in the draw process. Other solutions would be to draw a transparent polygon
above the ground for your fog (varying it's trancparency with the eye height)
or use some other tricks like changing the terrain colour (perhaps per vertex)
and/or using a blended texture function but this may not be possible depending
on your scene content.

Happy experimenting.
Angus.

-- 
Angus Dorbie,
Silicon Graphics Ltd, UK
dorbie++at++reading.sgi.com

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:52:02 PDT

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