Plugins & Extensions
A lot of Magnum addon libraries define interfaces for further extensibility with plugins. Advantage of using plugins is the ability to defer decision about particular dependency into deploy stage on given platform.
Plugins importing general scene formats with mesh data, image data, scene hierarchy, material, light and camera properties.
- TGA, PNG, JPEG, GIF, EXR, HDR, BMP, DDS and other image formats
- OBJ, Stanford PLY, COLLADA and OpenGEX scene format parsers
- Plugin using Assimp for general file format support
- “Any importer” plugin delegating to other image / scene importer plugins based on detected file format
Plugins for converting image data between various formats.
- Exporting raw image data as TGA, PNG, HDR, BMP or EXR
- Interface for compressing raw image data into GPU-readable formats
- “Any image converter” plugin delegating to other converter plugins based on output file extension
Plugins importing audio data.
- OGG Vorbis, WAV and FLAC support
- “Any importer” plugin delegating to other audio importer plugins based on detected file format
Plugins providing parsing of font files and text shaping/layouting.
Plugins providing conversion between font formats and pre-rendering glyph cache textures.
- Converting subset of a TTF/OTF font to custom internal Magnum raster format
Lastly, it’s possible to implement routines for converting external data types from and to Magnum builtin vector, matrix, complex, quaternion and other types. Once implemented, conversion from external to internal types is a matter of an explicit conversion.