Hi
We have not yet received any feature request for CLO 3D.
Does it support commandline rendering?
I have not found any specifications.
regards,
Holger Schönberger
Please use the rrKnights Tavern
or our support system for new questions.
Hi
> I'm thinking of hacking the process with GUI automation through Python
We control most of the render applications with a custom python script instead of using their limited commandline flags.
(More control and options and required for the KeepSceneOpen feature)
Adding a new render app requires 3 parts:
http://www.royalrender.de/help/Addnewrenderapp.html
1)
Take a look at the files in RR\render_apps\_install_paths\
Dublicate the Blender.cfg and name it CLO.cfg
Edit the file to match the CLO installation path.
If you do not know all OS, then just delete the other OS entries.
To add the app to the client config,
either start rrConfig, tab per client config on the client.
OR open rrControl, right click on a client and send the command config/search for render apps
2)
Folder RR\render_apps\_config\
Dublicate 3D06__Houdini.cfg and name it 3D30__CLO.cfg
Edit the file.
------------------------------------------------------------
Remove the whole section
# KSO settings
Remove everyrhing in section
### Render Settings ####
Remove the line
::include(3D06__Houdini____global.inc)
------------------------------------------------------------
Change
Name= CLO
Change or delete the line
IconRenderer=
(14x14 pixel png in the same folder)
------------------------------------------------------------
Now you have to edit the commandline.
There is only one commandline you need to change, keep all other lines.
CommandLine=
"<Exe>"
"<Exe>"
This line executes the <exe> that you have specified in 1).
"<PD/ <rrLocalRenderScripts>kso_houdini.py" >
It starts a python script as second parameter.
The script location <rrLocalRenderScripts> is a copy of the folder RR\render_apps\scripts\
So you have to place your script into that folder.
<PD/ ….. > means that backslashes are converted to slashes.
Houdini use slashes instead of backslashes for all file paths on Windows.
You should be able to keep it.
-scene "<PD/<Scene>>"
-FrStart <SeqStart>
These are the flags for the python script.
You can use all kinds of variables oft the rrJob.
http://www.royalrender.de/help/Commandlines.html
And you can add custom checkboxes and value boxes for the rrJob Settings.
http://www.royalrender.de/help/CustomRenderFlags.html
3)
There are 6 types of submission:
regards,
Holger Schönberger
Hi
> Do you know if the rrClient under Windows can actually open GUI apps?
3dsmax is still a GUI app if started for batch rendering and runs fine.
> May it be the case that the rrClient/render user must be logged in?
Even the client running as service logs in.
There are 4 potential issues regarding UI apps and user logins:
1)
If the user you set for the service never ever logged in, then it is missing the user registry and perhaps windows files in C:\users\
Some apps require the user registry.
If the client is installed as background service.
2) If the app uses OpenGL for its UI, then this does not work.
If the client is installed as background service.
3) This and then a UI app had a function which was not able to run.
It had to be fixed by the vendor.
If the client is installed as background service.
4) Confirmation boxes.
If they are standard Windows Dialogs/Windows, then the rrClient is able to recognize them and press buttons.
No matter if running in app or service mode.
Afaik dialog boxes are shown at the end of the render log.
See file render_apps\_config\3D03__3dsMAX_s____global.inc as well
Lines with RenderAppWindow_WIN=
First there is a group dialogs that are handled, then a lot of windows/dialogs that RR should not mention in the render log as „unknown„.
> Since the render application in my case is a python script do I need to provied the full 'python.exe autoguirender.py' as the exe path?
I assumed you start the exe with the python script as a commandline flag..
But yes, if you want to execute a python script, then you have to use python.exe.
OR if it is python 2.7, then use rrPythonconsole instead.
CommandLine=
"<rrLocalBin><OsxApp rrPythonconsole>"
"<rrLocalRenderScripts>myscript.py"
-flagExecutable "<Exe>"
-flagScene “<Scene>“
Hi
Good to hear that it is working now.
Do you mean there is no startup script for rrSubmitterconsole in the root of RR?
e.g. like the files win__rrSubmitter.bat or lx__rrSubmitter.sh.
These files are just shortcuts/startup script that enable local caching.
The executables itself are located in RR/bin/<OS>/
You can either direclty run the rrSubmitterconsole from the /bin/.. folder
OR reproduce the commandline used in the startup scripts.
The local caching starts the rrSubmitter way faster the second time you use it:
"%RR_ROOT%\bin\win64\rrStartLocal.exe" "rrSubmitterconsole.exe" <yourflags> <yourflags> <yourflags>
Hi
I am sorry, but so far I do not know why it is slower.
Have you added a python timer to test how much slower it is to execute a bunch of script lines?
The render process is lauched with low process priority, but that should only have an effect if some other processes are running on the machine as well.
regards,
Holger Schönberger
Please use the rrKnights Tavern
or our support system for new questions.
--
If you reply, the message is send to the user group which is sufficient and desired.
("Reply All" might send the message twice to the last author which is not required.
Replying "in private" prevents other users to see the answers and might not be seen by the single receiver if he has email rules in place.
If you want to talk to us in private, please use support@RoyalRender instead)
---
You received this message because you are subscribed to the Google Groups "Royal Render Knights Tavern" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rrKnights+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rrKnights/1c0e1eae-4521-44e5-bbf6-74473d722483n%40googlegroups.com.