A tiny C/C++11/C# parser for scene files similar to the ones used by the Mitsuba renderer. This library only parses the XML files, distributes to easy to use Object Oriented structures, but does not generate any images. External resources, like images and shapes, are not loaded, but checked for existence - allowing lazy loading in later stages of the renderer. One exception are spectrum .spd files, which are loaded directly.
This project is not affiliated with the Mitsuba renderer and was developed to allow easy comparisons between different raytracers using one common scene file. This does not necessarily mean a raytracer is capable of rendering all present features however.
Mitsuba renderer:
- 0.6 https://github.com/mitsuba-renderer/mitsuba
- 2.0+ https://github.com/mitsuba-renderer/mitsuba2
Using the library does not need any external libraries except the standard template library (STL). However, building from source requires the embedded TinyXML2 library, which is taken care of automaticly. For internal testing the Catch2 is required, but also included as a submodule.
- TinyXML2 https://github.com/leethomason/tinyxml2 (submodule)
- Catch2 https://github.com/catchorg/Catch2 (submodule)