I made a model using Blender 2.79, and have exported it into jme sdk in fbx and obj. When I run the program with the model (in fbx), it is stretched awkwardly and there are gaps in the model that were not there previously.
When running with obj or j3o, the model is fine, except there are some faces that will disappear when looking at the right angle.
The model looks fine in Blender, and I haven’t done anything unusual with the model (unless you count uv unwrapping or vertex extending unusual) or in the code. I opened the models in SceneComposer, and it’s the same as running the program.
Spatial kart = assetManager.loadModel("Models/Karts/StandardKart.fbx"); kart.setLocalTranslation(0, 0, 0); Material kartMat = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); kartMat.setTexture("DiffuseMap", assetManager.loadTexture("Models/Karts/StandardKart.png")); kart.setMaterial(kartMat); rootNode.attachChild(kart);
Edit: does it have anything to do with awkwardly bending faces?