Results 1 to 2 of 2

Thread: 2D motion

  1. #1
    Member Newbie
    Join Date
    Jan 2005
    Location
    Lexington, KY
    Posts
    48

    2D motion

    I need to have the capability to move symbols on a 2D window. I've created functions that 'remember' the current x-y coordinates of a drawn symbol. Then when the function receives new x-y coordinates for the symbol, it draws the background color to the previous x-y coordinates then draws the new x-y coordinates in the foreground color. This gives the impression of motion and works very well.

    But I was wondering if there's a better way to do it. The symbols are simple - like stippled crosshairs, rectangles, line segments, etc.

    Thankx in advance.
    mYellow

  2. #2
    Member Newbie
    Join Date
    Jan 2005
    Location
    Lexington, KY
    Posts
    48

    Re: 2D motion

    Almost forgot to mention - the symbols need to move independently of one another. There may be as many as 9 symbols moving in totally different directions. Would attempt to use glTranslate but don't think that could be made to work, since all of the moving symbols would probably be moving in totally different directions.

Similar Threads

  1. car motion
    By Maisshannaq in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-29-2012, 11:08 PM
  2. motion blur
    By Giacomo in forum OpenGL ES
    Replies: 1
    Last Post: 10-27-2005, 02:20 AM
  3. Motion Blur
    By cutting_crew in forum OpenGL: Advanced Coding
    Replies: 29
    Last Post: 10-31-2003, 09:31 AM
  4. Motion Blur
    By Infamous in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-29-2001, 09:58 PM
  5. motion capture
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-17-2000, 05:51 AM

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