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.
The noise node will serve as the clouds in the sky, which can be animated easily.
Once rendered you will hardly notice any clouds.
![]()
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.
![]()
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.
![]()
From here you can start building more complicated network to get more realistic look.
![]()
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”
![]()
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.
![]()
The following image reminds me with Alias Power Animator Sky system.
If you know what I’m talking about , then you are old.
![]()
Note:
Recent Entries
- Model showcase part 3 – Tutorial
- Maya 2011 send to Mudbox – Tip
- Multi UV tile is black in Maya viewport
- Mental ray standalone 3.8.1 iray for Maya 2011
- Creating Ambient Occlusion with transparency texture– Tutorial
- How to change Maya 2011 interface color
- Maya – Mudbox workflow – Troubleshoot
- Mental Ray Production Library – mip_rayswitch
- Mental Ray Production Library – mip_grayball
- Mental Ray Production Library – mip_gamma_gain
August 26th, 2009 at 3:17 pm
thats sweeet!!!!
November 3rd, 2009 at 5:17 am
Does it also work with reflection of the clouds on the objects? I can’t get the clouds in the reflections.
Thanks Jeroen
November 3rd, 2009 at 10:31 am
It works fine with reflection.