Render and save to PNG all render targets

Forum for OctaneRender Lua scripting examples, discussion and support.
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

Here is a revised script:

It now lets the user specify a maximum samples value that overides those on each render target's kernel.
Additionally the user can specify a maximum time for the duration of the rendering process, whichever of these two conditions is met first determines the start of the next render target.

best

Mark.
Attachments
Batch Output Render Targets.lua
(23.29 KiB) Downloaded 478 times
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Thank you!
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
blobbybarack
Licensed Customer
Posts: 250
Joined: Sun Feb 03, 2013 9:11 pm
Location: Paris
Contact:

Thanks a lot for the work and sharing.
kavorka
Licensed Customer
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Awesome, Thanks!
Intel quad core i5 @ 4.0 ghz | 8 gigs of Ram | Geforce GTX 470 - 1.25 gigs of Ram
User avatar
glimpse
Licensed Customer
Posts: 3740
Joined: Wed Jan 26, 2011 2:17 pm
Contact:

Thanks, Mark! =)
thenomad
Licensed Customer
Posts: 29
Joined: Tue Sep 10, 2013 5:50 pm

Fantastic script!

Quick question - is there any way to use this to handle animation? If there was some way to set a time range and FPS for each render target, that would be phenomenal.
kavorka
Licensed Customer
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

So, I tried to copy and past a folder location into the box by output to make it easier to choose the path (since it is currently difficult since it doesn't use the default windows folder browser). I thought it was working, but it didnt save my images. I guess that doesnt work unless to actually choose the path by clicking "output folder". Is there a way to make choosing the path easier? Also, any chance of getting a scroll for the render targets if they get too long?
Intel quad core i5 @ 4.0 ghz | 8 gigs of Ram | Geforce GTX 470 - 1.25 gigs of Ram
User avatar
FrankPooleFloating
Licensed Customer
Posts: 1669
Joined: Thu Nov 29, 2012 3:48 pm

local version = "v1.0 - for OctaneRender 1.5"

:? So this guy isn't updated yet for 2.0?.... Or does it work fine in 2.0?
Win10Pro || GA-X99-SOC-Champion || i7 5820k w/ H60 || 32GB DDR4 || 3x EVGA RTX 2070 Super Hybrid || EVGA Supernova G2 1300W || Tt Core X9 || LightWave Plug (v4 for old gigs) || Blender E-Cycles
kavorka
Licensed Customer
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Works fine for me in 2.0
Intel quad core i5 @ 4.0 ghz | 8 gigs of Ram | Geforce GTX 470 - 1.25 gigs of Ram
User avatar
FrankPooleFloating
Licensed Customer
Posts: 1669
Joined: Thu Nov 29, 2012 3:48 pm

Sweet!.. Thanks bro! Even though I am a programmer, I have not played with Lua at all yet. D'oh!
Win10Pro || GA-X99-SOC-Champion || i7 5820k w/ H60 || 32GB DDR4 || 3x EVGA RTX 2070 Super Hybrid || EVGA Supernova G2 1300W || Tt Core X9 || LightWave Plug (v4 for old gigs) || Blender E-Cycles
Post Reply

Return to “Lua Scripting”