Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Error when loading texture with wavefront (OBJ) mesh

I noticed that when exporting some meshes from Blender to Gazebo using the Wavefront (OBJ) format some textures where not loading correctly, for example, this simple plane with a repeated texture:

In blender:

In blender

And when loading the model in Gazebo, the texture is not repeated as expected, looking like this:

image description

I checked the model mtl file, and the texture scale parameter is present, and the model does load correctly with blender:

map_Kd -s 100.000000 100.000000 100.000000 ../textures/checker_texture.png

If necessary, the model above can be download in this link.

Does anyone know if Gazebo supports texture scaling? Is this a bug?