Brayns
Brayns copied to clipboard
Allowing users to add a gradient for the background.
It would be nice to allow the user to define two or three colors to form a background gradient instead of a single color only. An example is given below.
Agreed, this could be a nice feature for publications or movies. I'm not sure if Ospray provides multiple background colours.
Hi @marwan-abdellah, @straaljager, v. interested in this, I looked at few projects and I think Ospray enables multiple colors, can I work on this ticket? Is this ticket still open?
There are some technical limitations/challenges to implement this feature inside the rendering engine. We would need to add texture support, which was dropped with the latest refactorings. Plus, the colors would be affected by the lights of the scene, therefore not looking exactly like what the user would put. After internal discussion with the development team, we think the best way to address this is to take a snapshot with transparent background and use an image editor to add the desired gradient as a post-processing step.