libgdx / fbx-conv

Command line utility using the FBX SDK to convert FBX/Collada/Obj files to a custom text/binary format for static, keyframed and skinned meshes.
Apache License 2.0
448 stars 116 forks source link

Textures in FBX Version 7.1 and above #75

Closed hottehead closed 9 years ago

hottehead commented 9 years ago

I have a model exported in Versions 7.1/7.2/7.3 and 7.4 which I converted to g3dx format. I loose all textures while converting. The materials section does not contain a textures array although textures get extracted from the FBX file. If I preview the file in FBX Converter from autodesk it is displayed correct. Only if I use FBX Version 6 the texture array appears in the g3dx file. So I assume the converter has an issue with version 7 of FBX file format extracting them but not referencing it in the g3dx file.

The model im using has gone through ArchiCAD->Cinema4D->Libgdx.

xoppa commented 9 years ago

Please include the source files required to reproduce the issue.

hottehead commented 9 years ago

Sorry for the late reply. Almost forgot that I started this issue. I made two smaller example files. It show a few desks and chairs with two textures. One file is exported using FBX Version 6 and one uses Version 7.1. If you convert to g3dj format the 7.1 file is missing the texures in the material section. However if you view it with FBX Viewer from autodesk they look the same.

http://www.file-upload.net/download-10204592/fbx-conv-issue-75.zip.html

xoppa commented 9 years ago

These files are huge, after converting the g3dj file is around 22MB. Please reduce the file to only include the issue you're reporting. E.g. remove unneeded nodes, animations, materials etc.

xoppa commented 9 years ago

I assume this has been resolved on your end. Closing the issue. If you think there's still an issue with fbx-conv then please provide the requested information and we'll reopen.