vengi-voxel / vengi

free and open source voxel art tools - editor, thumbnailer and format converter
http://vengi-voxel.github.io/vengi/
Other
1.05k stars 87 forks source link

VOXELFORMAT: VBX: add support for voxel builder format #300

Closed mgerhardy closed 1 year ago

mgerhardy commented 1 year ago

https://github.com/nimadez/voxel-builder

The older format (version < 3.8.9)

older files start with a # followed by the name of the scene

There is a data: section that contains the bakes

If neither # nor data: 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 line Voxel Builder file format (VBX)

There is a [project] section with key-value pairs like

name=The name
bgcolor=#6C6F7A
lightcolor=#CCCCCC

Then there is a [data] section voxels and bakes

General

Voxels

Voxels are stored in the format x,y,z,color,visible; (color is in #RRGGBB)

Bakes (optional)

bakes=data:application/octet-stream;base64,
[base64data]

where base64data is a base64 encoded glb file

mgerhardy commented 1 year ago

support for loading the newer format is implemented now.