The Wizards Wiki

Explore your world

User Tools

Site Tools


source:newmodules:voxelization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
source:newmodules:voxelization [2012/04/12 09:38] mhgameworksource:newmodules:voxelization [2024/08/26 13:27] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Voxelization ====== ====== Voxelization ======
 This namespace allows for voxelization of meshes. The current implementation is simple: This namespace allows for voxelization of meshes. The current implementation is simple:
- 
- 
  
   * For each triangle   * For each triangle
- 
     * For each voxel intersecting with the triangle's bounding box     * For each voxel intersecting with the triangle's bounding box
-      * hello 
- 
    * Create 13 principal axes for the voxel-triangle intersection    * 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    * 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     * 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) 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