How to leave tron light cycle effect in 3d?
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.
Re: How to leave tron light cycle effect in 3d?
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?