Error loading models exported from Daz3D
See original GitHub issueI 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
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (3 by maintainers)
Top Results From Across the Web
RESOLVED: Error loading Character - What am I doing wrong?
From inside Daz Studio, right click on the thumbnail of the character file you are trying to load and select Browse to File...
Read more >Problems Exporting to OBJ from 3dmax and importing to daz ...
I get no errors durring the conversion. However when I load the OBJ into Daz it looks like sombody poked triaglar holes into...
Read more >D|S not importing .obj - Daz 3D Forums
When I import everything seams normal, I get no error message, but nothing loads. It's not 100%, some will import, most don't. I'll...
Read more >File Import Formats -New Problem - Daz 3D Forums
Blender can import/export many different file types. I would use blender to import the collada (DAE) file and then export as .OBJ for...
Read more >Texture Problems on Exported Objects - Daz 3D Forums
I am having a problem with textures on exported object files that has ... then it will load them properly - but this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing since the test files do no exists anymore.
However, #20932 should fix the issue for the FBX asset.
Sure I Will upload tomorow