Three.js: Error on load FBX From Mixamo

Created on 31 Jan 2019  路  21Comments  路  Source: mrdoob/three.js

Three.js version
Browser
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
OS
  • [] All of them
  • [X ] Windows
  • [ ] macOS
  • [ ] Linux
  • [ ] Android
  • [ ] iOS
Hardware Requirements (graphics card, VR Device, ...)

I5 : 4460
GTX 1060
20 GB RAM

#

Whem the FBX loads the maps files he load with a desktop path:

"http://localhost:3000/model/C:/Users/Ran-pc/Documents/SPn/Test/v2/gina.images/ozi_classiquedress_dress01.jpg"

and my model are not displaying.
On mixamo my model load normaly.

I took the code from here https://threejs.org/examples/webgl_loader_fbx.html

Model: https://drive.google.com/open?id=1-NCVQsiUG4hRNjJrqunX1d1lXL7DFwpH

screen shot 01-31-19 at 07 20 pm 001
screen shot 01-31-19 at 07 20 pm
screen shot 01-31-19 at 07 22 pm

Loaders

All 21 comments

Does the model load OK in other apps?

Mixamo tends to leave the original model mainly unchanged so this is probably an issue coming from the app is was made in. If it was 3D studio max, open up the asset explorer and strip paths from all the assets then load them from the same folder as the file.

As an aside, this model with textures is over 230mb. You'll need to reduce that a lot for it to be workable on the web.

FBX Review open normaly.

This model was made in Daz Studio.

image

I fix the model and reduce https://drive.google.com/open?id=1-cpSbjpuJh-N9QpcR-4eZeXlGrPHEYpI

But still not loading.

Wem I tried to load on https://threejs.org/editor/

image

Actually the textures from original model don't load in FBX review unless I move the gina.images directory into the same directory as the FBX model:

gina

Your new one has some other errors, I think perhaps related to some of the textures being .tif
Can you try converting them to JPG or PNG and see if it works then?

It's default from Daz I guess but if the texture is with error the model should load but without texture right?

if the texture is with error the model should load but without texture right?

Yes, this may be a bug in the loader.

But you will need to convert textures from TIF anyway since browsers can't load TIF - always use JPG or PNG for best results.

Ok, can you help load the model after I will try to convert the TIF

Let's see if it works after you've converted the textures.

If not you can try using FBX2glTF to convert to a glTF binary (.glb) file and see if that works.

Ok I will try this tomo

Works in a very strange way

image

Works in a very strange way

What did you do to make this happen? Can you share that model?

The issue here seems like it's related to the animation parsing code.

The current code crashes and it abort the loading.

screen shot 2019-02-19 at 7 17 01 pm

I took this animation on mixamo

can we get Mixamo FBX animations to work without using GLB convertor ?

I figured it out the error, Daz Studio 3d models come with a lot of bones and thats bug threejs and babylon JS.

I imported the model on blender and remove their bones and add mixamo bones and add mixamo animation, works perfectly

If you whant to debug why Daz models do not work jus create a simple "Genesis 8" and export a fbx and convert to glb or something

Works in a very strange way

image

I figure out that this skin is a bug from FBXtoGTLF converter and I think they alread fix that

Unfortunately, the files are no longer available so I can't test to see if this model is fixed or not.

Closing then.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

konijn picture konijn  路  3Comments

yqrashawn picture yqrashawn  路  3Comments

boyravikumar picture boyravikumar  路  3Comments

donmccurdy picture donmccurdy  路  3Comments

Horray picture Horray  路  3Comments