Render and save to PNG all render targets

Forums: Render and save to PNG all render targets
Forum for OctaneRender Lua scripting examples, discussion and support.

Re: Render and save to PNG all render targets: UPDATED

Postby MB » Thu May 22, 2014 4:48 pm

MB Thu May 22, 2014 4:48 pm
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 447 times
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
User avatar
MB
Licensed Customer
Licensed Customer
 
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.

Re: Render and save to PNG all render targets

Postby smicha » Thu May 22, 2014 5:01 pm

smicha Thu May 22, 2014 5:01 pm
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
User avatar
smicha
Licensed Customer
Licensed Customer
 
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Re: Render and save to PNG all render targets

Postby blobbybarack » Fri May 23, 2014 9:54 am

blobbybarack Fri May 23, 2014 9:54 am
Thanks a lot for the work and sharing.
blobbybarack
Licensed Customer
Licensed Customer
 
Posts: 250
Joined: Sun Feb 03, 2013 9:11 pm
Location: Paris

Re: Render and save to PNG all render targets

Postby kavorka » Fri May 23, 2014 12:34 pm

kavorka Fri May 23, 2014 12:34 pm
Awesome, Thanks!
Intel quad core i5 @ 4.0 ghz | 8 gigs of Ram | Geforce GTX 470 - 1.25 gigs of Ram
kavorka
Licensed Customer
Licensed Customer
 
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Re: Render and save to PNG all render targets

Postby glimpse » Mon May 26, 2014 7:19 am

glimpse Mon May 26, 2014 7:19 am
Thanks, Mark! =)
User avatar
glimpse
Licensed Customer
Licensed Customer
 
Posts: 3715
Joined: Wed Jan 26, 2011 2:17 pm

Re: Render and save to PNG all render targets

Postby thenomad » Mon Jun 02, 2014 6:31 pm

thenomad Mon Jun 02, 2014 6:31 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.
thenomad
Licensed Customer
Licensed Customer
 
Posts: 29
Joined: Tue Sep 10, 2013 5:50 pm

Re: Render and save to PNG all render targets

Postby kavorka » Thu Jun 12, 2014 3:24 pm

kavorka Thu Jun 12, 2014 3:24 pm
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
kavorka
Licensed Customer
Licensed Customer
 
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Re: Render and save to PNG all render targets

Postby FrankPooleFloating » Thu Jul 03, 2014 4:34 pm

FrankPooleFloating Thu Jul 03, 2014 4:34 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
User avatar
FrankPooleFloating
Licensed Customer
Licensed Customer
 
Posts: 1669
Joined: Thu Nov 29, 2012 3:48 pm

Re: Render and save to PNG all render targets

Postby kavorka » Thu Jul 03, 2014 6:02 pm

kavorka Thu Jul 03, 2014 6:02 pm
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
kavorka
Licensed Customer
Licensed Customer
 
Posts: 1351
Joined: Sat Feb 04, 2012 6:40 am

Re: Render and save to PNG all render targets

Postby FrankPooleFloating » Thu Jul 03, 2014 8:34 pm

FrankPooleFloating Thu Jul 03, 2014 8:34 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
User avatar
FrankPooleFloating
Licensed Customer
Licensed Customer
 
Posts: 1669
Joined: Thu Nov 29, 2012 3:48 pm
PreviousNext

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 7 guests

Tue Apr 16, 2024 5:55 pm [ UTC ]