Error when loading texture with wavefront (OBJ) mesh

asked 2021-04-23 13:34:05 -0500

jeduardo gravatar image

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?

edit retag flag offensive close merge delete