Page 5 of 37

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 2:56 am
by cgbeige
bazuka wrote:i forgot about u my friend,

im making a custom one for u ;) for testing...

let me know if that works, so i can implement into script ;)
thanks but I get an error in Maya:

// Error: "$start" is an undeclared variable.

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 3:24 am
by vanlicht
@face, thanks for providing suggestions.
@bazuka,

Good new, I tested on Maya 2010 and 2011, both works to render out sequence.

Interesting to find out, which I believe is more of an Octane issue itselt,
is that when both object and camera are traveling, the motion blurr is kind of crazy,
as you can see in the quicktime I attached.

In terms of realistic motion blurr, for background object (church wall), because of the distance,
the motion blurr effect is reduced, which is pretty accurate I would say. Though, foregoround object wise,
I would assume that the foreground object (boy), while traveling about the same speed as the camera, should have minimal
motion blur as well. Motion blurr with obj frame blendding approach seems not doing the proper job in this case.
I guess the obj instace in beta3 would help solve the problem?

Maybe this I should and a separate post in the general forum, not in the Maya plugin thread.

But hey Bezuka, the Maya script seems to start working. It's so very exciting. Thanks for the development,
and looking forward to see it grow.

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 3:51 am
by SheepFactory
What am I doing wrong here? I get this error right after Octane launches:
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

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 7:17 am
by bazuka
@vanlicht

great to hear nice news, i hope ill do my best to fix whats up to me ;)

@SheepFactory

can u paste from script editor cmd line that is exported when u hit render?

@cgbeige

can u try this one?

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 8:14 am
by SheepFactory
Sure:
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""

I am guessing the project name ocs is not getting created for whatever reason.

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 8:19 am
by face
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""

The reds at the end of the line should be the error.
Remove them and execute that line, if you can that.

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 8:34 am
by bazuka
@SheepFactory

i see u did some shots on Invictus :)

i was working on few shoots too, some camera tracking for massive...

I:\Program Files\Refractive Software\Octane Render 1.021 x64\octane.exe -n "I:\Octane_project\test3.ocs" -m test3.obj -l "I:\Octane_project\test3.obj" --cam-pos-x -3.339685977 --cam-pos-y 4.925996391 --cam-pos-z 11.93894354 --cam-target-x -0.2689053345 --cam-target-y 1.787753889 --cam-target-z 0.6365929932

this is my cmd line, i saw u have some (extra) quotes at the end of the line???

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 8:53 am
by SheepFactory
Hey Bazuka. Were you at CIS too?

No luck. I get a syntax error when I execute that line with or without the quotes. I dont know why it is adding quotes to it. :(

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 8:55 am
by bazuka
noo i didnt ;)

can u tell me what ver of maya u use? so i could check??

Re: Beta 2.2 RC1: Maya plugin testing thread

Posted: Sun May 16, 2010 8:56 am
by SheepFactory
Maya 2011. The first release, not the latest hotfix one.