Can Textures be added to simple objects from my own source?
If I build a simple object such as a cylinder or a box I can add texture from the gazebo.material file e.g.:
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/CeilingTiled</name>
</script>
And this is matched with the block from the gazebo.material file:
material Gazebo/CeilingTiled { receive_shadows on
technique { pass { ambient 0.5 0.5 0.5 1.000000
texture_unit
{
texture ceiling_tiled.jpg
}
}
} }
... and then I can get a nice textured and properly lit object in Gazebo.
But this seems to be limited to just the materials in this particular file - about 20 of them. How can I specify my own .material file to map my own texture onto the object model?