Loads density grid for volume data. This loader support 2 file formats for density grid data.
More...
#include <IO/VolumesLoader/VolumeLoader.hpp>
Inherits Ra::Core::Asset::FileLoaderInterface.
|
std::vector< std::string > | getFileExtensions () const override |
|
bool | handleFileExtension (const std::string &extension) const override |
|
Ra::Core::Asset::FileData * | loadFile (const std::string &filename) override |
|
std::string | name () const override |
|
Loads density grid for volume data. This loader support 2 file formats for density grid data.
- PVM file format (extension .pvm) from The Volume Library at http://schorsch.efi.fh-nuernberg.de/data/volume/
- Custom file format (extension .vol, derived from pbrt heterogeneous media definition) with the following properties sigma_a [ RGB values of the absorption coefficient ] units are mm-1 sigma_s [ RGB values of the scattering coefficient ] units are mm-1 size [ w h d : 3 ints that gives the size of the grid ] density [ w*h*d white space separated floating point values defining the density ]
Definition at line 19 of file VolumeLoader.hpp.
The documentation for this class was generated from the following files:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/IO/VolumesLoader/VolumeLoader.hpp
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/IO/VolumesLoader/VolumeLoader.cpp