(22 ratings)   
By: Bogdan Amidzic
In this tutorial, I'm going to show you how to create a rocket using NURBS, and then animate its movement using path curve. I'll also show how to make a simple smoke trail.
Added: 08 September 2008    Views: 53212  
PathComputers    3D Graphics    Maya
Keywords: maya   computers   graphics   rocket   fire   object   smoke  
Do you like this tutorial? Now you can support our team to add more :     
 
 
 
Browse Pages :   <<    <    1    2  




When you attach it, the rocket will be set to the beginning of motion path. Play the animation. Cool?



Now smoke. Go to dynamics mode and go to particles/create emitter. By default it will create an omni emitter at 0,0,0. Also it will create a particle1 node. Move the emitter to the rocket's back:




Then MMB drag the emitter to rocket group in outliner. This will parent the emitter to the rocket, so its movement is relative to the rocket.




If you play the animation, the particles will appear behind the rocket. Select emitter and set speed to 0.2.



Under particleShape1 go to render attributes and set Particle Render Type to Cloud (S/W). Set radius to 0.4 (these numbers are relative to scene size, so you might need to experiment).




Then white particles are assigned the particle cloud shader to them (same thing as assigning shader to geometry). Note: make sure that the mouse is over particle.
Make color dark gray.



Then click on the checker on the right side of Life Incandescence attribute. This will open create texture window. Create ramp texture.
Life Incandescence will take the values from ramp, and calculate particle color based on the life of each particle. In hypershade you can see three new nodes.
Edit the ramp.

Note, the bottom of the ramp is beginning of particle's life and the top of the ramp is end. Tweak the colors to start with bright orange and change to orange and than to black.

Also make one ramp for life transparency. Set its color to go from gray to white.

This will make particles fade.




Now you can see that every particle is the same size. I don't like that. The trail shall get thicker at the end.

So go to per particle attributes tab and click general button. Then select RadiusPP attribute, and click add.




Notice that RadiusPP is now in the list. Hold RMB on it. You shall get small popup menu. Choose create ramp. Particle size will be connected to the ramp texture.




Hold RMB on RadiusPP and choose edit ramp. Edit the ramp so the first color is gray with .3 value and the last color (top color) shall be set to white (value of 1).
This means that every particle will grow from .3 to 1.



Now you can render. I don't like that gaps in the trail.



Select emitter and change rate to 400. Now more particles will be emitted.



Also you can see that particles die too fast (trail is too short). Under particleShape1 there's a tab called lifespan Attributes. Open it and set Lifespan Mode to Random Range and set lifespan to 2, and Lifespan Random to 0.2

This means that every particle will live 2 seconds (48 frames) plus/minus 0.2 seconds.




Now the trail could behave more randomly. To do that select the particle and go to ;fields/turbulence. Set attenuation to 0. and magnitude to 2.5 or 3. Magnitude is the strength of the field. Also set frequency to 3 or 4.




Now make a NURBS sphere and scale it. This will be the sky.



Assign surface shader to it and assign ramp texture to its color. Set the colors like I have. Also set ramp to U ramp. Also if you look at the Sphere Shape node, go to render stats tab and turn off cast shadows and receive shadows.



Now set renderer to mental ray. I prefer using mental ray with particles and fluids since it gived nice results especially when using final gather. Also mental ray provides faster raytracing with volumetric objects.

Select Directional light that you previously created and turn on raytrace shadows. Increase Shadow Rays to 5. Under mental ray settings turn on final gathering. Final gather will use that sky sphere as an illumination object.




Now if you render, you will see some nice results. However I don't like the shading of the particles. It looks good from a distance but it's useless for close ups.




Go back to life incandescence ramp. It should look like this. Note that the ramp is using only flat colors. But what if we could map texture to each of these colors?

Of course we can do that. Remember -- in Maya, you can map texture to everything.




So create solidFractal and Stucco textures. Refer to Lava shader tutorial to see how to make it look like fire. Map the solid fractal to first color of the ramp (just MMB drag texture to color in the ramp). For the second color, use stucco with shaker set to 30 or 40 and map one color with fractal used in the first color. Third color of the ramp should be black. Also, it's a good idea to map color attribute of particle shader to fractal texture with small color gain. I do this just to get slight color variation.




So from now it's all tweaking. So tweak!












Browse Pages :   <<    <    1    2  
About the Author :
 Rate this tutorial : Rate 1Rate 2Rate 3Rate 4Rate 5
  |    Add to Favorites
  |    Send to Friend
  |    Print
Comments