Coppel.Damien Posted March 18, 2025 Posted March 18, 2025 (edited) Hello ! Would it be possible to apply the Viewport mode "panorama fisheye orthographic" to only one camera ? I have two viewports in my scene : - one for a pilot view - one to simulate the feed of a fisheye camera I need this effect to be only applied to the second viewport, unfortunately choosing the fisheye viewport mode in Render/Screen settings applies the effect to every camera. Thank you ! Edited March 20, 2025 by Coppel.Damien
silent Posted March 19, 2025 Posted March 19, 2025 Hi Damien, I believe you can control each viewport's mode separately via Viewport::setMode() and pass one of the viewport's mode constants into it (for example Render::VIEWPORT_MODE_PANORAMA_FISHEYE_ORTHOGRAPHIC). FisheyeViewport.cpp Thanks! 2 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Coppel.Damien Posted March 20, 2025 Author Posted March 20, 2025 @silent Thank you ! this is working perfectly 1
Recommended Posts