Page 1 of 2
MacOSX Script
Posted: Sat May 29, 2010 4:28 pm
by p3taoctane
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
Re: MacOSX Script
Posted: Sat May 29, 2010 4:42 pm
by p3taoctane
/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
Re: MacOSX Script
Posted: Sat May 29, 2010 4:55 pm
by p3taoctane
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
Re: MacOSX Script
Posted: Sat May 29, 2010 5:42 pm
by radiance
Hey,
Hang on, bazuka will shop up later tonight, he's the maya exporter script developer, he'll be able to help you.
Radiance
Re: MacOSX Script
Posted: Sat May 29, 2010 7:02 pm
by bazuka
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

Re: MacOSX Script
Posted: Sat May 29, 2010 8:46 pm
by p3taoctane
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
Re: MacOSX Script
Posted: Sat May 29, 2010 8:56 pm
by face
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
Re: MacOSX Script
Posted: Sat May 29, 2010 8:59 pm
by bazuka
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...
Re: MacOSX Script
Posted: Sat May 29, 2010 9:34 pm
by p3taoctane
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
Re: MacOSX Script
Posted: Sat May 29, 2010 10:23 pm
by bazuka
ill try to check with my friend cgbeige soon as he shows up
