Page 1 of 21

Beta 2.2 RC1: Blender 2.49 Export Script testing thread

Posted: Thu May 13, 2010 6:08 pm
by radiance
Hi,

Here is the blender 2.49 exporter python script for beta 2.2 RC1, for testing:
octane_exporter_blender2x_20101109.zip
(18.36 KiB) Downloaded 1048 times
Limited to Blender 2.49 (2.5 version will be available later)
For Windows, Mac OS X and Linux

To install and use on Mac OS X, see this post: http://www.refractivesoftware.com/forum ... =32&t=2772

Last changes since first version :

09/11/2010:
Disable Triangulate and HQ Normals by default to increase the performances during export process
Material assignement for curves were broken (probably after text material assignement fix). Curve material assignement is now fixed too
Unit factor also applied to camera and sun coordinates
Material textures exportation limited to 64 for 32bits images and 32 for 8bits images, once those limits are reached, no more texture is defined in the next materials. See console to check which textures are not set in the material list
Lens aperture was set to lens fov when selecting the camera which was not correct, lens aperture is not changed anymore when selecting the camera
-r parameter momentely removes as a workaround for the reset materials problem

08/09/2010:
Materials were exported several times if they were used in a multi materials objects. They are now exported once and are shared by all the objects. This release reduces the amount of exported materials but also has an impact on your previous scenes as the materials have another name and some of the materials definied in the scene will not exist anymore, so you'll probably have to redefine most of them.

25/07/2010:
IPO curves for animation of Lens Aperture and Focal Depth
Usage:
If an IPO curve is defined for Apert or FDist values on Camera IPO Type and for the selected camera, the IPO can be selected in the dropbox beside the value sliders.
The Lens Aperture and Focal Depth values are overrided by the IPO curve value for each animation frame. As in Blender the Aperture value cannot exceed 2.0, be sure to not set it higher, the curve value will be multiplied by 100 during the exportation.

11/07/2010:
Text objects had no material assigned, it is now fixed
Unit conversion is done only if different than meter
The mapto values were exclusive so you couldn't use a same texture entry for COL and BUMP, this is now fixed

27/05/2010:
You can now use spaces in the binary path, no more check ;)
Sample value is not passed anymore to Octane in single frame rendering
More checks on project and image output paths

22/05/2010 :
Script moved to Render menu instead of Export menu
The fixing of project name with spaces (my project -> my_poject) was broken, it is fixed again
When used in Linux environment Octane binary path as well as file paths are quoted ("somePath/fileName")

18/05/2010 :
Should work under Linux environment

16/05/2010 :
Toggle button to replace existing project (ocs file).

Screen Shot:
blender2octane.jpg
Please keep all discussion regarding this script in this thread.

Thanks,
Radiance

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 6:41 pm
by enricocerica
Hi Blender heads, the script is working in windows environment for now, a version working with Linux will be available later on.

Edit:Also the script is for Blender 2.49

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 7:27 pm
by john
Thanks! This is great!

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 7:32 pm
by havensole
Great. I will test it out later tonight when I get back to my rig.

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 8:55 pm
by john
The exporter works great when used to create a new .ocs file. When I try to use an existing .ocs setup file, I get an automation error saying that my mesh node is unusable.

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 9:00 pm
by James
This is absolutly wonderful!

Making a quick video in using it to render animations with blender.

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 9:06 pm
by enricocerica
john wrote:The exporter works great when used to create a new .ocs file. When I try to use an existing .ocs setup file, I get an automation error saying that my mesh node is unusable.
The obj file does not correspond to the ocs file, you probably should recreate them. Don't forget that the obj file is recreated when you export, so if you point to an existing ocs the scene you export should be exactely the same as the one used when the ocs was created.

Can you give more info about your workflow ?

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 9:53 pm
by James
this sucks, my screen capture software is now refusing to save my video..

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Thu May 13, 2010 9:55 pm
by James
I find this script incredibly intuitive and easy to use. Everything was obvious from word go, and worked seamlessly.

By setting up the render path to the output images from octane, you can preview your rendered animation from the blender player, then load the images up into the sequence editor and render them out as a video file :)

Re: Beta 2.2 RC1: Blender Export Script testing thread

Posted: Fri May 14, 2010 1:10 am
by thwak
enricocerica wrote:Hi Blender heads, the script is working in windows environment for now, a version working with Linux will be available later on.
As soon as the linux version is out you can count me in for testing!