Gazebo | Ignition | Community
Ask Your Question
0

Change Color of Both Side of Wall

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

Vahid gravatar image

Hi Dear All,

I can change color of nistmazewll_240 with this tag

    <material>
      <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>
    </material>

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
0

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

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

Comments

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 -0600 )edit

Question Tools

Stats

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

Seen: 738 times

Last updated: Jul 23 '13