Re: Render Region and Autosave
Hi, Just to share a simple script (gave it another go) that toggles Off and On the Autosave pref (if originally On), fired by an "onBeginFrame" event, which essentially restarts the set Autosave counter when a region is drawn. Initially, perhaps due to something I was missing (or a bug?) running -any- command other than LogMessage commands on the 'onBeginFrame' event would simply freeze everything. But! starting jscript timers which in turn (indirectly) ran XSI commands seemed to work, so the Autosave counter is reset (to however amount of minutes) 1/10th of a second after drawing a region, or launching a preview. So you can leave your regular Autosave pref to some 20-30 minutes, and never be bothered by your region getting interrupted due to a save happening midway, unless you are use to making rather big regions at high quality, in which case you may set higher autosave gaps accordingly. For big frames in HiQ (at the end of lookdev) I personally only launch frame renders (which are unnaffected by autosaves anyways). So let me know if any issue, Cheers! On 02/08/16 7:28, Fabian Schnuer Gohde wrote: Hi, I thought I'd ask in case anyone has run into this and has a workaround. With heavy scenes I regularly get lock-ups with the render region is open and autosave kicks in. This is with redshift so I'm not sure if the problem is solely there. Are there any hooks for a script or anything that surpress autosave or is there some way to do an entirely custom autosave that checks for regions before triggering? Best regards, Fabian 2.0 Auxiliary JS Reinitializes autosave countdown on render for an uninterrupted preview or RenderRegion. js_LittlePieceOfPreviewingPeace 5 ODgAeNodytEJgDAMBNBVbgKH6QbFnhKQi6RpC06v+P1eocnS 6mUPO+pI73USuw9l8yW4EFRj4PBAFYZMyYhxJxvu4DQufFb+Vniaa3sB8Rch xw== NDIweNpVUFtrgzAUfp6/4sx3r8PBirWUzY4NHWW2sLeS1VMb yEViHPrvl+Bsu5ec73IuH0lXA2fwg6qjUizdyA/dVeak954HryhQEY01fI9Q Ud4y/CqLF3mEM7IWlQ+QD3jsbcdGUSiJgiiC+GERPi2SGPJqB3EYPdrxfYcK PM9sHjp6OFGGoMcWl+66rqV4EyfpgnWuQUwSP4kTkwe6UWgyHP6FzJy79NmE a6Si2GVpcEOMtWVEb6Ti1rliY+yoZmjEqRph3euzVB+EY/ZepcENvZh5SSjL Zm9i9rzkLRGjvf2HjLj/LIxgX0MKIpqeNPbeBRq56jknyg7OyA52U+NUnTSY PypzfgF/CIUn MTM4MgAAeNqtVF1r20AQfHYg/2HRkwyx4jwHP7j0A5ckClYIfTNX aaVekE7ibmVCTf57904nW3XkkoRig9Fod2Z29s55q1KStYIfyeqmFtl92RZS hSDVRmMB0/Oz3fnZpHuKli39qjUsIPieBNcH/E5UaNE1rpQkKUr5G7m2NmKL D7JCHas1qgx19GTAKsykGvbfiidHezXEpHLYfICtsZCGUH/ZoqIw0GiQep1Y OTS4ACNj9Ykr1VfNvqYj/c7TOMnhFTNdzee2nQn4q5FarYB0i4y9WNh+8j7A MTcb/+vyTOmZ+kC3QgPxdMumKWUqLEHkKlcqr00I/7AFbiLiYbgitB47xPvL RWkGBk/ZOxCe9Lhzk19ewjckSFutuQjKuuBkCzAkCMFP0mjMzdE094wht6Ro rn1ZrSX3Wn9ElmPRNUbMf6h+FGWLYWBSLRtbFaVVxqKBm7Hz84BVA5k04meJ kNZVJVS2NyZziO/synMIjwQXdndT2Fnbk046eS0Nr7UvulQ5Z9f60jlxZjpH bhdg050lHO9YcMtZ8ndovbll8pY8MkFiw4OKAiumi4Tf5DCXzz4SG4fGGSr3 ZIXHQtnrvi2W0w58Oj6cDxE4B/tw/8P9cDfktiX7t+Rv7KTfCi+Lao0QcxD7 Y8Ov3ncijg+zV+3sH9/FP4dsvds= -- Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.
Re: Render Region and Autosave
ooor... you could install RRays widget as prescribed, http://traypen.com/rr/bak/rray/SaveRemind.xsiaddon the dialog not only reminds but also has a save button on it. but if you want, you can super easily edit it to make it not ask you, and replace the 'Save' with a 'SaveBackupScene', Then you can make the Q key invoke the region command .. and reset the timer. function saveRemindOnEndSceneSave_OnEvent( in_ctxt ) { var t = Application.EventInfos( "saveRemindOnTimerEvent" ); t.Reset( 60, 180 ); return false; } which resets it for another 30 mins which should be enough time for your region to finish Hope that can work, J On 02/10/16 14:48, Jason S wrote: There is a command (as well as default ctrl-alt-s hotkey ) to invoke a backup save (in the backup folder). I'm not a scripter, but I'm sure it would be not too complicated to setup a recycling timer that calls the save backup command ever X minutes, which could perhaps be paused by replacing the Q with a script that invokes the region tool, and resets or pauses the backup timer for say 15-20 min, or however much could be enough time for how long regions can take at most. ... I know there is an "on begin renderpass" event but I dont think that is for the render region. Let us know if you find a trick! On 02/10/16 6:41, Fabian Schnuer Gohde wrote: I've now used the save reminder for a few days and that works a treat (I have my own incremental setup) Thank you very much everyone. -Fabian On 8 February 2016 at 15:23, Dan Yargiciwrote: Reinhard (mr. rray.de) made a save reminder event script. Rather than actually saving, it just reminds you to save. Combine that with Mirko's suggestion and you have the best solution IMO. Search for SaveRemind on http://rray.de/xsi/ DAN
Re: Render Region and Autosave
There is a command (as well as default ctrl-alt-s hotkey ) to invoke a backup save (in the backup folder). I'm not a scripter, but I'm sure it would be not too complicated to setup a recycling timer that calls the save backup command ever X minutes, which could perhaps be paused by replacing the Q with a script that invokes the region tool, and resets or pauses the backup timer for say 15-20 min, or however much could be enough time for how long regions can take at most. ... I know there is an "on begin renderpass" event but I dont think that is for the render region. Let us know if you find a trick! On 02/10/16 6:41, Fabian Schnuer Gohde wrote: I've now used the save reminder for a few days and that works a treat (I have my own incremental setup) Thank you very much everyone. -Fabian On 8 February 2016 at 15:23, Dan Yargiciwrote: Reinhard (mr. rray.de) made a save reminder event script. Rather than actually saving, it just reminds you to save. Combine that with Mirko's suggestion and you have the best solution IMO. Search for SaveRemind on http://rray.de/xsi/ DAN
Re: Render Region and Autosave
I've now used the save reminder for a few days and that works a treat (I have my own incremental setup) Thank you very much everyone. -Fabian On 8 February 2016 at 15:23, Dan Yargici wrote: > Reinhard (mr. rray.de) made a save reminder event script. Rather than > actually saving, it just reminds you to save. Combine that with Mirko's > suggestion and you have the best solution IMO. > > Search for SaveRemind on http://rray.de/xsi/ > > DAN > >
Re: Render Region and Autosave
Reinhard (mr. rray.de) made a save reminder event script. Rather than actually saving, it just reminds you to save. Combine that with Mirko's suggestion and you have the best solution IMO. Search for SaveRemind on http://rray.de/xsi/ DAN
Re: Render Region and Autosave
In case you missed one I'm using this one for years now can't remember where did I got it anymore but works perfectly alt+s saves the day :) On Mon, Feb 8, 2016 at 3:11 PM, Ognjen Vukovic wrote: > +1 > What Mirko said. > > On Mon, Feb 8, 2016 at 1:30 PM, Mirko Jankovic > wrote: > >> turn off autosave and use manual incremental save instead? >> >> On Mon, Feb 8, 2016 at 1:32 PM, James De Colling < >> james.decoll...@gmail.com> wrote: >> >>> happens with MentalRay too, quite annoying. would love to know of a fix. >>> >>> Cheers, >>> >>> James >>> >>> On Mon, Feb 8, 2016 at 11:28 PM, Fabian Schnuer Gohde >> > wrote: >>> Hi, I thought I'd ask in case anyone has run into this and has a workaround. With heavy scenes I regularly get lock-ups with the render region is open and autosave kicks in. This is with redshift so I'm not sure if the problem is solely there. Are there any hooks for a script or anything that surpress autosave or is there some way to do an entirely custom autosave that checks for regions before triggering? Best regards, Fabian >>> >>> >> >> >> -- >> Mirko Jankovic >> skype: mirko-jankovic >> https://vimeo.com/mirkoj >> >> Need some help with rendering an Redshift project? >> http://www.gpuoven.com/ >> > > -- Mirko Jankovic skype: mirko-jankovic https://vimeo.com/mirkoj Need some help with rendering an Redshift project? http://www.gpuoven.com/ IncrementalSave_v2.5.xsiaddon Description: Binary data
Re: Render Region and Autosave
+1 What Mirko said. On Mon, Feb 8, 2016 at 1:30 PM, Mirko Jankovic wrote: > turn off autosave and use manual incremental save instead? > > On Mon, Feb 8, 2016 at 1:32 PM, James De Colling < > james.decoll...@gmail.com> wrote: > >> happens with MentalRay too, quite annoying. would love to know of a fix. >> >> Cheers, >> >> James >> >> On Mon, Feb 8, 2016 at 11:28 PM, Fabian Schnuer Gohde >> wrote: >> >>> Hi, >>> I thought I'd ask in case anyone has run into this and has a workaround. >>> >>> With heavy scenes I regularly get lock-ups with the render region is >>> open and autosave kicks in. This is with redshift so I'm not sure if the >>> problem is solely there. >>> >>> Are there any hooks for a script or anything that surpress autosave or >>> is there some way to do an entirely custom autosave that checks for regions >>> before triggering? >>> >>> Best regards, >>> Fabian >>> >> >> > > > -- > Mirko Jankovic > skype: mirko-jankovic > https://vimeo.com/mirkoj > > Need some help with rendering an Redshift project? > http://www.gpuoven.com/ >
Re: Render Region and Autosave
turn off autosave and use manual incremental save instead? On Mon, Feb 8, 2016 at 1:32 PM, James De Colling wrote: > happens with MentalRay too, quite annoying. would love to know of a fix. > > Cheers, > > James > > On Mon, Feb 8, 2016 at 11:28 PM, Fabian Schnuer Gohde > wrote: > >> Hi, >> I thought I'd ask in case anyone has run into this and has a workaround. >> >> With heavy scenes I regularly get lock-ups with the render region is open >> and autosave kicks in. This is with redshift so I'm not sure if the problem >> is solely there. >> >> Are there any hooks for a script or anything that surpress autosave or is >> there some way to do an entirely custom autosave that checks for regions >> before triggering? >> >> Best regards, >> Fabian >> > > -- Mirko Jankovic skype: mirko-jankovic https://vimeo.com/mirkoj Need some help with rendering an Redshift project? http://www.gpuoven.com/
Re: Render Region and Autosave
happens with MentalRay too, quite annoying. would love to know of a fix. Cheers, James On Mon, Feb 8, 2016 at 11:28 PM, Fabian Schnuer Gohde wrote: > Hi, > I thought I'd ask in case anyone has run into this and has a workaround. > > With heavy scenes I regularly get lock-ups with the render region is open > and autosave kicks in. This is with redshift so I'm not sure if the problem > is solely there. > > Are there any hooks for a script or anything that surpress autosave or is > there some way to do an entirely custom autosave that checks for regions > before triggering? > > Best regards, > Fabian >
Render Region and Autosave
Hi, I thought I'd ask in case anyone has run into this and has a workaround. With heavy scenes I regularly get lock-ups with the render region is open and autosave kicks in. This is with redshift so I'm not sure if the problem is solely there. Are there any hooks for a script or anything that surpress autosave or is there some way to do an entirely custom autosave that checks for regions before triggering? Best regards, Fabian