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
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
Take a look at glvelocity.gamedev.net in the code section. There’s a piece of code that (I think) does what you want.
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.
what is a high performace counter ?
Make a search on this forum for performance counter.