Page 1 of 1

Current blender 2.4 export scripts works fine on Mac OSX

PostPosted: Fri Jul 16, 2010 4:53 pm
by radiance
Hi all,

Since people here say the script does'nt work on OSX, i tried it today and it works perfectly.
I did a full test, on OSX 10.6.4, including rendering with a sun direction, materials and even rendered an animation, i used the script by enrico posted here in the first post of the first thread, with no modifications.

I'll explain how to set it up on OSX:

* install blender 2.49 from the blender site (the one linked against python 2.6 for Mac OS X, on top)
* install python 2.5.1 package from the python site here: http://www.python.org/download/releases/2.5.1/
direct link: http://www.python.org/ftp/python/2.5.1/ ... macosx.dmg
* start blender and open a text window, and open the py script. (the current one from the first post in the first thread in this forum.)
* press Alt-P to start it (alternatively you can also install the script in the blender scripts directory so it will appear in the blender scripts menu)

Now you just configure it like on windows and linux, with one small difference in the way you point to the octane render binary:

* Configure the path to the mac Octane Binary. One small difference here is that you must point to the binary inside the app, so for a standard 2.2b installation type in:
/Applications/OctaneRender 1.022b beta2.2b.app/Contents/MacOS/octane (you can use the browse button to find it too)
* Configure your project path: for example: /Users/yourself/myproject (this directory must exist, and you can use the browse button to find it)
* enter your project name.

The rest all works just like in windows/linux.
One issue is that octane actually starts up behind the blender window which can be a bit annoying, and i don't really know how we can fix that. i wonder if this happens on linux too ? can anyone confirm?

See screenshots.

blendermac1.jpg


blendermac2.jpg



Good luck,
Radiance

Re: Current blender 2.4 export scripts works fine on Mac OSX

PostPosted: Sat Jul 17, 2010 12:17 am
by MarkS
Thanks very much for the detailed instruction. I have managed to run the script after deleting all of the Blender dot files in my home directory. I re-installed Octane and Blender from scratch.
The script works perfectly now. I have a problem with the part where I need to add the Mac binary.
The install folder/directory does not have a path as the sample directs. (/Applications/OctaneRender 1.022b beta2.2b.app/Contents/MacOS/octane)
I created something similar without the .app as that isn't a directory path?
I created /Applications/OctaneRender 1.022b beta2.2b/Contents/MacOS/octane, but it's an empty command. Is there supposed to be a directory as such with some binary file? When I hit "Render" the file gets exported but Octane does not launch.
Has something run amok?

Thanks,
MarkS

Re: Current blender 2.4 export scripts works fine on Mac OSX

PostPosted: Sat Jul 17, 2010 4:11 pm
by radiance
Hi,

On mac, an application is actually a directory (but it does'nt look that way from the finder).
In this directory there is a Contents/MacOS directory with the actuall executable in it. (which the script needs).

So from a unix point of view, you need to navigate into your octane app and then into Contents/MacOS/ and select 'octane' which is the executable.

So if you install the package for octane render 1.22b, the octane executable for the script is stored in:

/Applications/OctaneRender 1.022b beta2.2b.app/Contents/MacOS

so the full pathname of the octane executable to enter in the binary path of the script is:

/Applications/OctaneRender 1.022b beta2.2b.app/Contents/MacOS/octane


Radiance

Re: Current blender 2.4 export scripts works fine on Mac OSX

PostPosted: Sat Jul 17, 2010 4:58 pm
by MarkS
Ah, Okay. I copied and pasted the path and all is working!

Thanks Very Much!

Re: Current blender 2.4 export scripts works fine on Mac OSX

PostPosted: Sat Jul 17, 2010 6:02 pm
by enricocerica
Hey, great news.
I update the main thread to point to this post for Mac configuration.

Edit:I saw that the thread is already updated ;)

Thanks Radiance.

Re: Current blender 2.4 export scripts works fine on Mac OSX

PostPosted: Sat Jul 17, 2010 6:10 pm
by radiance
enricocerica wrote:Hey, great news.
I update the main thread to point to this post for Mac configuration.

Edit:I saw that the thread is already updated ;)

Thanks Radiance.


could you add these informations to an installation document that comes with the exporter ?
(and also covers installation on the other os'es ?)

Radiance