-
Can I sync my OGL program with vsync ?
I would like to sync my ogl camera movement with the vsync to keep it at the same tempo on different hardware. Or isnt that the way to go anyone with a better solution.
thanks
-
Re: Can I sync my OGL program with vsync ?
Take a look at glvelocity.gamedev.net in the code section. There's a piece of code that (I think) does what you want.
-
Junior Member
Regular Contributor
Re: Can I sync my OGL program with vsync ?
You'd better use the high performance counter of the PC to get a time reference for your app (make it time dependant) rather than using the refresh rate as reference.
-
Re: Can I sync my OGL program with vsync ?
what is a high performace counter ?
-
Junior Member
Regular Contributor
Re: Can I sync my OGL program with vsync ?
Make a search on this forum for performance counter.
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