The Wizards Wiki

Explore your world

User Tools

Site Tools


source:newmodules:voxelization

This is an old revision of the document!


Voxelization

This namespace allows for voxelization of meshes. The current implementation is simple:

  • For each triangle
  • For each voxel intersecting with the triangle's bounding box
    • hello
  * Create 13 principal axes for the voxel-triangle intersection
  * Use 'separating axes theorem': Check if there is a separation between the projection of both objects on each axis
  * If there is no separation, a voxel is set 

Voxels are defined as follows: Voxel with coordinate (x,y,z) goes from (x,y,z) to (x+1,y+1,z+1)

source/newmodules/voxelization.1334223497.txt.gz · Last modified: 2024/08/26 13:25 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki