Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Jpjapers on 2015-08-12, 08:17:20

Title: Autosave frame buffer?
Post by: Jpjapers on 2015-08-12, 08:17:20
Is there any way to automatically save the frame buffer contents if it detects the shutdown or restart processes are running? Recently I've left renders overnight and came back to a nice windows update and no render.
If this isn't something within corona itself, would it be scriptable in maxscript?
Title: Re: Autosave frame buffer?
Post by: romullus on 2015-08-12, 09:25:02
There is autosave already. You can find it at render settings>system>frame buffer>output autosave.
Title: Re: Autosave frame buffer?
Post by: Jpjapers on 2015-08-12, 11:34:26
im aware of the autosave feature. Im just wondering if its possible to dump the render to file if a shutdown/restart is detected so it can be resumed when you restart. and if so, does maxscript have access to the necessary functions to do this with corona?

Thanks
Jack
Title: Re: Autosave frame buffer?
Post by: romullus on 2015-08-12, 12:27:56
Why do you want that? No script will save you in a case of power outage or max crash.
Title: Re: Autosave frame buffer?
Post by: maru on 2015-08-12, 12:53:53
I think what he means is to save when there is a proper shutdown, not a crash. For example if you press power button on your PC, usually in such case 3ds Max pops up a message like "please save all your work before shutting down" and the shutting down process is paused for some time. He would like to have this done automatically.
Title: Re: Autosave frame buffer?
Post by: Jpjapers on 2015-08-12, 13:58:24
yeah basically i leave renders overnight sometimes at work and the windows updates restart the pc sometimes. i cant disable them due to the security policy. im wondering if i can script something that will detect the shutdown process and dump the render to file or even just save the frame buffer contents just incase.
Title: Re: Autosave frame buffer?
Post by: Jpjapers on 2015-08-12, 14:03:13
essentially, is there a maxscript call that will allow me to use the save vfb function via script?
Title: Re: Autosave frame buffer?
Post by: Jpjapers on 2015-08-14, 09:06:23
i guess thats a no. Is there any maxscript documentation for corona?