Closed mgerhardy closed 1 year ago
https://github.com/nimadez/voxel-builder
< 3.8.9
older files start with a # followed by the name of the scene
#
There is a data: section that contains the bakes
data:
If neither # nor data: was found, the line contains voxels (see below)
newer files start with a ; and the line Voxel Builder file format (VBX)
;
Voxel Builder file format (VBX)
There is a [project] section with key-value pairs like
[project]
name=The name bgcolor=#6C6F7A lightcolor=#CCCCCC
Then there is a [data] section voxels and bakes
[data]
voxels
bakes
Voxels are stored in the format x,y,z,color,visible; (color is in #RRGGBB)
x,y,z,color,visible;
#RRGGBB
bakes=data:application/octet-stream;base64, [base64data]
where base64data is a base64 encoded glb file
base64data
support for loading the newer format is implemented now.
https://github.com/nimadez/voxel-builder
The older format (version
< 3.8.9
)older files start with a
#
followed by the name of the sceneThere is a
data:
section that contains the bakesIf neither
#
nordata:
was found, the line contains voxels (see below)The newer format is ini-based (at least up to 4.0.1)
newer files start with a
;
and the lineVoxel Builder file format (VBX)
There is a
[project]
section with key-value pairs likeThen there is a
[data]
sectionvoxels
andbakes
General
Voxels
Voxels are stored in the format
x,y,z,color,visible;
(color is in#RRGGBB
)Bakes (optional)
where
base64data
is a base64 encoded glb file