Quick Tip – Create Realistic Condensation on Glass with Maya Paint Effects

Quick Tip – Create Realistic Condensation on Glass with Maya Paint Effects

Tutorial Details
  • Software: Autodesk Maya 2009 (or newer)
  • Difficulty Level: Easy
  • Completion Time: 15 - 30 min
  • Additional Files/ Plugins: None

Final Product What You'll Be Creating

In this Maya Quick Tip tutorial, you will learn how to create realistic looking condensation any object, specifically cold glass, and then quickly render it for a nice polished final effect using Maya Paint Effects.

Step 1

Model your glass object. It could be a bottle, window, or anything that gives you the feeling of coldness.

Step 2

Switch to the “Rendering Menu” by pressing “F6″ on your keyboard, select the object, and then go to “Paint Effects > Make Paintable”.

Step 3

Open “Visor” by going to “Window > General Editors > Visor”.

Step 4

Select “Surface Bubbles” from the list.

Step 5

Start drawing the bubbles on the object’s surface. If the bubbles direction is reversed, simply undo, select the object, then go to “Edit NURBS > Reverse Surface Direction”, or “Normals > Reverse” if the object is made with Polygons. Now draw again. Note: To control the brush size, press “b” and hold while moving your mouse Left or Right.

Step 6

When you have finished drawing your bubbles, you may need to edit the following properties:

  • Sample Density: Increases or decreases the bubble density.
  • Surface Offset: Controls the distance between the object and the bubbles.
  • Smoothing: Smooths the bubbles path (underlying curve).
  • For me, the Density = 0.6, the Surface Offset = -0.010, and the Smoothing = 10.

    Step 7

    After that you can also add some tiny bubbles to fill in the empty area.

    Step 8

    Now you can render you scene using “Maya Software” or “Mental Ray”.

    For Maya Software Render, adjust the “Specular” and “Depth Shadow” attributes in the “Attribute Editor”. This will allow the “strokeSurfaceBubbles” brush to get a better render.

    For Maya Mental Ray Render, convert the Paint Effects to Polygons, and use “Mia_Material > Glass Presets” for the bubbles on the surface. You can use IBL to give reflections too if you like.

    Don’t miss more CG tutorials and guides, published daily – subscribe to Cgtuts+ by RSS.

    Add Comment

    Discussion 21 Comments

    1. Infaas says:

      Cool ! So the bubbles are mesh
      The first thing that came to my mind when watching this tut was :
      Export from 3Ds Max > Import into MAYA > Paint bubbles > Re-Export to MAX > Apply Mats. > RENDER !
      :)

    2. Leo says:

      Would be wonderful if you could do a similar tutorial for 3ds or C4D. Regardless, great tutorial very helpful.

    3. BFTD says:

      Cool! Thanks for tut!

    4. Jannes says:

      So simple yet so good looking, great tut. I will try this when I get home :D

    5. Cody says:

      Nice tip, thanks !

    6. dahool23 says:

      How can u create the same in MAX?

    7. Elias Glasch says:

      This is so amazing, I had no idea! Thanks

    8. Simon says:

      Is it possible to Animate this?

      I’m thinking about a Window where Raindrops coming down.

      • Ronnie says:

        possibly with keyframes if you do this in sections,

        never tried but you can

      • Abdo says:
        Author

        Hi
        you can animate them gradually from “End Bounds > Min & Max Clips”.
        or other types of animation from “Behavior” in the attributes editor.

    9. deaynko says:

      Great work :) tnx

    10. -Tekilhax says:

      How do you do this in 3dsmax?

    11. Antônio Caldas says:

      Unfortunetely I could see anything here. It seems to be an error when getting the images on the page.

    12. Abdo says:
      Author

      Thanks to all for the nice comments…

    13. thakingpin says:

      Thanks a lot for this tutorial.

    14. Lintu says:

      can u tell atributes for Mia_Material cause all i get is black scene with bubbles and lil spec

      • Abdo says:
        Author

        Make sure that you turn “Raytracing” on from Raytracing Quality in Maya Software render. And also turn on “Raytracing” in
        Mental Ray.

    15. hakem says:

      Thanks for the Great tutorial Abdo , I hope you will make more tutorials like that , and I also think that it would be very cool if you make it like a weekly video tips ..

    16. Grubby says:

      Great tutorial, but yes as stated above your hypershade settings would also be a welcome addition.

    17. yuval says:

      great post, for a long time i modeling this drops and it take
      a few hour to finish,but now…thanks man .

    Add a Comment

    To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.