MacOSX Script

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

I am using Maya 2010 on MAX OSX and I saw some comments that there might have been a new rewrite of the plugin so that one could find the binary path... I downloaded the latest one I believe... am I doing this correctly....

On the Octane Render BINary Path: /Applications/OctaneRender 1.022 beta2.2/Contents/MacOS/octane
Project path: /Users/peta/Documents/OCTANE_PROJECTS
Project Name: TEST

I get no error in the script menu... but octane does not launch:

The script window says...

/Applications/OctaneRender 1.022 beta2.2/Contents/MacOS/octane -n "/Users/peta/DocumentsOctaneTest_MB.ocs" -m OctaneTest_MB.obj -l "/Users/peta/DocumentsOctaneTest_MB.obj" --cam-pos-x 28 --cam-pos-y 21 --cam-pos-z 28 --cam-target-x 1.776356839e-14 --cam-target-y -1.421085472e-14 --cam-target-z -7.105427358e-15
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

/Applications/octane.app/Contents/MacOS/octane -n "/Users/peta/DocumentsOctaneTest_MB.ocs" -m OctaneTest_MB.obj -l "/Users/peta/DocumentsOctaneTest_MB.obj" --cam-pos-x 28 --cam-pos-y 21 --cam-pos-z 28 --cam-target-x 1.776356839e-14 --cam-target-y -1.421085472e-14 --cam-target-z -7.105427358e-15


Tried the path it said on the forum too and this is the repsonse

Thanks

Put the script into :
/Users/Shared/Autodesk/maya/scripts
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

tried in maya 2011 as well:

/Applications/OctaneRender 1.022 beta2.2.app/Contents/MacOS/octane -n "/Users/peta/Documents/TESTII.ocs" -m TESTII.obj -l "/Users/peta/Documents/TESTII.obj" --cam-pos-x 28 --cam-pos-y 21 --cam-pos-z 28 --cam-target-x 1.776356839e-14 --cam-target-y -1.421085472e-14 --cam-target-z -7.105427358e-15

Same thing... no error just no launch
Thanks
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

Hey,

Hang on, bazuka will shop up later tonight, he's the maya exporter script developer, he'll be able to help you.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

as i remember there is a probl with maya osx and selecting the octane executable, my friend cgbeige found the solution:


ok - just had a chance to try again. The script works only after I enter the path to the application manually because of two problems with the Mac version of Maya 2011 (it's a Qt problem): If you use OS-native dialogs, like I do, you can pick Octane.app but not the binary. If you use the Maya dialogs, it lets you go inside Octane.app but not select the binary. Yes, Maya 2011 is a train wreck.

So, in order for the script to work, I have to manually enter the path every time (u can save the path from script menu). So please add the path automatically to the script:

/Applications/octane.app/Contents/MacOS/octane

That's where the binary is and I don't think anyone's going to move it so I'd even say that having the option is overkill.


try and let me know ;)
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

Thanks for the weekend reply. What dedication.

Still getting this message in the script editor
But no error

It writes the OBJ files out in the correct location but octane is not launching.
I even changed the name of octane beta xxx to just octane to see if that was it... no different.

Plugins can be so tricky when Autodesk changes the version they often break plugins that used o work so well.

Does it make any difference if I try it in 2010 or even 2009... should I try?

Thanks as always


/Applications/octane.app/Contents/MacOS/octane -n "/Users/peta/Documents/OCTANE_PROJECTStest.ocs" -m test.obj -l "/Users/peta/Documents/OCTANE_PROJECTStest.obj" --cam-pos-x 28 --cam-pos-y 21 --cam-pos-z 28 --cam-target-x 1.776356839e-14 --cam-target-y -1.421085472e-14 --cam-target-z -7.105427358e-15 --film-width 512 --film-height 256
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

p3taoctane wrote:Plugins can be so tricky when Autodesk changes the version they often break plugins that used o work so well.
Plugins runing most, when they make to run with a earlyer version, in a newer one.
I wrote mine with the sdk for XSI 6.5 and it runs from 6-2011...
It´s also a philosophy how to write a plugin.

face
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

hm well can u try to find the path to executable octane, maybe copy the path from shortcut from desktop or something, coz if nothing happen when u hit render and u get only the obj then the path for octane is not good, i wish i could help u more but im not into osx...
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
p3taoctane
Licensed Customer
Posts: 1418
Joined: Mon Jan 25, 2010 12:53 am

Not a big deal ... reckon we will figure it out sometime....

I copied the app to / and was able to "open /octane.app" in a shell window:
peter-allens-macbook-pro:/ peta$ open octane.app

and it launched right up so it is executable from a window with a path of /
so one would think that your script could find it if I pointed there...

/octane.app/Contents/MacOS/octane

But I still get...

/octane.app/Contents/MacOS/octane -n "/Users/peta/Documents/OCTANE_PROJECTStest.ocs" -m test.obj -l "/Users/peta/Documents/OCTANE_PROJECTStest.obj" --cam-pos-x 28 --cam-pos-y 21 --cam-pos-z 28 --cam-target-x 1.776356839e-14 --cam-target-y -1.421085472e-14 --cam-target-z -7.105427358e-15 --film-width 512 --film-height 256


so something else is amuck.... I will keep trying and mayeb another user may see something we are both missing.

here is something to ponder if i type Taranaki in there and nothing else.. I still do not get an error message...

Taranaki -n "/Users/peta/Documents/OCTANE_PROJECTStest.ocs" -m test.obj -l "/Users/peta/Documents/OCTANE_PROJECTStest.obj" --cam-pos-x 28 --cam-pos-y 21 --cam-pos-z 28 --cam-target-x 1.776356839e-14 --cam-target-y -1.421085472e-14 --cam-target-z -7.105427358e-15 --film-width 512 --film-height 256

Almost like the part of the script that is supposed to launch the app... is not being called out regardless of where you tell it to go... does that make any sense? Like its trying to find the binary in the path you give it but not launch it??? Good Luck.

Thanks

Peter
Windows 7 Pro_SP 1_64 bit_48 GB Ram_Intel Xeon X5660 2.80 GHZ x2_6 580GTX_1 Quadra 4800
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

ill try to check with my friend cgbeige soon as he shows up ;)
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
Post Reply

Return to “Autodesk Maya”