Closed lfrodrigues closed 10 years ago
Assuming you're using blender, this is a known problem of the latest version of blender. See also: https://github.com/libgdx/libgdx/wiki/Importing-Blender-models-in-LibGDX#wiki-troubleshooting-missing-textures. The problem is that blender wrongfully uses zero as a default value when a value isn't explicitly set. This is also the cause of the RrSs warning. The solution is simply to set the opacity to one in blender. If this isn't the issue you're experiencing, please supply more information on how to reproduce the issue. BTW: Never ever use OBJ files, instead use FBX.
I'm using 3DS, is it a known problem also?
@xoppa, apparently this has been solved in one of the latest nightly, right? At least all my test files are converting fine.
Not that I'm aware of, perhaps it was fixed by updating the fbx-sdk. Anyways, glad it's fixed for you.
When I use fbx-conv 0.01.0000 x64 to convert a OBJ into G3DJ the texture material gets opacity value 0 so the model won't be visible (0 for transparent, right?).
If I change the opacity value in G3DJ file to 1 the model becomes visible.