Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How to leave tron light cycle effect in 3d?

  1. #1
    Guest

    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.

  2. #2
    Member Regular Contributor
    Join Date
    Nov 2000
    Posts
    409

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •