Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 27-Sep-2010, 14:26   #1
Secessionist
Naughty Boy!
 
Join Date: Feb 2010
Posts: 71
Default Fog formats

What fog formats are in current hardware? Which ones are missing from, say, the Voodoo5 or the GeForce FX?
__________________
Had the commander of the Union army, on entering Virginia on 27 May 1861, encountered the ghost of the finest American lawyer who had yet lived, and asked for advice on the legality of his mission, Thomas Jefferson would likely have replied, “Go back to your country, Sir.” ~James Otrowski
Secessionist is offline   Reply With Quote
Old 28-Sep-2010, 05:13   #2
Davros
Darlek ******
 
Join Date: Jun 2004
Posts: 9,663
Default

I'd say none, obviously cards can do all kinds of fog but there are no dedicated units
a better question would be what fog formats are supported in current api's/drivers
and I would say all of them that were there in the past are still there now (*but then again )

Range or Radial fog
Eye-Plane fog
table fog * this may have been dropped from current drivers remember the enable fog table emulation option in nv drivers
vertex fog

edit: the enable table fog emulation was a compatibility settings as some cards/games didnt do it right

ps: found a good explanation of fog table emulation :
Fog Table Emulation: This is for 3D chips that don't support looking up the fog level by distance from the camera per pixel. Instead it emulates it by looking up the fog level at each vertex in the table and interpolating it
__________________
Guardian of the Most holy Two Terabytes of Gaming Goodness™
Davros is offline   Reply With Quote
Old 29-Sep-2010, 21:31   #3
sebbbi
Member
 
Join Date: Nov 2007
Posts: 991
Default

Then there was of course linear and exponential fog falloff. If I remember correctly, the range fog was vertex based, and table fog was pixel based. Table fog supported exponential falloff (I remember using it in my first graphics engine).

New shader based hardware can emulate all these fog modes by a few extra pixel shader instructions. Fixed function hardware fog support hasn't existed for a long time. It died at the same time fixed function T&L died. Both T&L and fog are emulated by shaders if you run and old DX version (or fixed function OpenGL) on the new cards.
sebbbi is offline   Reply With Quote
Old 30-Sep-2010, 21:03   #4
Secessionist
Naughty Boy!
 
Join Date: Feb 2010
Posts: 71
Default

Okay thanks. That's actually good to know.
__________________
Had the commander of the Union army, on entering Virginia on 27 May 1861, encountered the ghost of the finest American lawyer who had yet lived, and asked for advice on the legality of his mission, Thomas Jefferson would likely have replied, “Go back to your country, Sir.” ~James Otrowski
Secessionist is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:13.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.