Gazebo | Ignition | Community
Ask Your Question
0

Is it possible to change the entire background of Gazebo white or transparent?

asked 2020-06-23 06:35:12 -0500

matthewmarkey gravatar image

Hello friends, I am trying to get some nice screenshots of my model, but I didn't want them to have a background. It would really make my paper pop if I could get the entire background of the empty Gazebo world I am using to be white instead of that standard gray.

I am sure this has been asked but I am struggling to find exactly what I am looking for....any help is greatly appreciated.

M

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-06-23 16:58:33 -0500

Add this description to your world file.

<scene>
  <ambient>1 1 1 1</ambient>
  <background>1 1 1 1</background>
  <shadows>0</shadows>
</scene>

For the full specification, see here.

You could optionally try to play with the sun (see here).

edit flag offensive delete link more

Comments

Thanks for this! I got the background to go white, now I just need to get the "working area" (grid area) to also be white. It is currently gray...

EDIT: I think I have gotten something that is more then appropriate for my application. Thanks a bunch for the help @nlamprian

matthewmarkey gravatar imagematthewmarkey ( 2020-06-24 02:10:10 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-06-23 06:35:12 -0500

Seen: 2,489 times

Last updated: Jun 23 '20