f
f
Global SectionArticlesBookstoreDictionaryDownloadsDVDsEventsForumsGalleryJob ListingsNewsNewslettersSchools
 Advanced Search
USER: PASS:  Login  Register

Subscribe
Site Links
Home > Maya > Tutorials > Texturing > 3D Cloud shader > Page 1 Change background colorChange background colorChange background colorChange background color
3D Cloud shader
Tutorial by Rahul Mishra
Login to add a Bookmark 0 votes for an average rating of 0.00

Updated:   06/29/08

Works on:    Windows
Maya Versions:   4.x, 5.x, 6.x, 7.x, 8.x, 2008
Readership Level:   Intermediate
Owner:   rahulmsr
Author Name:  Rahul Mishra
Homepage:   http://www.rahulmishra.com

Hi guys, Maya fluids are amazing but expensive to use, So here is an old trick which will help you to create low cost but very realistic clouds.

click for larger version

Create a sphere (Subdivision Axis = 6, Subdivision height = 4), Duplicate them few times.

Select all spheres and go to Window > Rendering Editors > Rendering Flags, in the flags window select all the shapes in list and turn off double sided. This will make them more transparent, especially at the borders.


Important :
The spheres must have a high degree of overlap or the spheres will be visible. They must NOT be scaled too much along one axis or you will see artifacts.


Create a Lambert shading group, a ramp texture (without texture placement), a cloud texture, a sampler info utility and a reverse utility.




connect cloud1.outColor to lambert.ambientColor,





Connect the ramp1.outColor to the reverse1.input



Connect the reverse1.output to the transparency of the lambert node. We reverse the cloud color, because we want the clouds transparent where they are colored black.






Connect the sampler info facing ratio to the U Coord of the ramp,



Set the type of the ramp to URamp and change the interpolation to exponential up. Map the Cloud to the top tab and configure as indicated. (bottom tab just black).






The Ramp, using the sampler info facing ratio as an Input, will modify the Cloud so that the borders of the spheres will be transparent (black becomes white through the reverse utility node, thus totally transparent). If the U Coord (connected to the Facing Ratio in this example) of a U Type Ramp is 0, the output color will be the bottom color of the ramp, if its 1, the top of the ramp is the output color.

Delete the texture placement of ramp



click for larger version


finally your shading network will look like this



Now apply this shader to spheres we created, and put 1 point light inside the spheres for the scattered light, and few lights outside of these spheres, you can also experiment with light color.

you can download the my scene file here cloud.ma (Maya 2008 version)



click for larger version

.

Login to add a Bookmark 0 votes for an average rating of 0.00

Related Learning Tools
Maya Related DVDs



Modeling the Human Head
Maya Related Books



Learning Autodesk Maya 2009: The Modeling & Animation Handbook
Global DVDs



Shake: Tracking and Transforms

Top Rated Maya Tutorials

1. stool-polygon texturing by Ramy Hanna (12/21/05)
2. Texture Map NURBS Dragon by keongputer (09/07/05)
3. Texturing Resolution Tips by Alex Alvarez (09/13/06)
4. Photographing for Textures by Phil Strahl (06/06/08)
5. How the image Male Green Frog was made in Maya by Massimo Righi (01/04/07)


Related Tips


No Results to Display


More Tutorials by rahulmsr

1. 3D Cloud shader by Rahul Mishra (06/29/08)
2. Create a Realistic Tree in Maya by rahul Mishra (02/24/08)






Sponsors

Sponsor

Contact Us | Advertise | Post Jobs | Post News | Post Events | Terms