[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16204] trunk/blender: BGE bug #17491 fixed: BGE, Dupli instance with different scale, massive slowdown.

jmsoler at free.fr jmsoler at free.fr
Thu Aug 21 20:46:23 CEST 2008


Selon Benoit Bolsee <benoit.bolsee at online.be>:

> Revision: 16204
>
>
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16204
> Author:   ben2610
> Date:     2008-08-21 17:19:54 +0200 (Thu, 21 Aug 2008)
>
> Log Message:
> -----------
> BGE bug #17491 fixed: BGE, Dupli instance with different scale, massive
> slowdown.
>
> The root cause of this bug is the fact that Bullet shapes
> are shared between duplicated game objects. As the physics
> object scale is stored in the shape, all duplicas must
> have the same scale otherwise the physics representation
> is incorrect.
> This fix introduces a mechanism to duplicate shapes at
> runtime so that Bullet shapes are not shared anymore.
> The drawback is an increased memory consuption.
> A reference count mechanism will be introduced in a
> later revision to keep Bullet shape shared between
> duplicas that have the same scale.
>
> Modified Paths:
> --------------
>
>
trunk/blender/projectfiles_vc7/gameengine/physics/PHY_Physics/PHY_Bullet/PHY_Bullet.vcproj
>     trunk/blender/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
>     trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp
>     trunk/blender/source/gameengine/Ketsji/KX_Scene.h
>     trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
>     trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.h

Error with MSVC++ 8.0 + scons :

CcdPhysicsController.cpp
source\gameengine\Physics\Bullet\CcdPhysicsController.cpp(21) :
fatal error C1083: can't open include file : 'RAS_MeshObject.h' : No such file
or directory


jms


More information about the Bf-committers mailing list