Results 1 to 2 of 2

Thread: About frames and timing...

  1. #1
    Member Contributor
    Join Date
    Jan 2002
    Posts
    96

    About frames and timing...

    I am a little confused about the structure of an OpenGL program. I have seen on this forum people referring to frames, which I assume to ba a frame of animation. How is this kinda thing implemented, is it with timing or is it simply referring to a pass through the main rendering function?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Turin
    Posts
    258

    Re: About frames and timing...

    A frame is the result of a rendering process, if you send to OGL the right commands the result will be a frame (on screen, or some other buffers).

    An animation is composed of a sequence of frames.

    Usually to animate an object in 3d you don't need to create every position for every frame of animation. U just create some key positions, called KEY FRAMES, and your code must interpolate between theese key frames.

    The common way to interpolate between keyframes, to render an animation it's to use the TIME value.

    hope it helps.

    rIO.sK http://www.spinningkids.org/rio
    [rIO^sPINNING kIDS] - rio@nospam.spinningkids.org

    -/- This is a signature virus. Add it to your signature. Help it spreading! -/-

Similar Threads

  1. Timing?
    By detzel in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-24-2002, 05:43 PM
  2. Timing
    By Laz in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 02-06-2002, 07:02 AM
  3. timing tests
    By piker in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-05-2002, 01:55 PM
  4. Timing
    By Running_Wolf in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-17-2001, 12:33 PM
  5. Timing
    By tcs in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 02-20-2000, 07:34 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