Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Specifying an Idle Function

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Denver
    Posts
    3

    Specifying an Idle Function

    Hi. I am programming an Active X component in VC++ 6.0 that uses OpenGL. I am relatively new to OPenGL but I have been able to do everything I need to do under different circumstances except that I have difficulty putting things together under the same environment. I need to specify an IdleFunction to simulate an animated graphics mode. I thought the documentation using glut was rather straight foward however I have mainly been using WINGDI commands for things such as SwapBuffers rather than glut. Does anyone know of a WINGDI command for specifying an IdleFunction or must I use glutIdleFunc?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Apr 2001
    Location
    U.S.
    Posts
    149

    Re: Specifying an Idle Function

    I'm not a Windows savy developer, but, I can tell you that GLUT should not be used with Windows calls -- or any other windowing system's calls for that matter.

    [This message has been edited by brcain (edited 02-23-2004).]

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Denver
    Posts
    3

    Re: Specifying an Idle Function

    Got it working using wgl and gl commands inside windows ::OnIdle function.

Posting Permissions

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