-
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?
-
Junior Member
Regular Contributor
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).]
-
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
-
Forum Rules