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
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Posts
    370

    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?

Similar Threads

  1. light effect is somehow disabled.
    By swatkdw in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-06-2009, 10:22 AM
  2. day-night cycle light
    By kotoko in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 06-12-2009, 08:50 AM
  3. Light effect
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-25-2003, 10:01 AM
  4. Black light effect
    By nexusone in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 03-12-2002, 10:55 AM
  5. Effect of Light on the size of the object
    By imported_Ramesh in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-19-2000, 03:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean