Save rendered image via code

A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Post Reply
vrinsight
Posts: 2
Joined: Mon Jul 19, 2021 7:11 am

Hi guys,

is it possible to store the rendered image via code, instead of pressing the save image to harddisk button. I imagine that I go to Playmode in Editor and a script checks the progress of the rendering and then stores the image after certain samples.

Please help me, thank you very much

Alex
ChrisHekman
OctaneRender Team
Posts: 1062
Joined: Wed Jan 18, 2017 3:09 pm

It should be possible I believe, however I have not tested it from script.

The functions are:
Octane.Renderer.SaveImage
Octane.Renderer.SaveRenderPasses
They should be public.
Post Reply

Return to “Octane for Unity”