Home | Tutorials | Wiki | Issues
Ask Your Question
0

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

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

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 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

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

Seen: 640 times

Last updated: Jul 23 '13