Save rendered image via code

Forums: Save rendered image via code
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Save rendered image via code

Postby vrinsight » Sun Oct 17, 2021 6:50 pm

vrinsight Sun Oct 17, 2021 6:50 pm
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
vrinsight
 
Posts: 2
Joined: Mon Jul 19, 2021 7:11 am

Re: Save rendered image via code

Postby ChrisHekman » Mon Oct 18, 2021 12:18 pm

ChrisHekman Mon Oct 18, 2021 12:18 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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 14 guests

Thu Apr 18, 2024 3:45 am [ UTC ]