Jump to content
  • Advertisement
Sign in to follow this  
BlueSpud

Camera Movement Frame-Rate Independent

This topic is 1766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've have the code for my camera for a while now, and recently I've been cleaning a lot of code up and implementing a proper game loop. I'm using an FPS style camera and I want it to run at a constant speed regardless of the frame-rate. I've looked at a lot of things, and they work, but It looks choppy and bad (even if I'm running at 60fps and even 100fps). Anyone's help would be appreciated, and I'm using glut on OSX, so preferably help would be directed towards that.

Thanks in advance :) 

Share this post


Link to post
Share on other sites
Advertisement

Look for the equivalent of Windows QueryPerformanceCounter / QueryPerformanceFrequency for Mac.

 Got that to work, I just wasn't using it properly before. Thanks :)

Edited by BlueSpud

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!