Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to use multiple sets of texture coordinates for one mesh?

Good Evening,

I am trying to create a simple material script using two sets of UV coordinates, in order to achive quality lightmapping. The geometry I use for testing this is Blender's monkey primitive sporting two sets of UVs. When re-importing the collada to Blender, both sets of coordinates work as expected, whereas Gazebo only seems to recognize tex_coord_set 0. If I set one or both of my two textures to tex_coord_set 1, the model appears plain grey upon importing. A reference I have found regarding this was in the ogre wiki: http://www.ogre3d.org/tikiwiki/Materials#Lightmap but my script, which is very similar to the example, does not work in Gazebo. Any help would be much appreciated.

Thank you, good night.