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.

The OBJFileLoader incorrectly displays textures

See original GitHub issue

On some OBJ-models exported from Blender (or 3ds Max) textures displays wrong.

I tried to use BABYLON.OBJFileLoader.OPTIMIZE_WITH_UV = true before calling BABYLON.SceneLoader.Append(...), but this had no effect. Autodesk FBX Review displays the model correctly.

I attach link (Yandex.Disk) to the model itself and screenshots of how it should be and how it is.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
shults-scommented, Sep 4, 2019

@deltakosh @brianzinn @Drigax Thank you so much for your help! Apparently, this is a really strange exporter of 3DS Max. It seems that it’s time to switch to GLTF, there are no such problems with exporters 😃 Babylon.js allowed me to write a bachelor’s diploma in a quality and a very short time, when I thought that I was no longer in time. Thank you.

2reactions
deltakoshcommented, Apr 5, 2019

No worries…@drigax should soon be able to have a look at it

Read more comments on GitHub >

github_iconTop Results From Across the Web

ObjFileLoader not loading all textures as it should - Bugs
I'm loading some matterport scans to scene, obj files with mtl and textures, obj file loader does not seem to do good job...
Read more >
Why are textures displayed incorrectly when using indexed ...
It seems you are very close to finding out the issue. Yes some data is beeing overwritten because an obj vertex can have...
Read more >
Texture mapping issue in my Wavefront *.obj parser
You already know that texture mapping is wrong, but you don't know in which way. Therefore you should perform the two steps above....
Read more >
obj file loader, material and UV textures (part 1) - YouTube
OpenGL (SDL,C++) tutorial 12 - obj file loader, material and UV textures ... And the source code, if you don't want to copy...
Read more >
Loading in .obj & .mtl files - Oracle Communities
Ok the problem. I can import an .obj file into Java3D and have it displayed on the canvas. The object seems to require...
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