Krakatoa SR Python Build - Nov. 14, 2012

Attached is the beta release of Krakatoa SR for Python. The download includes versions built on Windows and CentOS 5.6. It is built for Python 2.6 64 bit. The current documentation is provided here.

Release Notes:

  • Fixed a bug in the ChannelOperator “Set” command. In this fix, if a user sets a channel, the channel will be created if it didn’t exist. Previously, it did not create the channel.

Installation on Windows:
Currently there is no installer. Provided is one zip file which has a KrakatoaSR.pyd file (python module) and its .dll dependencies, as well as a sample scene. Currently the .pyd and .dll files must be in the path pointed at by both the “PYTHONPATH” environment variable or be in the c:\python26\DLLs directory.

Installation on Linux:
Currently there is no installer. Provided is one zip file which has a KrakatoaSR.so file (python module) and its .so dependencies, as well as a sample scene. Currently the “.so” files must be in a directory pointed at by both the “PYTHONPATH” and “LD_LIBRARY_PATH” environment variables.

Rendering the sample scene on Windows:
Included in the zip file is a sample scene. To render the sample scene:

  • Unzip the contents to a new folder (let’s call it c:\pathto\krakatoasr).
  • Open a command window and make these three calls:
set PYTHONPATH=c:\pathto\krakatoasr\
cd c:\pathto\krakatoasr\
python sample_scene.py
  • A “sample_scene_output.exr” rendered image should appear in the current folder.

Rendering the sample scene on Linux:
Included in the zip file is a sample scene. To render the sample scene:

  • Unzip the contents to a new directory (let’s call it /pathto/krakatoasr/).
  • Open a bash shell and make these four calls:
export PYTHONPATH=/pathto/krakatoasr/
export LD_LIBRARY_PATH=/pathto/krakatoasr/
cd /pathto/krakatoasr/
python2.6 sample_scene.py
  • A “sample_scene_output.exr” rendered image should appear in the current directory.

Generating a scene file: