Script to render imported animations

Forum for OctaneRender Lua scripting examples, discussion and support.
User avatar
roeland
OctaneRender Team
Posts: 1822
Joined: Wed Mar 09, 2011 10:09 pm

I finished the script, so all the sliders and buttons work, and it also creates a copy of the node graph as explained in stratified's post: Turntable animations in Lua (part 2).

Download: Render animation.lua

--
Roeland
Tugpsx
Licensed Customer
Posts: 1150
Joined: Thu Feb 04, 2010 8:04 pm
Location: Chicago, IL
Contact:

Thanks guys. These will come in handy for all and will help to open a new world to octane.
BTW does anyone have a working example of the tooltips.
We should also establish ground rules for modification of scripts and proper credit in comment section if the script is based on another's work.

I know you guys are the forerunner on this so it is more to preserve or establish an organized method going forward. Tell me to shut-up if i'm making too much out of this.
Since you are in the mode for coding, how about adding an option to choose the render target and adding an exit/close button since the cancel is actually a process cancel not a script cancel
Win 11 64GB | NVIDIA RTX3060 12GB
Tugpsx
Licensed Customer
Posts: 1150
Joined: Thu Feb 04, 2010 8:04 pm
Location: Chicago, IL
Contact:

Can we add an option to change the color on the progress bar, this will help when glancing over at screen from afar :geek:
Win 11 64GB | NVIDIA RTX3060 12GB
Tugpsx
Licensed Customer
Posts: 1150
Joined: Thu Feb 04, 2010 8:04 pm
Location: Chicago, IL
Contact:

Again great job on the script. May I suggest a text note above the path box stating " Leave BLANK for Preview Rendering" And since we are now able to add tool tips as shown in Grimm's example you could add tooltips for the input boxes as well as the buttons. (Didn't want to edit your script 8-) )

Code: Select all

renderButton = ui.createButton("render", "Render", 80, 20, "Start the animation render")
stopButton = ui.createButton("stop", "Stop Render", 80, 20, "Stop the render")
exitButton = ui.createButton("exit", "Exit Script", 80, 20, "Exit the script")
Win 11 64GB | NVIDIA RTX3060 12GB
gah5118
Licensed Customer
Posts: 358
Joined: Thu Jun 02, 2011 4:25 pm

would it be possible to add a function to this script to change hdri environments per frame? maybe pulling from sequence numbered hdri's in a folder?
Windows 8.1 | i7 950 | GTX 780ti | 24gb ddr3
User avatar
stratified
OctaneRender Team
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

Sure, if you change the texture input of the texture environment node each frame it will work nicely.

cheers,
Thomas
User avatar
stratified
OctaneRender Team
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

Tugpsx wrote:Thanks guys. These will come in handy for all and will help to open a new world to octane.
BTW does anyone have a working example of the tooltips.
We should also establish ground rules for modification of scripts and proper credit in comment section if the script is based on another's work.

I know you guys are the forerunner on this so it is more to preserve or establish an organized method going forward. Tell me to shut-up if i'm making too much out of this.
Since you are in the mode for coding, how about adding an option to choose the render target and adding an exit/close button since the cancel is actually a process cancel not a script cancel
We'll add a standard comment header for scripts in one of the next releases. The idea is to identify some useful info like the author, version of the script, version of Octane it works with, ... .

cheers,
Thomas
Slayerma
Licensed Customer
Posts: 8
Joined: Tue Apr 10, 2012 9:53 am
Location: Toulouse FRANCE
Contact:

Big thanks for the script and this release, that's work fine !! Try to render a large Archi scene and wait the result.
Win 7 x64 | i7 2600K 3.7GHz | 16go DDR3 |GIGABYTE Titan | OCtane 2.06
User avatar
stratified
OctaneRender Team
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

This script shall be packed together with the next release candidate. So if there are suggestions or bugs please notify us because we plan on maintaining this script ourselves.

cheers,
Thomas
User avatar
emihich
Licensed Customer
Posts: 189
Joined: Thu Sep 13, 2012 9:42 pm

Thank you.
I love Octane standalone, the interface is a joy to use and renders are fast and pristine.
Congratulations on the overall robustness of this pre-release ,and the amazing Alembic capabilities.
So good that the slider bug crash was solved from 2.13 .
I still don't know How to output render an alembic animation,
I guess I'll have to dig into the Lua script capabilities,
Hope is not complicated . :)
Post Reply

Return to “Lua Scripting”