ZBrushCentral

Please help me with the fog!!!

HELP!! I NEED HELP! I’m trying to do something very specific with the fog, and i need to know whether this is even possible. Since i dont’ want to show you the actual picture, here is a mock-up with the fog in red, for a general idea of what i’m trying to achieve.

Is this possible? If so, how would i go about doing this? I’ve tried reading about fog alphas and adjusting the graph, etc, but i really have no idea what i’m doing. If somebody could possibly make a really simple, basic fog zscript, that would be great.

thanks, buzzwizard

here you go. hope this helps. check out the fog modifier, and see how the graph ended up. that should give you some idea. :slight_smile:

selective fog.txt

<BLOCKQUOTE>quote:</font><HR> a thinking artist is no surprise <HR></BLOCKQUOTE>

my renderosity gallery

Hi Buzzwizard . . . :slight_smile:

Yes you can create what your looking for by using the “Render / Modifiers / Fog / Fog Alpha”. Once you click on the Fog Alpha or Fog Texture, your Texture window will open & it’s there that you will select the desired Texture to use. You’ll have to play with the different Fog settings to get the desired results your looking for. The image below has a Fog Alpha used in it with a blue Fog color. :wink:

Hope this helps some & have a good one . . . :cool: Mark.

hey thanks for the help so far… I’ve learned some really cool stuff. However, I could not for the life of me figure out how Kruzr did that fog effect! It’s driving me crazy… i feel like 'm missing something really easy that i should be able to figure out but i cant! Please help.

thanks, buzzwizard

'Morning Buzzwizard . . . :slight_smile:

I hope this diagram will explain the “Fog” controls for you further??? :confused:

In the image I posted earlier, I used the “Alpha” texture to get the non-solid fog effect. When you click on the “Fog Alpha” square, the Texture window opens & you pick you image there. It’s best to experiment with the different textures & Fog settings, to get the right effect your looking for. You can also create your own fog design texture in any paint program, as long as the base color of the image is “Black = 0-0-0”, then import it into ZBrush as a Texture. If you select a colored image for the “Fog Texture”, your fog will take the colors of the image your using. :wink:

Hope this helps? Good luck & have a good one . . . :cool: Mark.

very informative summary, Mark! :smiley:

buzzwizard, i just experimented a bit with fog-alphas… maybe the thing you are missing is that you can see only a homogenuous fog while in preview-render-mode - as far as i get it, the alpha-effect gets noticeable in best-render-mode only! hope that helps!

  • juandel

Very true, Juandel. Same goes for the fog texture.

Don’t forget that you can also create your own alphas to position the fog exactly where you want it. Just create a new layer, paint in your fog to fill in around your figure in exactly the way that you want it to, then turn off all other layers and use MRGBZGrabber to snatch the alpha (with autocrop turned off! – I learned that one the hard way). You can then delete the layer and go into the Alpha palette to turn your grab into a texture, which can then be applied to the scene using the Render:Fog palette as Mark shows. I also modify the graph in most everything that I use fog for. The “start” (as Mark put it) is Depth1 and the “end” is Depth2. By tweaking this graph to control the Z axis of the fog and using an alpha to control X and Y, you can easily make certain parts of your scene rise mysteriously from within a haze of fog.

When I’m working with fog, my personal favorite is to use one texture or alpha for the texture modifier and another one entirely for the alpha modifier. The interaction between these two different images can result in very realistic or very stylized effects, depending on what you do. Butterfly LandZcape went for the realism, while Fractal Garden went for the latter (the ghostly mirror image of the background was textured fog).

One last trick that you can do is to bake your layer with the fog applied, then change the fog settings so that you have two separate fogs interacting with each other. Obviously, this is something that is usually best saved for when everything else in the pic is already done and you’re just getting the final render set up.

Fateh al Jelat by Martin is probably the best use of these techniques that I’ve seen yet. Great inspiration!