Change color of one side of box
Hi. I am applying a texture to a box in gazebo. The texture is applied uniformly to all sides of the box. I want it to be applied on only one side of the box..Any idea how to do that?
Asked by elemecro on 2019-10-17 07:02:25 UTC
Answers
There could be a way achieve this kind of control over which faces the texture is displayed on from an Ogre script, but I haven't looked into it.
One common approach I see is to create a COLLADA model of a box with proper UV mapping. See this tutorial for example.
Another approach is to create a box with 6 other thin boxes on its sides and give those boxes colors / textures. That's how I did the Rubik's cube stickers here.
Asked by chapulina on 2019-10-18 01:39:05 UTC
Comments
Problem is, I want to do it in gazebo...More specifically, I want to color one side of box among several boxes to differentiate wrt one side only...
Asked by elemecro on 2019-10-18 02:09:59 UTC
I added another option above. I don't think there's any other way.
Asked by chapulina on 2019-10-18 02:18:40 UTC
Thanks a lot..This is what I am already doing but the world file is becoming too long.
Asked by elemecro on 2019-10-18 02:30:03 UTC
Comments