three.js - gpu crash mixing bones animation and multimaterial -


i have .json model object has 2 face materials, animated using bones.

i use jsonloader, , @ first created mesh this:

loader.load(url, function (geometry, materials) {   var mesh = new three.skinnedmesh(geometry, new three.multimaterial(materials)); mesh.material.skinning = true; // rest of animation setup mixer , such 

it didn't crash, mesh not animated. guessed had set skinning = true in each material. when so, hell breaks loose, gpu crashes , computer freezes this:

oh my

if instead of multimaterial create mesh 'single' material, animation looks fine, animation code not wrong, must happen mixing bone animation , multimaterials.. clues?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -