Beta 2.2 RC1: Maya exporter plugin (unofficial)

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
cgbeige
Licensed Customer
Posts: 127
Joined: Sun Apr 04, 2010 5:30 pm

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.
vanlicht
Licensed Customer
Posts: 139
Joined: Fri Feb 26, 2010 8:19 am
Location: Los Angeles

@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.
Attachments
HTAS_sc23_ocr_test_20100515_v001.mov
(170.43 KiB) Downloaded 4731 times
Windows 7 64bit | Maya 2010 64 bit (main) | Maya 2011 | Intel i7-920 | Nvidia Quadro FX1800 | Nvidia GTX480
SheepFactory
Licensed Customer
Posts: 66
Joined: Sat May 15, 2010 7:50 am

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
http://www.alimation.ca

Win 7 64 bit
Gtx 275
i7 920
6gb ram

Driver version: 197.13
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

@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?
Attachments
maya2octane_linux.zip
(5.92 KiB) Downloaded 259 times
Last edited by bazuka on Sun May 16, 2010 8:16 am, edited 1 time in total.
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
SheepFactory
Licensed Customer
Posts: 66
Joined: Sat May 15, 2010 7:50 am

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.
http://www.alimation.ca

Win 7 64 bit
Gtx 275
i7 920
6gb ram

Driver version: 197.13
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

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.
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

@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???
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
SheepFactory
Licensed Customer
Posts: 66
Joined: Sat May 15, 2010 7:50 am

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. :(
http://www.alimation.ca

Win 7 64 bit
Gtx 275
i7 920
6gb ram

Driver version: 197.13
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

noo i didnt ;)

can u tell me what ver of maya u use? so i could check??
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
SheepFactory
Licensed Customer
Posts: 66
Joined: Sat May 15, 2010 7:50 am

Maya 2011. The first release, not the latest hotfix one.
http://www.alimation.ca

Win 7 64 bit
Gtx 275
i7 920
6gb ram

Driver version: 197.13
Post Reply

Return to “Autodesk Maya”