Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 2 forks source link

Vox loader #80

Open Avokadoen opened 2 years ago

Avokadoen commented 2 years ago

A simple vox loader that is capable of loading vox objects and converting them to application format.

Should follow the (specification)[https://github.com/ephtracy/voxel-model], except an option for loading that use color data as a material index (to support application materials) i.e (1, 0, 0) -> Material index 1

It should also integrate the Octree object in a way that it's simple to place a object in an octree with octree.insertObject(pos, obj)