Agomez Posted March 20 Share Posted March 20 Hello, I am trying to render two windows at the same time, each window displays the video from each camera respectively. Then, I would like to change the values of their brightness, contrast... separately. I've read the documentation for version 2.4.1 and those settings are in the render class, which as I understand is unique to a project. Is there a way to implement this? Thank you. Link to comment
silent Posted March 21 Share Posted March 21 Hi Alberto, In theory you can try to achieve that by setting required render parameters just before the viewport rendering and than revert them back to previously saved settings using Render::saveState() / render::restoreState() methods. So right before calling viewport rendering you saving render settings, applying required render parameters, do the viewport rendering and restoring previously saved settings back. You need to do this before each viewport rendering. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts