Change the background color black to white? in red, yellow and green slices?

Would it be possible to somehow change the background color to white rather than having it black?

Thanks…

There is no GUI for changing the slice view background color, but you can do it by copy-pasting these few lines into the Python console.

Hi Andras,
I want to change the background of 3D view to white, so I can get figures with white backgrounds.

I tried copy-pasting the lines, but did not manage to do this for the 3D view. And the " Capture 3D view into PNG file with transparent background" did not do anything other than taking a screenshot.

Thanks

You can use the GUI to change the 3D view background:

If you set the background to black then the code snippet for capturing of 3D view with transparent background will work correctly.

Thank you very much!