Results 1 to 2 of 2

Thread: flicker

  1. #1


    When I rotate a textured object(pyramind) around an axis the closer the object gets to viewport the more the texture seems to flicker regardless of frame rate. Im using linear map for the texture and double buffering.

    When I reduce the angle of rotation the flickering reduces but then I loose speed.

    To me it seems that the previous frame is still being drawn whilst the next one begins. Is this possible and if so is
    there a callback function to determine when the frame is finished been drawn.

    Thanks for any help.


    glRotated(fRot, 0.0f, 1.0f, 0.0f);
    glTranslatef(-20.0f, 0.0f, 0.0f);


  2. #2
    Member Contributor
    Join Date
    Apr 2000

    Re: flicker

    you can force openGL to finish all drawings with glFinish().
    this function will wait until your scene is drawn entirely. there's another one called glFlush(), but i think it just flushes all buffers and tells openGL to finish soon, so i think glFinish() is better.

    ps: you could use some timing code to determine when the last frame was drawn and the current frame is drawn

    [This message has been edited by sebastian (edited 06-20-2000).]

Similar Threads

  1. :glutIdleFunc flicker
    By sud24 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-14-2008, 04:13 AM
  2. Stereo Flicker
    By Gavin in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 12-03-2002, 02:01 AM
  3. Flicker!!!!!!
    By akira_lm in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-27-2001, 07:51 PM
  4. Flicker ????
    By yayaya in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-25-2001, 02:47 AM
  5. Windows flicker
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-18-2000, 04:20 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