Age | Commit message (Collapse) | Author |
|
Kent
|
|
|
|
|
|
|
|
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!
|
|
I reviewed the code, suggested an update ( initialising accumulation buffer ), and tested the resulting update successfully.
It's great to see more GE developers!GE Patch by Hamed Zaghaghi to add motion blur to the GE ( using the accumulation buffer ).
I reviewed code and tested, gave some feedback ( initialising accumulation buffer ) which was implemented straight away, and re-reviewed.
It's great to have another GE coder on the team!
|
|
|
|
insert_vert_icu since insert_vert_ipo no longer exists.
Kent
|
|
little nicer for everyone.
Patch provied by gsrb3d
bug tracker #7061
Kent
|
|
If you look at the log, the last change to this file I was trying to fix
game engine bug #6667. In so doing I added a print usage if you do not
pass any arguments to the gameplayer.
Things should work better now.
Kent
|
|
|
|
|
|
|
|
cone-twist instead (needs a few more minor fixes)
Note: Visual Studio projectfiles and other buildsystems need to add extern/bullet2/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp to the project!
|
|
so need to compensate to keep game blender vehicles working the same.
|
|
http://projects.blender.org/tracker/index.php?func=detail&aid=6667&group_id=9&atid=306
I moved some of the X11 initation code down a little bit so that
if you run gameplayer with no args or gameplayer -h
it will not crash even if you do not have X11 present.
(All it does is print usage)
Kent
|
|
this should get it all.
recurse was spelled resurse in a couple of places.
Kent
|
|
exotic or less exotic platforms
|
|
|
|
in game engine. need to use new motion state.
|
|
|
|
|
|
- 3D Window, textured drawmode shows lighted again for non-textured faces
- Engine: faces show lighted again when 3d windows was Solid draw mode
Example:
http://www.candointeractive.com/blender/BlenderViewport.jpg
|
|
assume os x 10.4 as defaut
|
|
- reset randseed, which should make simulations more predictable
- re-activate substeps (for more accurate simulations)
|
|
hide/select data for each face is annoying.
using mface->flag for both.
Also found that the cdDM_drawMappedFaces and cdDM_drawFacesTex_common could get normals mixed up when rendering hidden faces. because hidden/invisible faces used continue without advancing to the next normal.
|
|
properly :)
|
|
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
|
|
The first is it adds libIlmThread.a to the OpenEXR libs.
The second thing it does, is make it possible to define what TARGETS
you want to build inside of your user-def.mk file. This simplifies
source/Makefile quite a bit. I made each platform have the same
defaults (build dynamic blender, gameengine and gameplayer) I think
most platforms should be building this combo anyway and if you need to
change it its trivial so no need to have different defaults for each platform.
The new defines are as follows with their default settings in:
source/nan_definitions.mk
export WITH_BF_DYNAMICOPENGL ?= true
export WITH_BF_STATICOPENGL ?= false
export WITH_BF_GAMEENGINE ?= true
export WITH_BF_GAMEPLAYER ?= true
export WITH_BF_WEBPLUGIN ?= false
Let me know if you have any problems with it.
Kent
|
|
|
|
|
|
|
|
KX_RaySensor::Evaluate returns false when hit was detected and it was
already marked as hit. (no change in state)
Kent
|
|
See http://projects.blender.org/pipermail/bf-committers/2005-April/010506.html
and projects.blender.org/pipermail/bf-committers/2006-December/017035.html
A workaround was proposed by Kester Maddock
http://projects.blender.org/pipermail/bf-committers/2005-April/010510.html
and recently again, independently by Andreas Kasparz (no URL, private email)
See also http://svn.python.org/projects/python/tags/r24c1/Include/pyport.h,
starting line 430 : "On 4.4BSD-descendants, ctype functions serves the
whole range of wchar_t character set rather than single byte code points
only. This characteristic can break some operations of string object..."
|
|
|
|
rendered.
|
|
ImBuf pointer was being overridden causing the ibuf->rect to be zero.
2). Added vertex attributes for tangents in in vertex arrays.
This, probably needs the extensions enabled (glEnableVertexAttribArrayARB, glDisableVertexAttribArrayARB), but am a little
weary about enabling them right now.
|
|
One related to extension handling on Linux, the other is a fix for compiling with Irix and STL
|
|
'Use Blender Materials'
/source/gameengine/Ketsji/BL_Material.cpp;16;18;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;293;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;314;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;341;30;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1264;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;1194;40;Critical;1;
/source/gameengine/Ketsji/BL_Shader.cpp;916;30;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;257;24;Critical;1;
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp;262;24;Critical;1;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.cpp;195;24;Error;3;
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp;1209;16;Critical;1;
|
|
for the fix.
|
|
generic 6dof constraint
|
|
|
|
Cube maps don't display correctly in the player at the moment too.. something to do with regenerating/loading the images
|
|
|
|
two fixes to the GE by Charlie
|
|
copy system with rigidbody constraint will link new constraints to new objects (instead of old)
fps from blender will be used when baking (left shift/ctrl/alt + P)
|
|
This fix makes it possible to use lightmaps in the game engine.
|
|
|
|
|
|
|