Access image buffer data with maxscript

In Vray the following works for bitmap saving.
In Corona I don’t know how to do this.

corona = renderers.current    --This works getting the current renderer
corona.output_on = true        --No idea how to do this with Corona
corona.output_splitgbuffer = true        --No idea how to do this with Corona

corona.output_splitfilename = fooFileNamePath       --No idea how to do this with Corona

This is the solution to resolve the problem I described at the following location:
[https://forum.corona-renderer.com/ maxscript set bitmap output path in render batch ](https://forum.corona-renderer.com/ maxscript set bitmap output path in render batch )

Regards,
Bert

Hi,

I think it’s a misunderstanding. When using Corona, 3ds Max handles the file outputs at the moment. You cannot just set properties of another engine, they do not exist. However, you can access the frame buffer data like this and do anything in a script with it:


-- for all engines:
render1=getlastrenderedimage()
display render1

-- Corona VFB access. 0 is channel beauty, the booleans mean postprocessing and renderstamp included yes/no:
render2=CoronaRenderer.CoronaFP.getVFBContent 0 true true
display render2

Usually you can find that information here:

But for some unknown reason it’s down atm.

Good Luck