blender/source/gameengine
Peter Schlaile a0390e5cc3 == Core ==
This adds fractional FPS support to blender and should finally
make NTSC work correctly.

NTSC has an FPS of 30.0/1.001 which is approximately 29.97 FPS.
Therefore, it is not enough to simply make frs_sec a float, since
you can't represent this accurately enough. 
I added a seperate variable frs_sec_base and FPS is now 
frs_sec / frs_sec_base.

I changed all the places, where frs_sec was used to my best knowledge.

For convenience sake, I added several macros, that should make life
easier in the future:

FRA2TIME(a) : convert frame number to a double precision time in seconds
TIME2FRA(a) : the same in the opposite direction
FPS         : return current FPS as a double precision number 
              (last resort)

This closes bug #6715 
Standard framerates not supported / breaks sync -- 23.967 29.967 etc.

https://projects.blender.org/tracker/?func=detail&aid=6715&group_id=9&atid=125

Please give this heavy testing with NTSC files, quicktime in/export
and the python interface.
Errors are most probably only spotted on longer timelines, so that is
also important.

The patch was tested by Troy Sobotka and me, so it most probably should
work out of the box, but wider testing is important, since errors are
very subtle.

Enjoy!
2007-10-21 15:42:08 +00:00
..
BlenderRoutines == Core == 2007-10-21 15:42:08 +00:00
Converter == Core == 2007-10-21 15:42:08 +00:00
Expressions This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
GameLogic This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
GamePlayer GE Patch by Hamed Zaghaghi - Adding Motion Blur to the Game Engine. 2007-09-29 18:51:01 +00:00
Ketsji GE Patch by Hamed Zaghaghi - Adding Motion Blur to the Game Engine. 2007-09-29 18:51:01 +00:00
Network This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
Physics This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
PyDoc Added the docs & use Python booleans for physics reinstance. 2005-04-23 12:25:21 +00:00
Rasterizer GE Patch by Hamed Zaghaghi - Adding Motion Blur to the Game Engine. 2007-09-29 18:51:01 +00:00
SceneGraph This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
CMakeLists.txt CMake lists initial submission. Documentationand further verification for different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on. 2006-11-17 02:27:12 +00:00
Makefile This commit does a couple of things to the Makefiles. 2007-03-27 15:42:27 +00:00
SConscript == SCons == 2006-02-04 14:15:10 +00:00