FlaxEngine icon indicating copy to clipboard operation
FlaxEngine copied to clipboard

gltf,glb format cannot import its texture and material

Open aslyr opened this issue 3 years ago • 3 comments

Issue description: when i export model from blender as gltf,glb,and use Flax import it,it cannot include texture and material,but if i use godot engine import it ,it work well, i must export this model as .gltf .bin .texture it can work

Steps to reproduce:

Minimal reproduction project:

Flax version:1.2

aslyr avatar Nov 16 '21 14:11 aslyr

Do you have a model that reproduces this and could you attach it? Also, please do try out the fbx format. For all the non-fbx formats, Flax uses Assimp.

stefnotch avatar Nov 16 '21 14:11 stefnotch

catwoman.zip It's just a suggestion, not critical, and if it doesn't work out, I'll move on to another format

aslyr avatar Nov 17 '21 11:11 aslyr

I can confirm that it fails to import the textures. I suppose Flax doesn't import textures that are included in some model formats (.glb in this case). This issue can stay open until that gets addressed.

stefnotch avatar Nov 17 '21 11:11 stefnotch

Bump, would like this fixed!

Menotdan avatar Oct 04 '23 02:10 Menotdan

Added support for importing embedded textures from Assimp in bed736a8eeb8ab5bad5c82458d9324edde88685e

catwoman

mafiesto4 avatar Oct 04 '23 15:10 mafiesto4