Jump to content

Expose current frame as image data


photo

Recommended Posts

Posted

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?

 

Posted

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.

Posted

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!

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

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. 

×
×
  • Create New...