Voxelizing 3D Models




GOAL

Get away from triangle meshes


(Will not be cubes)
(Or Maybe it could be...?)



PLAN

To do this I intend to take a triangle mesh and read it into an Octree

An Octree is a data structure similar to a binary tree but has 8 outputs instead of 2
and represents 8 cubes in a single cube

Used to implement LOD for voxels

Rendering would involve raycasting

DEV LOG

October 5, 2019

Created octree class that can be implemented into different sizes


November 18, 2019

Created way to generate voxelized sphere


I will accomplish creaction of voxels using collision between the voxel space and the triangle mesh



Result