Gazebo | Ignition | Community
Ask Your Question

textures in an imported mesh?

asked 2018-04-16 13:52:27 -0600

Mansan gravatar image

updated 2018-04-16 13:52:48 -0600

There is a simple way to add the textures to a mesh? I have imported few models form 3dwarehouse, when I export them to .dae, I get the mesh that I can correctly use in Gazebo , but of course without the textures. It is any easy way to "attach" the textures to my models? I use Gazebo 7.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-16 14:02:22 -0600

edit flag offensive delete link more



Those are good answers. There's some information in [this tutorial]( about textures too.

sloretz gravatar imagesloretz ( 2018-04-17 10:17:27 -0600 )edit

Thanks for the answer!These links show how attach a texture to a 3d mesh, but I have another problem (And I think this can be solve easily, or at all). If I have a model (.dae) and two textures (for example in a tree, I have e texture for the leaves and another for the branches/trunk). It is not possible to set it rigth in Gazebo , if the tree 3D mesh is imported as one file, rigth?

Mansan gravatar imageMansan ( 2018-05-01 06:51:18 -0600 )edit

@Mansan you may be able to accomplish some of that using Ogre scripts (there's a small example of a texture being applied 4 times to different sides of a cube in the link @sloretz shared). That's the only thing I could think of (no idea if possible).

josephcoombe gravatar imagejosephcoombe ( 2018-05-01 16:27:00 -0600 )edit

Question Tools

1 follower


Asked: 2018-04-16 13:52:27 -0600

Seen: 1,239 times

Last updated: Apr 16 '18