Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Hawkblood

Member Since 21 Jan 2013
Offline Last Active Today, 05:47 AM

#5050055 Delta Interpolation Issues

Posted by Hawkblood on 04 April 2013 - 01:15 PM

I am pretty sure it has to do something with the float values being 'messed up' when they are so small.

Float values do have inherent error involved when they are VERY big or VERY small. The values you showed were neither. Sorry I don't know OpenGL. Where are you getting PCFreq? Is it part of the performance counter? If so, then it should take into account the PC/OS specific values for the clock. Do a check with both PCs. Have your program display the "time between frames". The TBF should be the same on both machines if the PCFreq is the same (or close). If you are running at 60fps on both machines then the TBF should always show ~16.6666666667 (on average). You will most likely see this number fluctuate between 16-17 depending on processor load.

 

So, to sum up:

Test both computers for 60fps and TBF.




#5050032 Delta Interpolation Issues

Posted by Hawkblood on 04 April 2013 - 12:24 PM

Do you have a fixed vsync? If your desktop is higher end, then make sure you're not running at 120fps. You probably already checked this, but if your delta is higher on your desktop than on your laptop, then there is some inconsistancy other than the speed difference of the processors. Clocks are clocks and (whithin reason) they all click at 1ms intervals. Look at CLOCKS_PER_SEC to be sure. On second thought, what ARE you using to get your Delta?


#5045219 Game programming - Where to start?

Posted by Hawkblood on 21 March 2013 - 06:00 AM

You probably have a grand idea for a game. Don't start with that. Take as much of the functionality you want in your game, but dumb it down. Put that into a simplified version of your game. This will do 2 things: First, you will actually be able to finish it, and second, you will gain the needed experience to write the game you want. I've never used SFML, but I have used DarkGDK. SFML has a forum-- use it. If you need to, study some C++ tutorials/examples and write some of your own. The best advice I can give is "just start programming"!


#5031832 Squirrel or Lua for RPG quests, gui and AI scripting?

Posted by Hawkblood on 13 February 2013 - 09:06 AM

Sorry I suggested anything.




PARTNERS