Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Framerate demo

This topic is 5263 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

In that other thread about assembly, I off-handedly mentioned how easy it would be to make a demo showing that 30fps isn''t really enough to make the movement of a hard edge appear "smooth". Then I realized that I''ve got nothing better to do, so I tossed one together from the NeHe basecode. It''s pretty ugly, but it gets the point across : http://www.skizzers.org/andy/projects/framerateDemo.zip You can use the [+] and [-] keys to speed up or slow down the movement. The 30fps square is noticably jerky even at relatively slow speeds. It''s too bad there''s no efficient way to give fast-moving objects a soft edge like a movie camera does. That would be ideal.

Share this post

Link to post
Share on other sites
render at 90 frames per second, blend the last 3 frames together, and update the monitor at 30fps.

The reason you get it with cameras is because the film constatly exposed meaning that bright light keeps hitting it until the next slide is hit. the above should achieve something similar

Also, the above effect is achievable using the accumilation buffer, which is FINALLY being implemented in hardware by graphics card vendors.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!