PDA

View Full Version : gun fires FX


mirkoj
08-12-2003, 09:43 PM
I need a goot tutor on how to make a fire that appeart when gun is shooting,. well... it's like chain minigun, but never mind that. I hope you know what I mean :)
So, how to make that fire blast at the end of gun's barrel when it's shoot? particles, modeling.. any thing
thanks

mark_wilkins
08-12-2003, 10:45 PM
sprites!

-- Mark

mirkoj
08-12-2003, 11:04 PM
actually I would like to use modeled object with nice and simple shader on it... and maybe a little bit of glow :)
Do you know where I can found such shader?

DeathBrain
08-12-2003, 11:31 PM
Originally posted by mirkoj
Do you know where I can found such shader?
www.highend3d.com :)

pyromania
08-12-2003, 11:38 PM
Just model the flame, then connect a ramp to the color. Start with a white/yellow color and fade it to a dark orange, or grey. Then connect another ramp to the transparency, and make this a U ramp that fades white to black. Plug the facing ratio from a sample info node into the black and white ramp's U coord and you should have a nice fade off effect on the flame.

Gremlin
08-12-2003, 11:58 PM
well...
what I did for one of my gun scenes, is set up a SDK... the flame (which was a modeled piece of geometry with a glowing yellow shader) had it's visibilty node linked to the particle emitter's rate of fire (which was 1 or 0...this was a pistol) and that way, when I set the rate to 1 (1 particle instanced with bullet geometry was created) the flame was visible, but otherwise, you couldn't see it.
However... if you had a machine gun, I guess you would link to the flame's visibility to something like particleShape1.birth or whatever it would be that would link it to be visible every time a particle is created. :D
Cheers,
:beer:

mirkoj
08-13-2003, 01:00 AM
Originally posted by pyromania
Just model the flame, then connect a ramp to the color. Start with a white/yellow color and fade it to a dark orange, or grey. Then connect another ramp to the transparency, and make this a U ramp that fades white to black. Plug the facing ratio from a sample info node into the black and white ramp's U coord and you should have a nice fade off effect on the flame.

That is on my mind too :)
There is just one thing... ok with sample info node, I know how to use it, but do you know where I could found more infos about other utilities and swithes and other nodes? I need more like good tutorials and not just raw this is this and it does this. I would like to use more of mayas shader nodes and everything but I really could use nice tutors or anything with more informations about them.
Where to find stuff like that? :)
Thanks about shader info

pyromania
08-13-2003, 01:11 AM
Have you tried the maya help docs. There is alot of info about materials and shading groups. You can also use the glossery to look up specific nodes and learn what they do.

mirkoj
08-13-2003, 10:32 AM
grrrrr.... glow doesn't work with maya, and I need glow to have nice fx... well... maybe I'll try few things with particles now and then I'll see
thanks anyway

CGTalk Moderation
01-15-2006, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.