View Full Version : How to leave tron light cycle effect in 3d?

01-16-2001, 12:04 PM
I finally have my 3d engine working, but I am trying to make my boomerang leave a trail behind it. What is the best way to do this?
I am trying GL_LINES now, and saving my boomerangs position everytime it turns/pitch/yaws into an array by copying the translation elements in the matrix, then go into a loop drawing all the lines.

Anyone know a better way to do it? Currently, it doesn't look correct.

01-16-2001, 12:25 PM
What do you mean by 'doesn't look correct'? Since you are using lines, you don't get curves, but I think since your saving the position on every turn, that would aproximate a curve anyway..

Perhaps you rather use points instead of lines?? Maybe even splines?