Gazebo | Ignition | Community
Ask Your Question

Change Color of Both Side of Wall

asked 2013-07-19 16:22:18 -0500

Vahid gravatar image

Hi Dear All,

I can change color of nistmazewll_240 with this tag

      <ambient>1 0 0 1</ambient>
      <diffuse>1 0 0 1</diffuse>
      <specular>0.1 0.1 0.1 1</specular>
      <emissive>0 0 0 0</emissive>

but, with this tag just color of one side changed! i want to change color of both side, i tried some tags but those didn't work! also i can rotate the wall but because of fault in saving environment i can't do that. any one can help me?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-23 18:36:07 -0500

iche033 gravatar image

looks like the normals are not loaded properly. It's just dark, and if you add a light next to it, it shows the material. I've ticketed an issue to track this

edit flag offensive delete link more


Thank you very much, i used the light, but the problem is that light tag don't add to SDF file of environment!

Vahid gravatar imageVahid ( 2013-07-24 12:31:31 -0500 )edit

Question Tools


Asked: 2013-07-19 16:22:18 -0500

Seen: 731 times

Last updated: Jul 23 '13