Page 3 of 4
Re: Render Queue
Posted: Thu Jun 30, 2016 12:06 pm
by face_off
Is there a documentation available on the python api used to control the octane plugin from Poser?
There is no complete documentation on this (since you are the first to ask how to do this). However, you can access the plugin data via
http://poserphysics.blogspot.com.au/201 ... -data.html. There is also an Octane plugin python wrapper - which is loosely documented at
https://docs.otoy.com/manuals/products/ ... interface/. The Poser plugin python wrapper has some slightly different method names to the Rhino wrapper, but it gives you an idea what is possible. The Rhino wrapper python code is attached - which will give you an idea of what is possible - however the function name calls and dll name is slightly different, so you will need to quiz the Poser plugin OctaneWrapper.pyc import for the specifics. Obviously you'll need some good python skills to achieve all this.
Paul
Re: Render Queue
Posted: Sat Sep 10, 2016 12:56 am
by spartan00j
any news on this.
Re: Render Queue
Posted: Thu Dec 01, 2016 5:37 pm
by spartan00j
Andrea1972 wrote:You can have a good proxy of a render queue with a command prompt script (at least in Windows). If you write this in a command window :
"D:\OctaneRender 2.00\Octane.exe" -q -t "RenderTargetX" -s 4000 --output-png16 "D:\Scene1.png" -e "D:\Scene1.ocs"
Octane will open up (minimized), load the scene "D:\Scene1.ocs", use the "RenderTargetX" node (which must of course exist in the scene file), render the scene until it reaches 4000 samples, then save it to "D:\Scene1.png" and quit.
If you put several of these commands in a .bat file and launch it, the lines will be executed one by one (Windows will wait the end of each render before launching the next) :
"D:\OctaneRender 2.00\Octane.exe" -q -t "RenderTargetX" -s 4000 --output-png16 "D:\Scene1.png" -e "D:\Scene1.ocs"
"D:\OctaneRender 2.00\Octane.exe" -q -t "RenderTargetX" -s 4000 --output-png16 "D:\Scene2.png" -e "D:\Scene2.ocs"
"D:\OctaneRender 2.00\Octane.exe" -q -t "RenderTargetX" -s 4000 --output-png16 "D:\Scene3.png" -e "D:\Scene3.ocs"
It is not very sophisticated, but it works decently well for me.
Okay I know this is old but will this command work you poser and octane plugin also will it work with animations.
Re: Render Queue
Posted: Thu Dec 01, 2016 10:56 pm
by face_off
Okay I know this is old but will this command work you poser and octane plugin also will it work with animations.
Yes - export the animation to OCS (via the Animation tab of the Poser plugin). You can then load that OCS into Octane Standalone and render the animation sequence. Unsure if you can do this from the command line - you will need to post this question in the general Octane forum.
Paul
Re: Render Queue
Posted: Fri Jun 30, 2017 12:09 pm
by GGBB
I finally found time to code the render queue. It works decently for me but it is certainly still buggy at that stage.
Please do not hesitate to give me your feedback.
Re: Render Queue
Posted: Fri Jun 30, 2017 12:16 pm
by spartan00j
GGBB wrote:I finally found time to code the render queue. It works decently for me but it is certainly still buggy at that stage.
Please do not hesitate to give me your feedback.
Dude!!!!!!!!!!!!!!!!!!!!
Thank you so much!!
I will give you feedback.
Re: Render Queue
Posted: Fri Jun 30, 2017 12:21 pm
by GGBB
Just uploaded a new version
Re: Render Queue
Posted: Fri Jun 30, 2017 1:42 pm
by spartan00j
GGBB wrote:Just uploaded a new version
it works but it only rendered out one frame of each scene I added.
Re: Render Queue
Posted: Mon Jul 03, 2017 9:27 am
by GGBB
The script is not meant to render animation. It should not be difficult to add this functionality. I'll see what I can do.
Re: Render Queue
Posted: Mon Jul 03, 2017 10:08 am
by spartan00j
GGBB wrote:The script is not meant to render animation. It should not be difficult to add this functionality. I'll see what I can do.
Thank you.
I really appreciate you doing this.
Also, just a thought. Don't forget if this script going to export animation, the naming convention of each frame is important to create a sequence of images.
As you know the script right now exports everything into one folder but if it's going to export animations would be better to export each scene into its own folder.
Thanks again.