question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error loading models exported from Daz3D

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Mugen87commented, Jan 18, 2021

Closing since the test files do no exists anymore.

However, #20932 should fix the issue for the FBX asset.

1reaction
ran-jcommented, Sep 30, 2018

Sure I Will upload tomorow

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found