Skip to content

A tiny C++11 parser for scene files similar to the ones defined by the Mitsuba renderer.

License

Notifications You must be signed in to change notification settings

PearCoding/TinyParser-Mitsuba

Repository files navigation

TinyParser-Mitsuba GitHub Tag Build

GitHub license GitHub issues Coverage Status Total alerts CMake 3.9 Language C++ Standard

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:

Dependencies

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.