Warning: fsockopen() [function.fsockopen]: unable to connect to 193.0.6.135:43 in /home/www/worldoftutorials.freehostia.com/components/com_joomlastats/joomlastats.inc.php on line 531

Warning: fsockopen() [function.fsockopen]: unable to connect to 200.3.14.10:43 in /home/www/worldoftutorials.freehostia.com/components/com_joomlastats/joomlastats.inc.php on line 531

Warning: fsockopen() [function.fsockopen]: unable to connect to 196.216.2.20:43 in /home/www/worldoftutorials.freehostia.com/components/com_joomlastats/joomlastats.inc.php on line 531World Of Tutorials - Creating A Flame Thrower

In this tutorial I will show you how can you create Flame Thrower..And at the end we will wrap up the lesson by doing render with GI_Joe so be sure to finish GI Joe Getting and Installing tutorial first.

Okay, so in last 30min I have been modeling a pipe which flame will come out through.You're free to model it your self or use my model

So let's start making flame effect..First let's create a poly plane and emit particles from it..You should be able so far to handle it by your self, but incase you don't here is how: select plane and go to Particles -> Emit from Object.

So now, if you rewind and play all you get is a lot of particles being emitted from each vertice of plane..Sure not what we wanted! So select emitter in plane and go to either channel box or attribute editor..Now we need to make several changes:

1. In emitter1 tab, change Emitter Type to Surface..Now if you rewind and play you should see a stream of particles moving in plane's normal direction.
2. Still in emitter1 tab, change Rate (Particles/Sec) to 600..OR edit them at your will..This will control how many particles we get per sec..
3. Still there simply change the Speed to something between 4,5,6..

Okay you're doing good so far, following image should illustrate current scene.

If you let it like this, later when we apply flame effect, these particles will never die, so eventually you will end up with a blue BIOS screen on your monitor and we definatly don't want that..So let's change Lifespan for these particles.

Eh you probably expected whole tutorial to be around tweaking flame's color, opacity and all of that work right? Well, then, you was wrong. We will use Maya's default flame shader and apply it to our particles..But how to do that?

Step 1. Select poly plane and go to [Menu] Effects -> Create Fire..Umm if you have been playing with this before it's wisely to go to its option box and Reset Default settings.. By doing this we got a drag as well as gravity field on our scene, and if you rewind and play you see following.
.

Phew..we don't want burning plane that will be hidden at the end (spoiler)..So why did we even do that then? Well we will grab fire's shader and apply it to our particles.. How to do that?

Step 2. Open hypershade (Windows->Rendering Editors->Hypershade) and among the default 3 items we got particleCloud01..So select our particles (points, not the newest ones) and while having them selected RightClick(on particleCloud01)->Assign Material To Selected..

Now those particles got green..And if you try to render nothing happens..Simply because we need to change our particles to be Cloud type..So select them and go to Attribute Editor, in particleShape7 change Particle Render Type to Clouds..*look in images below

Now if you render there is our fire..so let's do final changes and get ready to wrap up this lesson..

Combining Flame with Flame Thrower

So let's rotate our plane 90 degrees in X Direction..

Now in front view simply put it in its place..and scale according to the image below

Now let's write expression so that plane would be rotating all the time in Z..hence giving us better results..
Select plane and in channel box click right click and chose Expression on Rotate Z. Then match up with my image (be sure to click "Create" at the end)

It looks nice but we don't want that, right? So we will select that cloud and chage its Lifespan to 0 as well as Fire Lifespan to 0..

Now if u rewind, play and render you should see this..

Whooray we are the end..Are we? Nope..We need to add a bit of lift at the end of flame "stroke"..Hmm how to do that? Well we can apply gravity field and change its direction to positive Y..and then turn gravity field boundaries on to exacly see what part of flame it will affect..So let to that!