Page 1 of 1
feature 2.5.1.8 question
Posted: Wed Aug 03, 2011 5:47 pm
by QuakeMarine1
I cant get a simple scene to render via "Added support for rendering from the command-line."
"... CINEMA 4D 64 Bit.exe" "... test.c4d" -nogui -rendermxs
I get
Maxwell: error @ setPath (Unsupported output image format or invalid bit depth for this format)
Maxwell: error @ writeMXS (Errors detected in scene creation phase. MXS will not be created.)
Maxwell: Failed to write MXS to '.mxs' [reason: SDK call writeMXS failed]
Warning: Unknown arguments: -rendermxs
Re: feature 2.5.1.8 question
Posted: Thu Aug 04, 2011 6:13 am
by JDHill
Please either set an output name in your Scene object, or in the Maxwell page in your Cinema preferences. I'll see if it's possible, in the future, to use the Cinema document name when neither of these is specified.
Re: feature 2.5.1.8 question
Posted: Fri Aug 05, 2011 1:52 pm
by QuakeMarine1
i have specifiy name and path in scene obj but it still bugs
i set path c:\ and filename xx.tif
i render cmd line and it work - afterwards i start same cmd again and render fail with the message below
if
c:\xx.tif
c:\xx.mxs
c:\xx.mxi
existe the renderfail - the soon i remove the files it render fine
another bug
the additional cmdlines are ignored
i set -nowait but during render the cmd is not in maxwell so it not close after render
another bug
output do not include frame numbers
render cmd "-nogui -frame 2 2 -rendermxs" output xx.tif
aswell "-nogui -frame 3 3 -rendermxs"
so files are overwritten
i wonder why maxwell is not list in the normal render engines (r12) like vray or cineman ...
much of the limits could be removed imo
Re: feature 2.5.1.8 question
Posted: Fri Aug 05, 2011 4:07 pm
by JDHill
The overwrite behavior of the plugin is also set in preferences. The other things you mention are simply not supported; I'll see what I can do.
Re: feature 2.5.1.8 question
Posted: Mon Aug 08, 2011 4:55 pm
by QuakeMarine1
we have a high skilled cinema programmer doing all of your needs
he written several plugins and import export scripts
he solved each problem i ever had with c4d (and i have super exotic needs)
furhtermore he develope mental ray for c4d
he can help you to get c4d maxwell batch working
tobi at at2-software dot com
Re: feature 2.5.1.8 question
Posted: Tue Aug 09, 2011 9:43 am
by JDHill
I am currently putting more functionality in which will allow you to override the name & folder parameters specified in the Scene Object, set animation frame range and step, as well as pass any additional Maxwell Render command-line params via the Cinema command-line.
Re: feature 2.5.1.8 question
Posted: Thu Aug 25, 2011 12:50 am
by JDHill
As noted in the release notes, I have added more command-line functionality in 2.5.1.9. From the manual:
It is also possible to render in Maxwell when starting Cinema from the command-line. In this case, it is always the first Maxwell Scene Object found in the Cinema document which will be rendered; if none is found, an error will be reported. All that is necessary is to add the -rendermxs flag to the command-line:
- > "[path to cinema 4d.exe]" "c:\doc.c4d" -nogui -rendermxs
When this command-line is executed, C4D will be started in 'nogui' mode, and the first Maxwell Scene Object found in doc.c4d will be rendered in Maxwell Render. The parameters contained in the Scene Object will be used; for example, if the Scene Object has Animation enabled, an animation will be exported and rendered.
Additionally, it is possible to override various parameters specified in the Scene Object. This is done by putting them directly on the Cinema command-line. When doing so, parameter values should never be quoted, and spaces should be encoded using +20. Several plugin-specific commands are available:
- -outputdir: Overrides Scene Object > Output > Folder. Usage: -outputdir:c:\dir+20name+20with+20spaces.
- -outputname: Overrides Scene Object > Output > Name. Usage: -outputname:output+20name+20with+20spaces.
- -outputformat: Overrides Scene Object > Output > Name > Extension/Depth. Usage: -outputformat:tif32.
- -frames: Enables animation, using the specified frame range (separated by a dash). Usage: -frames:2-24.
- -framestep: If animation is enabled, this parameter overrides the animation frame step value. Usage: -framestep:3.
- -cmdline: Modifies the Scene Object command-line. Usage: -cmdline:append (the default) or -cmdline:override.
Regarding the -cmdline option, the values appended to (or used to override) the Scene Object command-line parameters (i.e. Scene Object > Engine > Command Line), are communicated by placing them directly on the C4D command-line. Note that since C4D also uses the -nogui command, you must use Maxwell Render's -n alias for this parameter instead. Here is an example command-line, which renders a series of frames from a given C4D file:
- > "[path to cinema 4d.exe]" "c:\doc.c4d" -nogui -rendermxs -outputdir:c:\new+20output+20dir -outputname:new+20output+20name -outputformat:png16 -frames:1-21 -framestep:2 -cmdline:override -channel:alpha,on,32,tif -channel:material,on,16,png -th:4 -sl:5.65 -nomxi -n -nowait