Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Need help for animation

  1. #21
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,106
    Lets say V1-V2 is 1 unit long and V2-V3 is 1 unit long, if D is say 4; then the new location for the camera starting in line V1-V2 is past V3; so you have to place in on the line V3-V4 - but it might also be past V4 - understand.

  2. #22
    Junior Member Regular Contributor
    Join Date
    Jun 2010
    Posts
    162
    Thanks. I have implemented as per your suggestion. At each frame equal amount of distance v*t is travelled. Checking each time among which vertices pair the center and cameral position lie and giving new positions for each. I think this makes travel same amount of distance and result is more uniform.

  3. #23
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,106
    Glad to hear you are making progress.

Posting Permissions

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