Attached is a build of the Krakatoa SR C++ API.
It is currently only built for Windows, but a Linux build will be in the next release. Provided is a .DLL, and a .LIB linking library. You should be able to use any version of visual studio runtimes with using a 64 bit project.
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.
KrakatoaSR_API_2.1.2.47644.zip (3.1 MB)