Distance fog?


#1

[left]Hi all,[/left]
[left] [/left]
[left]I am a senior messiah animator ( see character animation section: www.grid-vfx.com) But I have not been using the render/shading section of Messiah. [/left]
[left]And I have a simple question 4 anyone who has been working with pmg’s renderings.[/left]
[left] [/left]
[left]-How do I ad a simple distance fog in my scene … simple as possible ( like Lightwave’s for ) [/left]
[left]many thx[/left]
[left] [/left]
[left] [/left]
[left]THUR[/left]
[left] [/left]


#2

Hey THUR,

If you check in your samples folder in messiah for a file called ‘RayDistance_Sample_SimpleFog’ that should help you. Also you can use the new node ‘Speed Hazer’ to create ground fog, but I haven’t tried yet. I can’t remember the fog in Lightwave.

R


#3

Hi this is pasted from the manual since I don´t have messiah in front of me at the moment (Just to make things clear FogBasic is a shader node):

FogBasic is used to create simple simulated fog. Set a color (or grayscale value), then set minimum and maximum visibility distances, then set which type of fog you want. It is usually connected to the Opacity of the Atmosphere or Foreground material (make sure that whichever one you use isn’t bypassed on the Surfaces sub-tab).

Red, Green, Blue: Set the color you want the fog to be. The color is only used if you use the Fog_Radiance output. Otherwise, it uses a grayscale value.

Fog Min Depth/Fog Max Depth: Set the minimum depth (where the fog starts) and the maximum depth (beyond which you can’t see). These settings are based on the distance from the camera.

Fog Density: Set the thickness of the fog.

Fog Function (pulldown): The fog function controls the way the fog builds up to full density (the Max Depth). There are three types of fog calculation available.

Linear - The fog will build in a linear fashion, getting thicker and thicker as it reaches the Max Depth.

Exp - The fog will build exponentially, building up faster as it gets to the Max Depth. This is more accurate.

Exp2 - This is similar to regular Exp, but it builds up even faster.

Ground Fog: This creates a fog that stays on the ground. When using Ground Fog, the Min Depth is the ground, and the Max Depth is how high the fog should be.


#4

I’ve just quicky knocked up a file for you, use nulls to adjust fog depth

Hope it helps.

R


#5

lol it never ceases to amaze me how helpful this small community is.


#6

great help guys

thanks
THUR


#7

Excellent!

Just the kind of stuff we need to “pick apart”

Thanks!


#8

Also check out the stuff in the SpeedHazer thread.

http://forums.cgsociety.org/showthread.php?t=345111

R


#9

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.