PDA

View Full Version : path tracing



11-07-2003, 09:48 AM
i could not find any way by which a point can be moved in space and its path is traced as it moves, not one time path display but path generation on screen with time.
could you please tell me how can i do it?

jleffelm
11-07-2003, 01:09 PM
Originally posted by rgk:
i could not find any way by which a point can be moved in space and its path is traced as it moves, not one time path display but path generation on screen with time.
could you please tell me how can i do it?

You could use an array to store a number of past positions, and then step through the array using GL_LINE_STRIP.