Page 4 of 5
Re: animation / batch scripting support syntax for tinkerers
Posted: Fri Apr 23, 2010 10:34 pm
by radiance
understand wrote:augh i am confuse. not sure how to make windows batch render seperate .ocs files. is there a flag for like, after finish rendering X samples, then open new ocs and render that one into a different png file and etc?
yes, just look at the end of the PDF manual.
Radiance
Re: animation / batch scripting support syntax for tinkerers
Posted: Sat Apr 24, 2010 9:50 am
by understand
great thanks for being completely unhelpful
Re: animation / batch scripting support syntax for tinkerers
Posted: Sat Apr 24, 2010 9:59 am
by [gk]
dude?
You wrote 3 posts in the start *from the scripting throne* saying you knew how to make bat files. That doesnt fit very well with your last pritty desperate statement.
Do not blame Radiance or anyone for you having problems.
And by the way, I do not reccomend you to access the ocs files at all, use the flags, they do everything you will need. its a lot easier.
So, ask a specific problem with a specific issue, then its easier o help you. + your last problem can be resolved refering to your manual + learn how to do loops in the bat.
take a look at my loop here..
@echo off
for %%f in (*.obj) do (
start "" /wait "C:\Program Files\Refractive Software\Octane Render 1.02 x64\octane.exe" -e -m %1 -r c:\test\%%f -s 400 -o c:\test\test_%%~nf.png c:\test\master.ocs
)
pause
should give you a starting point to go from.
Re: animation / batch scripting support syntax for tinkerers
Posted: Sat Apr 24, 2010 2:32 pm
by understand
thanks for the reply but I need to batch render .ocs files and not sure how to create a bat file to restart the rendering command after octane exits.
Re: animation / batch scripting support syntax for tinkerers
Posted: Sun Apr 25, 2010 12:03 am
by [gk]
Pedo and I are working on a 3dsmax script with UI
here is a first layout.
if you think of anything thats missing,do tell.

Re: animation / batch scripting support syntax for tinkerers
Posted: Sun Apr 25, 2010 8:33 am
by BlessOd
[gk] wrote:Pedo and I are working on a 3dsmax script with UI
here is a first layout.
if you think of anything thats missing,do tell.

Excellent work)
Too bad I do not know MaxScript very well, would help you if needed)
I wrote a small script for exporting animations if you want I can send you.
When planning to finish the script?
Re: animation / batch scripting support syntax for tinkerers
Posted: Sun Apr 25, 2010 10:32 am
by [gk]
The code for exporting is already done and it was the one i used for the SL500 animation.
So on that account,the max script is covered.
No date set for final script, but me and pedro will work on it and put up the first version asap.
Then get some feedback.
If anyone,i know that one guy were doing some material scripting, is doing anything we can try implement it if it makes sense.
thanks
Re: animation / batch scripting support syntax for tinkerers
Posted: Sun Apr 25, 2010 11:27 am
by BlessOd
I made a script for the materials, but not finished, because a standard OBJ exporter does not support script material.
when you export all the items on are the same material, but do not know how to get around.
You can write your own exporter, but it's hard for me and it will be slow.
sorry google translation)))
Re: animation / batch scripting support syntax for tinkerers
Posted: Sun Apr 25, 2010 9:01 pm
by pedrofelipe
Hey my name is PedRo there's a "R" on it!

Re: animation / batch scripting support syntax for tinkerers
Posted: Sun Apr 25, 2010 9:02 pm
by pedrofelipe
BlessOd wrote:I made a script for the materials, but not finished, because a standard OBJ exporter does not support script material.
when you export all the items on are the same material, but do not know how to get around.
You can write your own exporter, but it's hard for me and it will be slow.
sorry google translation)))
Material? humm very interesting. I want to create a material for octane too... maybe we can develop it togueder! do u have skype? if you do add me pfpasturczak
