Missle Trails

Started by
14 comments, last by zoomcrypt 21 years, 11 months ago
Great, this is what I was thinking for missiles:

Take the 3D position of the source at every time interval and save it to an array (shifting the list downwards, deleting the last item)

To render: A 3D line (2 perpendicular quads) will be created and added to a vertex buffer in software memory, since it changes all the time

The question is how do I generate a list of 3D lines that join together??
Advertisement
i dunno to tell you how i did it or let you stew on it a bit longer The former school teacher side is telling me i shuold
let you stew a bit longer. By the way I''ve put up a new page starting to describe the game we''re working on:
http://www.hero-interactive.com/robotech3d.php

If anyone is interested in working with us let me know as i''m starting to get tired of being the only 3d programmer!

SkullOne - http://www.hero-interactive.com
SkullOne - Hero Interactivehttp://www.hero-interactive.com
Feel free to let the cat out of the bag.

Moe''s Site
it was pretty easy. So you have a list of verticies already now you need a list of triangles using those veriteces right? so just use an indexbuffer and do the same as you did for vertices and you''re ready to go.

SkullOne - Hero Interactive
SkullOne - Hero Interactivehttp://www.hero-interactive.com
So the smoke trails aren''t always aligned with the view? I would have thought that you would always want them to be facing the camera so that you can never tell that they are just a series of 2 triangles...

Moe''s Site
right now the alighment is slightly just randomized for me, but i wanted align them to the alignment of the trajectory at the time of recording the coordinates but was too lazy to figure out the math for it. The results ended up good enough the way i did it so i didn''t bother. I might end up doing two sets of smake trails overlayedd on top of each other to amke the effect look nicer...gotta finish my particle system first though....

SkullOne - Hero Interactive
http://www.hero-interactive.com
SkullOne - Hero Interactivehttp://www.hero-interactive.com

This topic is closed to new replies.

Advertisement