Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


volumetric fog (FlyFire)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
24 replies to this topic

#21 PyroFragger   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 August 1999 - 05:28 PM


Not that its any of my business, but why is Nick talking to himself at the top of the article, it is very confusing to decipher what he is trying to say.

Sponsor:

#22 FlyFire   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 August 1999 - 09:58 PM

Here is a simple answer:
i post this question when old message board was active. Since new one was opened, Nick repost all messages from old to the new one.

FlyFire/CodeX
http://codexorg.webjump.com


#23 msn12b   Members   -  Reputation: 390

Like
Likes
Like

Posted 18 August 1999 - 05:12 PM

True volumetric fog involves solving the line integral between the camera and the surface on which you want the fog projected. The line integral is essentially a sum of the density of the fog over a large number of tiny steps which, taken as a whole, add up to the distance from the camera to the surface.

Volumetric fog can be approximated by calculating the fog color at each vertex of the tris over which the fog will be projected and interpolating the values in between vertices. OpenGL has an extension to specify fog colors for a vertex (much like texture coordinates).

For those mathematically inclined, the line integral is much like integrating f(x)dx, except dx is now a vector and x is a point in space. Or something like that. This stuff is usually covered in an advanced calculus course in college.


#24 Phillip Schuster   Members   -  Reputation: 122

Like
Likes
Like

Posted 19 August 1999 - 10:14 AM

Hi !!

I have an example and a very (64 KB) article about volumetric fog done a few days ago.

Go to www.voodoospotlight.com/devknowledge/index.html

There you will find the article, an executable showing my algo and full source-code. You will need Power Render to recompile, however it's understandable even if you never heard about Power Render before.

Just check it out. I got a lot of positive feedback on my article. I think all answers here are covered in my article.

Phillip Schuster


#25 Icarus   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 September 1999 - 07:15 PM

Umm... why is Nick Murphy arguing with himself?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS