Reputation: 31
im fairly new to THREE.js. Im trying to load a .FBX Object via the FBXLoader located in three/examples/jsm/loaders/FBXLoader. Also, i'm using this in React.js.
Now, the page loads but the model isnt there. The error in the console says: An error happened: Error: THREE.FBXLoader: Unknown format.
My FBX File seems to be in binary format, not in ASCII Format. I really dont know what to do.
My Code: //deleted
I also tried moving the models folder in and out of the public folder. Thanks in advance.
Upvotes: 0
Views: 2077
Reputation: 31
I found a solution. My FBX file had an old version, also it had Binary encoding. Switching to ASCII and a newer version fixed everything.
Upvotes: 0