Blender Git Loki

Git Commits -> Revision fc66b3f

Revision fc66b3f by Benoit Bolsee (master)
January 23, 2011, 17:17 (GMT)
BGE: support modifiers without mapping to original mesh both graphically and physically, fixes bug #24942 and #25286.

Support for physics is done by skiping the modifiers that
don't support mapping to original mesh. This mapping is
required to report the hit polygon to the application
by the rayCast() function.

Support for graphics is done by using the same render
function that blender uses for the 3D view. This guantees
equal result.

Limitation: there is still a known bug if all these conditions are met:
- Display list enabled
- Old tex face with a several textures mapped to the same material
- no armature or shape keys
- active modifiers

In this case, only a part of the mesh will be rendered
with the wrong texture. To avoid this bug, use the GLSL
materials or make sure to have 1 material=1 texture in
your old tex face objects.

Commit Details:

Full Hash: fc66b3f2efcb5b7579f06c1966900b2ecf3c1310
SVN Revision: 34469
Parent Commit: fa38da0
Lines Changed: +104, -7

12 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+10, -0) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+5, -1) (Diff)
/source/gameengine/Converter/BL_ModifierDeformer.cpp (+24, -0) (Diff)
/source/gameengine/Converter/BL_ModifierDeformer.h (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.h (+3, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+10, -4) (Diff)
/source/gameengine/Rasterizer/RAS_Deformer.h (+4, -0) (Diff)
/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp (+5, -0) (Diff)
/source/gameengine/Rasterizer/RAS_IPolygonMaterial.h (+2, -0) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+32, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021