angus Posted November 21, 2016 Posted November 21, 2016 It's possible to capture the output of the renderer in to an Image() object by using engine.renderImage, viewport.renderImage2D and so on. However these have some disadvantages A full extra rendering of the frame is needed Adaptive exposure is not possible (I think) It's fiddly creating a bunch of objects just to get a screenshot Instead, can you expose the current frame pixels as something that can be written in to an Image object?
silent Posted November 22, 2016 Posted November 22, 2016 Hi Angus, What kind of task you are trying to achieve? Could you please provide us more details?Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
angus Posted November 22, 2016 Author Posted November 22, 2016 Hi Silent, Essentially all I want to do is, while rendering and displaying of the world is going on, to also be able to capture the finally rendered image that lands in the default viewport. Unless I've missed something, the only way of capturing the final image is to set up a new render pipeline and capture that pipeline.
silent Posted November 23, 2016 Posted November 23, 2016 Hi Angus, Yes, you are right. Currently there is no option for quick acess to the final image via API. I will add this feature request to our internal bug tracker. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
angus Posted November 23, 2016 Author Posted November 23, 2016 > I will add this feature request to our internal bug tracker. Thanks Silent. You and the team continue to make me happy. I'm really glad we chose Unigine for our projects.
Recommended Posts