Sign in to follow this  
comedypedro

Homeworld style engine trails

Recommended Posts

Im presently using particles for engine effects in my 3d space game but they look rather amateurish and Id like to get some really good looking trails like in Homeworld. Has anyone tried to implement this or have any pointers? I know I can store coords along a ships flight path but whats the best way to actually draw these? Im thinking GL_LINES or triangle strips?? Any advice much appreciated.

Share this post


Link to post
Share on other sites
Well i hang out in the DX forums more than here... BUT...

One way of doing it would be to draw a very long skinny quad. Texture it with a graphic that has a gradiant in color to the middle. Then every frame just update the starting edge of the quad and the ending edge of the quad. Ie, if the ships moving from right to left, just decrease the starting edges and ending edges by some unit every frame so that it keeps up with the ship. Now when the ship turns it might be a litlte more difficult... Just thought i'd throw out a possibility you could toy with.

Share this post


Link to post
Share on other sites
Well it would have to be more than more quad, more like 50 or so, but excellent idea about using a texture with a colour gradient in the middle. Thats got me thinking in a few new directions.

Thanx for speedy reply Avengre, here have a positive rating on me!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this