Support Forum G3D Web Page |
Parser for the MagicaVoxel sparse voxel format http://ephtracy.github.io/index.html?page=mv_vox_format. More...
Classes | |
struct | SchematicPalette |
Palette struct for entries of Mineways single color voxel conversion table. More... | |
Public Types | |
typedef FastPODTable< Point3int16, uint8, HashTrait< Point3int16 >, EqualsTrait< Point3int16 >, true > | BlockIDVoxels |
typedef FastPODTable< Point3int16, Color4unorm8, HashTrait< Point3int16 >, EqualsTrait< Point3int16 >, true > | ColorVoxels |
Public Member Functions | |
void | getSparseVoxelTable (BlockIDVoxels &voxel) const |
void | getSparseVoxelTable (ColorVoxels &voxel) const |
void | parse (const String &filename) |
void | parseSchematicTag (BinaryInput &bi, int processTagType=-1) |
Static Public Member Functions | |
static Color4unorm8 | schematicBlockColor (uint8 blockIndex) |
Public Attributes | |
Array< uint8 > | blockData |
4-bit lighting data More... | |
Array< uint8 > | blockID |
Raw data grid in YZX-major order. More... | |
String | materials |
Point3int32 | size |
Parser for the MagicaVoxel sparse voxel format http://ephtracy.github.io/index.html?page=mv_vox_format.
typedef FastPODTable<Point3int16, uint8, HashTrait<Point3int16>, EqualsTrait<Point3int16>, true> G3D::ParseSchematic::BlockIDVoxels |
typedef FastPODTable<Point3int16, Color4unorm8, HashTrait<Point3int16>, EqualsTrait<Point3int16>, true> G3D::ParseSchematic::ColorVoxels |
void G3D::ParseSchematic::getSparseVoxelTable | ( | BlockIDVoxels & | voxel | ) | const |
void G3D::ParseSchematic::getSparseVoxelTable | ( | ColorVoxels & | voxel | ) | const |
void G3D::ParseSchematic::parse | ( | const String & | filename | ) |
void G3D::ParseSchematic::parseSchematicTag | ( | BinaryInput & | bi, |
int | processTagType = -1 |
||
) |
|
static |
String G3D::ParseSchematic::materials |
Point3int32 G3D::ParseSchematic::size |