Hi guys. I need your help. I have a trouble whith my model. Whenever I try to texturing it I get a model with only one color unlike another models, which looks good with same material My model
I created and exported model from blender whithout texture and uv mapping. I expected that texture lay on mesh like on every other simple shape.
I don`t understand what does it mean “Does the mesh of the stair.j3o model include texture coordinates for its vertices?” .
I order for a texture to be visible, the model it’s applied to needs to have texture coordinates. Texture coordinates are stored in buffers referenced by the model’s meshes, with one set of coordinates per mesh vertex. Simple meshes like Quad and Box include texture coordinates.
Since you created the model in Blender, you should add the texture coordinates in Blender and then re-export it.
If you go to the 20 minute mark in this video, you can also see an example of how to work with and alter a model’s texture coordinates in blender. I at least found this video very helpful a while ago when I didn’t quite understand how a model gets it’s texture coordinates.
What did not work? Did you get the model to look the way you wanted in Blender? We you able to export it from blender and import into JME? Were you able to load the model in your JME application? Or did you accomplish all these tasks and it didn’t look the way you wanted in your application?
I get normal model looks like in blender but when I try to texture model I get only one colored model(for wood texture it colored in broun). It looks as if all vereties of uv mapping locate in one point of texture. Blender model j3o model
I suspect you are converting from a saved .blend to .j3o in a single step (using the IDE, for instance). If so, you might instead try using an intermediate file format. For instance, try exporting from Blender into Ogre XML format, then converting the exported .mesh.xml to a .j3o .
There are at least 2 other intermediate formats you might try (xbuf and glTF), but I believe the Ogre XML importer is the most mature of JME’s model importers.