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

Problems in converting from fbx to G3dj #61

Closed PMiraLopes closed 10 years ago

PMiraLopes commented 10 years ago

Hey guys I'm a beginner at libgdx and I'm having an annoying problem. I'm developing a project that needs to import a building, which fbx file is very big, but the problem is that when I try to convert the fbx, it keeps always having errors saying "Skipping geometry without material", because the model doesn't have materials, I know that. And if I use a smaller model it gives a lot o warnings because of the number of vertices, and when i run the app it doesn't show the model, it recognises that it exists, the number of nodes, meshes but the materials stays as null as expected, shows only a black screen. How can i convert the model? Or the model really needs to have materials?

The models are here:https://drive.google.com/folderview?id=0B__hwerDSna6UlAtMmxWV3hoQjg&usp=sharing

xoppa commented 10 years ago

A material is required. https://github.com/libgdx/libgdx/wiki/Importing-Blender-models-in-LibGDX Please use the forum or irc to ask such questions. https://github.com/libgdx/libgdx/wiki/Getting-help