提交 c87d2270 编写于 作者: M Mr.doob

ColladaLoader: Increased maxbones to 64.

上级 fe1fc9ba
......@@ -645,7 +645,7 @@ THREE.ColladaLoader = function () {
function applySkin ( geometry, instanceCtrl, frame ) {
// TODO: get this from the renderer or options
var maxbones = 30;
var maxbones = 64;
var skinController = controllers[ instanceCtrl.url ];
......@@ -744,6 +744,8 @@ THREE.ColladaLoader = function () {
}
console.log( 'ColladaLoader:', animationBounds.ID + ' has ' + sortedbones.length + ' bones.' );
//if using hardware skinning, move the vertices into the binding pose
if(sortedbones.length < maxbones) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册