-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Labels
Description
I create a model in daz 3d, but when I export as a collada and try to load in three js I got this error
Uncaught RangeError: Maximum call stack size exceeded
at SkinnedMesh.Mesh [as constructor] (three.min.js:14322)
at new SkinnedMesh (three.min.js:25480)
at buildObjects (ColladaLoader.js:3653)
at buildNode (ColladaLoader.js:3467)
at getBuild (ColladaLoader.js:219)
at getNode (ColladaLoader.js:3680)
at buildNode (ColladaLoader.js:3442)
at getBuild (ColladaLoader.js:219)
at getNode (ColladaLoader.js:3680)
at buildSkeleton (ColladaLoader.js:3296)
My configs to export https://imgur.com/a/vCQmMCm
How Im loading
var loadingManager = new THREE.LoadingManager(function () {
scene.add(modelRender);
});
var loader = new THREE.ColladaLoader(loadingManager);
loader.load('./src/models/e/Teste.dae', function (collada) {
var animations = collada.animations;
if (animations.length > 0) {
var avatar = collada.scene;
mixer = new THREE.AnimationMixer(avatar);
var action = mixer.clipAction(animations[0]).play();
modelRender = avatar
} else {
modelRender = collada.scene;
}
});
Three.js version
- Dev
- r97
- THREE.ColladaLoader: File version 1.4.1 || THREE.WebGLRenderer 96
Browser
- [] All of them
- [x ] Chrome
- Firefox
- Internet Explorer
OS
- [] All of them
- [x ] Windows
- macOS
- Linux
- Android
- iOS
Hardware Requirements (graphics card, VR Device, ...)
GTX 1060
Core I5 4460
20 Ram