pissang / claygl

A WebGL graphic library for building scalable Web3D applications
http://claygl.xyz/
BSD 2-Clause "Simplified" License
2.81k stars 302 forks source link

Illegal image formats in resulting GLTF file. #54

Open vsantosu opened 6 years ago

vsantosu commented 6 years ago

When converting a FBX to a GLTF file, either binary or JSON gltf, the script(fbx2gltf.py) should do image transformation to PNG or JPEG in order to support most rendering engines. To reproduce the bug, try to transform a FBX with reference to a TGA image.

pissang commented 6 years ago

Yes it will be useful. Didn't do it because it needs other image processing libraries like Pillow