How to Create an Awesome Fire Effect Using Maya Fluids

In this tutorial you will learn how to create a fire animation inside Maya, and adjust the settings for your own projects. We will create the fire from scratch using Maya Dynamics and Fluids. The fire animation we will create can be rendered using both Maya software and Mental Ray.

Final Effect Preview


Step 1

Open the scene you are going to use. I created a scene with a lighter, some lights and a white background.

Step 2

Make sure the “Dynamics” menu is active, and then go to “Fluid Effects > Create 3D Container with Emitter”. Position and scale the container to match your scene.

Step 3

Select the container you just created, and then go to its attributes (make sure you are looking at the “fluidShape2” attributes).

Step 4

You are going to leave the resolution at a very low number for now. Change the following options under “Container Properties”.

  • Resolution = 10, 10, 10
  • Boundary Y = -Y side
  • Contents Method
  • Temperature = Dynamic Grid
  • Fuel = Dynamic Grid
  • Step 5

    Select only the emitter and move it down with the move tool.

    Step 6

    Increase the number of frames. Do a playback to see how the animation of the flame is looking.

    Step 7

    Select the container, and under the “fluidEmitter1” attributes, change the following options:

  • Fluid Attributes: Heat/Voxel/Sec = 2.000; Fuel/Voxel/Sec = 4.000
  • Fluid Emission Turbulence: Turbulence = 1.150
  • Step 8

    Go to the “fluidShape2” attributes and change the following options:

  • Density: Buoyancy = 9.000; Dissipation = 0.182
  • Step 9

    Inside the “fluidShape2” attributes, change the following options under the “Contents Details” section:

  • Velocity: Swirl = 10.000
  • Turbulence: Strength = 0.010
  • Temperature: Temperature Scale = 1.930; Buoyancy = 9.000
  • Step 10

    If you do a playback of the fire you should see the fire reaching the top of the container and creating an undesirable effect.
    To fix this, you need to increase the size of the container.

    Step 11

    Go to “Fluid Effects > Extend Fluid” open the settings of that tool, and then change the “Extend Y by:” to ‘2′ and click on “Apply and Close”.

    Step 12

    Now the fire has more space to move.

    Step 13

    Select the container, and under the “fluidShape2” attributes, change the following options:

  • Fuel: Fuel Scale = 1.960; Reaction Speed = 0.970
  • Step 14

    Scroll down to the “Shading” section and change the following options:

  • Shading: Transparency = White Grey; Dropoff Shape = Sphere; Edge Dropoff = 0.440
  • Color: Selected color = Black
  • Step 15

    Scroll down to the “Incandescence” section, and change the graph as shown on the image.

    Step 16

    Go to the Opacity graph and change it as shown in the image. Then modify the following options:

  • Incandescence: Incandescence Input = Temperature; Input Bias = 0.387
  • Opacity: Interpolation = Spline; Opacity Input = Density; Input Bias = 0.315
  • Step 17

    If you do a playback of the fire, you should see a nice looking animation.

    Step 18

    If you render the scene, you should see that the fire looks good now too.

    Step 19

    If you want to modify the “Brightness” intensity of the fire, go to the “fluidShape2” attributes, and under the “Incandescence” section, change the “Input Bias” to a value that works for you.

    Step 20

    I used Mental Ray to render the fire, but you can change it to Maya by going to the “Render Settings” menu, and at the top of the window, change “Render Using” to Maya Software.

    Step 21

    If you render the scene it should still looks pretty great, but all of the objects in my scene disappeared (except for the fire) because they all have mental ray materials.

    Step 22

    Lastly, if you go to the “Attributes” of the container, you can use one of the other cool presets that Maya has built in.

    Step 23

    The image below was created using the “thickcloudPuff” preset.

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

    Related Posts

    Add Comment

    Discussion 29 Comments

    1. lol says:

      FIRSTTT!!!!

      Flame starts here

      |
      |
      V

    2. BHO says:

      Great Tut… More Maya Particle stuff please!!!!

    3. fx monde says:

      more tutorials for maya

    4. birr says:

      LOVE IT! MORE MAYA AT ALL COSTS!

    5. Nate says:

      Def more particle stuff!

    6. arlington cruz says:

      Yes more maya Tutorials are always welcome. Dynamics and cloth are hard ones to find too…

    7. Deacon says:

      Nice tut!!! Much needed. :)

    8. Alan Monroig says:

      Thanks!! to everyone

    9. tingboy says:

      yeah a maya tutorial! thanks(:

    10. Raymond M. Grimau says:

      NIce tut I like it al ot

    11. tom says:

      i may be wrong i dont smoke but it seems like you used the wrong kind of flame for a lighter. and doesnt most lighter fluid burn clean. its a good flame i am just not sure its the correct one.

    12. Diego SA says:

      Awesome! This is very realistic!

    13. ALAN vg says:

      Very nice tutorial.

    14. Cash says:

      MAYA, MAYA, More Maya!

    15. zli says:

      That’s one big lighter. :P

      …other than that good tut ;)

    16. Kokos says:

      When I render this it looks almost the same as it looks in maya’s viewport…
      Far from as awesome as your final render, would be nice to have some tips >_>
      I don’t get how it looks so good even in Maya Software, I tried that too and then quality on highest but still doesnt cut it (scene is the same as yours!).

      • Kyle says:

        I had a similar problem. Scene is set up the same way, but it looks pretty lame. It also would be really helpful if you could explain why we’re changing each attribute. Changing a few numbers doesn’t really say much. Explaining what each attribute does, and the reasons you would need to change based on what you’re creating would be awesome.

      • Alan Monroig says:

        Maybe the problem is the resolution of your fluid, and not any of the render settings.

        Tip: When the quality of your projects is low, first try to adjust the settings in your scene and at the end adjust render settings.

    17. lalit says:

      so help full and so easy

    18. Nagendra Gaonkar says:

      It’s a COOL tutorial which help you to create FIRE ;-) hehehe…….

    19. Nagendra Gaonkar says:

      It’s a COOL tutorial which help you to create FIRE ;-) hehehe

    20. Seb says:

      Almost like the turbulance flame example in maya. I have one single big problem, I cannot scale the container by any means and get the same look. I need 10×10x10 bigger container for my scene. Cannot find a straight answer anywhere. I’m starting to think that scaling all the scene with a lot of animation in it would be easier.

      • Alan Monroig says:

        Hi, you need to scale the container proportionally with the resolution of the container, if you scale the container 10 times you need to scale the resolution of the container 10 times too. Check step 4.

    21. vfxTD says:

      your steps are very basic, I hate when people attempt to do tutorials and skip or hide steps. What the point of doing the tutorial if you just give bits and pieces of your technique. What is the go with your render layers?? Also lighting setup is also important when trying to create fire type effects. You didn’t show your light setup. In future try to better prepare your tutorials if you decide to do any if the future, users come to learn and pick techniques, not half done doggy tips.

    22. TuMadre says:

      Este tutorial es una mierda!, siguiendo los pasos como se describe, se obtiene algo que ni se acerca a la imagen que muestra este guevon en su pecueco tutorial. Mejor no hagas mas basura como esta.

    23. Ross says:

      Crappy tutorial… I followed it exactly and it doesn’t look at all like the render. I agree with the people above that it probably has a lot to do with pre-existing scene lighting which is completely ignored. Another awesome tutorial on CG Tuts! I’m losing faith in this site quickly. The pretty graphics and layout don’t make up for morons approving tutorials that know nothing about 3D, let alone testing them out to see if they actually work.

      However, if nothing else, you’ve shown a little about the Fluids and Emitters. Thanks for that I guess.

      • @Ross:

        morons approving tutorials that know nothing about 3D….

        Totally uncalled for, and completely false. I have over 6 years of experience with 3ds Max, 3 with Maya and ZBrush, and have been working as a professional Game artist on AAA titles (Bioshock 2 being the most recent) for almost 4 years.

        let alone testing them out to see if they actually work….

        It is logistically impossible for one person (me) to physically execute every tutorial that is submitted, while still supplying a steady stream of new content every day. The best I can do is look at the final effect, and review the steps to make sure they are explained properly and not confusing. This is FREE content after all.

        If you think you can do better work, then I invite you to enlighten the community and submit a tutorial exhibiting your amazing skills. Otherwise, keep it to yourself. It’s negative and immature comments like this that bring the community down for everyone else, and it won’t be tolerated. The next comment I see like this gets deleted.

    Add a Comment