Blender Git Loki
Git Commits -> Revision 03c1585
Revision 03c1585 by Mitchell Stokes (master) August 1, 2011, 23:02 (GMT) |
BGE Animations: BGEDeformVerts() now handles normals instead of relying on BL_MeshDeformer::RecalcNormals(), which BlenderDeformVerts() still uses. As expected, the BGEDeformVerts() version isn't as accurate, but it avoids a sqrt per vertex. This gives about a 15~20% improvement in time spent on the rasterizer in my test scene, which resulted in about 5 more fps. However, the main reason for the new normal code is it will be easier to do on the GPU (doesn't rely on neighbor information). |
Commit Details:
Full Hash: 03c1585e3a6516c640bec08094178d8c0860a8b6
SVN Revision: 38905
Parent Commit: 3e85ec4
Lines Changed: +36, -11