Backdrop colour
rbel_295e7c1d4c
Posts: 99
I understand that I cannot set the backdrop colour to that of my choice (192,192,192) so that it does not keep reverting to the default. I appreciate that it is possible to include my backdrop colour in a saved start scene but it seems that it still reverts to the default when I save a WIP scene and then reopen it.
I wonder if it is possible to set my colour using a script that would activate when DS4.8 is opened?
Comments
The big problem with this new background color behaviour is that loading anything at all (figure/prop/scene) causes it to revert to the default None/White. It's incredibly annoying, but I have no solution except to add to feature request to the bug tracker. I already did this it was politely told they didn't think it was an issue, but if everyone does it, they might reconsider.
The main reason I'm posting here is that if someone does come up with a script, I'd grab it in a second.
Richard, many thanks for the response. I have run the script but the backdrop does not change from the default.
This is a copy of the script as I have entered it
I tried it as a .duf and a .dsa but nothing happens. (Script IDE shows no errors)
Richard's script changes the background of the viewport, it does not change the background of the Environment backdrop. If you start a new scene you may want a new backdrop, and the backdrop colour can be saved as part of that scene.
You can change the default background colour in Window > Style > Customize Colors...
Caymen, thanks for the input. I do appreciate that the backdground colour can be changed using the path that you suggest and the backdrop colour via the environment tab, but I would really like to automate the backdrop colour process if at all posssible and thought that a script could achieve this.
I had a quick look, there is a Scene.setBackdrop() but an extra step sems to be required to get it to display, this doesn't work (and lacks any kind of error checking):
I think what your missing is to make the Backdrop visible.
This works to set the backdrop to grey.
I thought I'd tried that and failed. Maybe I had something else wrong too.
DraagonStorm.
That works! Thanks to both of you.
Caymen - The annoying thing about the new behaviour is that if you set Backdrop/Color in the environment pane, then load another object, it reverts to None/White. With a script, I can put it on a toolbar and it's only one click away.
My issue is that, for example, when I'm doing product thumbnails, or promo shots with multiple pieces on gray, every time I load something new, I have to go back and reset the background. The script at least makes for less work.
mac