Animated clouds with mental ray Physical Sky – Tutorial

In general the trick is to add the clouds (either an image or a node) to the physical sky “Haze” value as Master Zap indicated in his blog.


To achive that in Maya you will need the following.
Maya nodes = noise, multiplyDivide and luminance.

Connect as follow
noise out color > multiplyDivide input
multiplyDivide output > luminance input
luminance out value > mia_physicalsky haze.

netwrok.jpg

The noise node will serve as the clouds in the sky, which can be animated easily.

Once rendered you will hardly notice any clouds.
clouds001.jpg

This where the multiply/divide nodes comes in.
Increase “Input 2″ to be 20, 0, 0
Now you will have more prominent clouds.


Since the haze parameter accept only ONE value.
The RGB > Luminance node can be useful in this connection, since it will convert the 3 out values of RGB to 1 value which is luminance.

clouds002.jpg

In the Noise node, you can animate the time value to get the animated clouds in your render.

Note: The Noise node can be replaced with a texture file or any other Maya nodes.

To achieve more realistic result, add an envBall node to the shading network, this will give the sky roundness effect rather than just a flat image.

clouds003.jpg

From here you can start building more complicated network to get more realistic look.

clouds0041.jpg


netwrok2.jpg

Note: to get rid of these artifacts that you see on the cone object, one needs to examine the network connection closely.
The clouds were connected to the “haze” parameter, however that “Sky haze” is already connected to the “Sun haze”

netwroksun2.jpg
Once this connection is broken, the artifacts will disappear, however you will need test it since this test was made on a simple scene and it might have a side effect in an actual production file.

clouds005fx.jpg

The following image reminds me with Alias Power Animator Sky system.
If you know what I’m talking about , then you are old. :)


clouds005.jpg

Note:

Recent Entries

9 Responses to “Animated clouds with mental ray Physical Sky – Tutorial”

  1. omar mansour Says:

    thats sweeet!!!!

  2. Jeroen Says:

    Does it also work with reflection of the clouds on the objects? I can’t get the clouds in the reflections.

    Thanks Jeroen

  3. Ashraf Says:

    It works fine with reflection.

    Reflection

  4. derek Says:

    heheheh
    cool. thats cool.lol;D

  5. Arnaud Says:

    Hey thanks a lot for this, it’s helped me a lot! My scenes look a lot better with nice clouds! :D

  6. Yann Says:

    Huuu, this tip seems great but when i render Maya crash… idea ?

  7. Yann Says:

    I think i’v fix it : it’s LuminancevalueR in haze i think ?

  8. Yann Says:

    No crash but not good result…

  9. Yann Says:

    Any Idea for too yellow render ?

Leave a Reply