-
آموزش ساخت آتش در مایا
Final Effect Preview
http://d2d04grx5ahzvh.cloudfront.net..._IMAGE_600.jpg
Step 1
Open the scene you are going to use. I created a scene with a lighter, some lights and a white background.
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/1.jpg
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.
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/2.jpg
Step 3
Select the container you just created, and then go to its attributes (make sure you are looking at the “fluidShape2” attributes).
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/3.jpg
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
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/4.jpg
Step 5
Select only the emitter and move it down with the move tool.
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/5.jpg
Step 6
Increase the number of frames. Do a playback to see how the animation of the flame is looking.
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/6.jpg
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
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/7.jpg
Step 8
Go to the “fluidShape2” attributes and change the following options:
Density: Buoyancy = 9.000; Dissipation = 0.182
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/8.jpg
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
http://d2d04grx5ahzvh.cloudfront.net...a_Fluids/9.jpg
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.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/10.jpg
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”.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/11.jpg
Step 12
Now the fire has more space to move.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/12.jpg
Step 13
Select the container, and under the “fluidShape2” attributes, change the following options:
Fuel: Fuel Scale = 1.960; Reaction Speed = 0.970
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/13.jpg
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
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/14.jpg
Step 15
Scroll down to the “Incandescence” section, and change the graph as shown on the image.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/15.jpg
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
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/16.jpg
Step 17
If you do a playback of the fire, you should see a nice looking animation.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/17.jpg
Step 18
If you render the scene, you should see that the fire looks good now too.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/18.jpg
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.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/19.jpg
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.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/20.jpg
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.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/21.jpg
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.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/22.jpg
Step 23
The image below was created using the “thickcloudPuff” preset.
http://d2d04grx5ahzvh.cloudfront.net..._Fluids/23.jpg