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.

FBXLoader: Fbx Models containing .tif-format textures do not work

See original GitHub issue

hey When I use an fbx model with a .tif-format texture, I find that the texture is not displayed on the browser. This raises some questions, and I hope to find answers.

  1. Why wasn’t support for .tif-format textures considered? After consulting some information and related issues(#436), I learned that many browsers do not natively support .tif-format textures. By observing the source code of ImageLoader, I found that three.js works by displaying images through img tags. Is it possible to make three.js support .tif-format by extending ImageLoader? In fact, I made the image display by modifying the ImageLoader component, using tiff.js to load the tiff resource, and using canvas to convert it to png.

  2. Another problem is derived from the above problem. FBXLoader does not seem to provide any extensibility. Each subcomponent is directly new in the method. When I want to modify or extend the logic of some subcomponents, I have to put the entire FBXLoader Taking it out for modification alone makes the modification cost very large and is not conducive to subsequent maintenance. May I ask if this is the original intention of the original design (do not want others to modify the source code) or other reasons?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mrdoobcommented, Aug 2, 2022

Let’s do it 👌

1reaction
Mugen87commented, Aug 2, 2022

If you okay with UTIF.js, I’ll file a PR 👍 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I resolve issue with fbx not loading textures and colors?
When i try to load my fbx model on a site there are many warnings in console How can I resolve this issue?...
Read more >
FBXLoader doesn't load a fbx model 3d in three.js
My final code looked like this for who ever might need it. fbxLoader.load('models/3dModdleOfTheBox.fbx', (object) => { object.
Read more >
Importing FBX - Textures won't work - Unreal Engine Forums
Not a single FBX or OBJ file has ever been imported with working textures. I've tried roughly 15 - 20 different models, all...
Read more >
FBX Loader - Three.js Tutorials - sbcode.net
The FBX format is used to provide interoperability between digital content ... It supports many features such as 3D models, scene hierarchy, materials, ......
Read more >
Loading Models - React Three Fiber Documentation
All of these will use the useLoader function but in slightly different ways. ... Let's again use the trusted useLoader but this time...
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