thanks but I get an error in Maya:bazuka wrote:i forgot about u my friend,
im making a custom one for ufor testing...
let me know if that works, so i can implement into script
// Error: "$start" is an undeclared variable.
Moderator: JimStar
There was an error parsing the command-line arguments:
Couldn't find match for argument Argument: C:\Users\Ali\Desktop\test\test.ocs
USAGE:
dummy program name [-r <filename>] [-m <string>] [--imager-exposure
<float>] [--daylight-sundir-z <float>]
[--daylight-sundir-y <float>] [--daylight-sundir-x
<float>] [--cam-aperture <float>] [--cam-focaldepth
<float>] [--cam-fov <float>] [--cam-motion-up-z
<float>] [--cam-motion-up-y <float>]
[--cam-motion-up-x <float>] [--cam-motion-target-z
<float>] [--cam-motion-target-y <float>]
[--cam-motion-target-x <float>] [--cam-motion-pos-z
<float>] [--cam-motion-pos-y <float>]
[--cam-motion-pos-x <float>] [--cam-up-z <float>]
[--cam-up-y <float>] [--cam-up-x <float>]
[--cam-target-z <float>] [--cam-target-y <float>]
[--cam-target-x <float>] [--cam-pos-z <float>]
[--cam-pos-y <float>] [--cam-pos-x <float>] [-g
<int>] [-s <int>] [-o <filename>] [--film-height
<int>] [--film-width <int>] [-e] [--] [--version]
[-h] <filename>
Where:
-r <filename>, --relink-meshnode <filename>
Name of OBJ mesh file to relink rendered meshnoded with
-m <string>, --mesh-node <string>
Name of meshnode to render
--imager-exposure <float>
Imager Exposure Amount
--daylight-sundir-z <float>
Daylight Sun Direction Vector Z Component
--daylight-sundir-y <float>
Daylight Sun Direction Vector Y Component
--daylight-sundir-x <float>
Daylight Sun Direction Vector X Component
--cam-aperture <float>
Camera Aperture Radius
--cam-focaldepth <float>
Camera Focal Depth
--cam-fov <float>
Camera FOV (degrees)
--cam-motion-up-z <float>
Camera Up Motion 2nd Vector Z Component
--cam-motion-up-y <float>
Camera Up Motion 2nd Vector Y Component
--cam-motion-up-x <float>
Camera Up Motion 2nd Vector X Component
--cam-motion-target-z <float>
Camera Target Motion 2nd Position Z Component
--cam-motion-target-y <float>
Camera Target Motion 2nd Position Y Component
--cam-motion-target-x <float>
Camera Target Motion 2nd Position X Component
--cam-motion-pos-z <float>
Camera Motion 2nd Position Z Component
--cam-motion-pos-y <float>
Camera Motion 2nd Position Y Component
--cam-motion-pos-x <float>
Camera Motion 2nd Position X Component
--cam-up-z <float>
Camera Up Vector Z Component
--cam-up-y <float>
Camera Up Vector Y Component
--cam-up-x <float>
Camera Up Vector X Component
--cam-target-z <float>
Camera Target Position Z Component
--cam-target-y <float>
Camera Target Position Y Component
--cam-target-x <float>
Camera Target Position X Component
--cam-pos-z <float>
Camera Position Z Component
--cam-pos-y <float>
Camera Position Y Component
--cam-pos-x <float>
Camera Position X Component
-g <int>, --gpu <int>
GPU device to use for rendering (0 = first)
-s <int>, --samples <int>
Maximum number of samples per pixel (maxsamples)
-o <filename>, --output-png <filename>
Output PNG imagefile when maxsamples is reached
--film-height <int>
Film height
--film-width <int>
Film width
-e, --exit
Close the application when rendering is done
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
<filename>
.OCS Project scene file
Octane Render
C:\Program Files\Refractive Software\Octane Render 1.021 x64\octane.exe -n "C:\Users\Ali\Desktop\test\chair.ocs" -m chair.obj -l "C:\Users\Ali\Desktop\test\chair.obj" --cam-pos-x 12.77541772 --cam-pos-y 1.089716331 --cam-pos-z 26.77522885 --cam-target-x 0.2464379436 --cam-target-y 0.02013526378 --cam-target-z -4.869361866""