OSDN Git Service

BatchNode now uses absolute world transforsm to update the underlying batch mesh...
authorremy.bouquet@gmail.com <remy.bouquet@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 9 Jun 2013 16:06:56 +0000 (16:06 +0000)
committerremy.bouquet@gmail.com <remy.bouquet@gmail.com@75d07b2b-3a1a-0410-a2c5-0572b91ccdca>
Sun, 9 Jun 2013 16:06:56 +0000 (16:06 +0000)
commit7652e58a7375b8256f4d8e2fb7f2942d25bb4397
tree3ed4e5f17e34af885d2ec07953a6c1892a40bf3b
parent291540b706eb87803cc378f82b9b2f49fe5b6477
BatchNode now uses absolute world transforsm to update the underlying batch mesh, instead of computing the offset from next frame.
The real geometry mesh data is now used as a bind pose.
This avoids errors accumulations over time in some case and is less expensive.
See this post for the original issue http://hub.jmonkeyengine.org/forum/topic/batchnode-bug/

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10647 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
engine/src/core/com/jme3/scene/BatchNode.java
engine/src/core/com/jme3/scene/Geometry.java
engine/src/core/com/jme3/scene/SimpleBatchNode.java