Krakatoa SR API Build - Jul. 25, 2012

Attached is a build of the Krakatoa SR C++ API. This is identical to the previous Krakatoa SR API release, but now includes a Linux build.

Package include:
-C++ headers.
-Windows 64 bit .DLL, and .LIB linking library. You should be able to use any version of visual studio runtimes.
-Linux shared library built on CentOS 5.6.

New features in this release:

  • Added callback functions for specifying custom file saving code.
  • User-specified shaders now work.
  • Added Z-depth render output.
  • Added Velocity-pass render output.
  • Added Normal-pass render output.
  • Added Occluded particles RBGA render output (for matte compositing)
  • Finished header documentation.

Limitations of this release (this will be fixed in the next release):

  • Added meshes for matte objects are currently ignored by the renderer.

Note for those already using the API:

//instead of using this call to save files:
r.set_output_image_file( "myfile.exr" );

//use these:
multi_channel_exr_file_saver fileSaver( "myfile.exr" ); //or "file_saver" for non-multi layered
r.set_render_save_callback( &fileSaver );

Please provide feedback on the forums! As this is a preliminary release, I would like to get as much feedback as possible before we finalize the API. More examples of how to use the API are coming soon, but it should be fairly straightforward as all the documentation is included in the header file.