Gazebo | Ignition | Community
Ask Your Question

Problems getting textures to load

asked 2014-03-04 18:30:00 -0500

SL Remy gravatar image

Whenever I import a textured model from Maya into Gazebo the texture never shows up.The only time I have been successful was when I imported the duck.dae and duck.png files provided in a tutorial on Gazebo's website.

The duck example image description

However, when I use this same duck.png as a texture map on any other model I create (with the appropriate UV maps) it never shows up in Gazebo.

Here are 2 models with the textures applied in Maya. image description

image description

This is how the models appear in Gazebo image description

image description

For the submarine place holder it just rendered yellow, while the rocky terrain rendered grey.

Even when I apply a simple brown blinn shader with a bump map attached to the model it appears grey without the bump map.

Maya example image description

In Gazebo image description

Is there a texture tutorial that I'm missing?

edit retag flag offensive close merge delete


Take a look for errors in ~/.gazebo/ogre.log. Also, can you post/share one of your models? Maybe through a dropbox link.

nkoenig gravatar imagenkoenig ( 2014-03-04 19:01:22 -0500 )edit

Dropbox link for the terrain and sub-placeholder files Link Here Also I'm unsure how to locate the ogre.log file.

ct2 gravatar imagect2 ( 2014-04-09 19:50:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-10 07:05:11 -0500


I imported your collada files in Blender.

Your submarine has the Duck texture on it but there is nearly only yellow in the area of your generated UVMap. This seems to be displayed right in gazebo(it seems to be yellow)...

Sub marine UV Map

The Terrain has only a grey material assigned and no texture... This seems list there is something wrong with your Maya/Export settings

The problem for both files does not seems to be related to gazebo but to the generated .dae File

edit flag offensive delete link more


Hi Thanks for the reply. For the terrain, I tested it with both the duck texture and also a shader (I believe it was a blinn or phong) with the shader colored red. Both instances it render grey. But I had a feeling that something was being messed up with the .dae file because I did not have the plugin for maya. I instead exproted it as an obj file and used a website to convert it to .dae format.

This is the site I used:

ct2 gravatar imagect2 ( 2014-04-10 23:56:09 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-03-04 18:30:00 -0500

Seen: 2,603 times

Last updated: Apr 10 '14