GPU Accelerated Voxelization Framework for 3D CAD models.
GPU Accelerated Voxelization Framework for 3D CAD models.
GPView voxelizes CAD models with a hybrid resolution. Supported CAD models are Wavefront (.obj) file and .off file formats. Output is in the form of binary .raw files with contiguous array.
Level1 resolution is a coarse level of voxelization and Level2 is a finer level of voxelization of particular Level1 voxels in a nested structure.
For more details visit IDEALab website.
Setup instructions for Windows and Linux can be found on wiki page.
Guidelines to voxelize CAD models using GPView can be found on the wiki page.
Triangle ray intersection test routine,
Tomas Muller and Ben Trumbore, 1997.
See article "Fast, Minimum Storage Ray/Triangle Intersection,"
Muller & Trumbore. Journal of Graphics Tools, 1997.
AABB-triangle overlap test code
by Tomas Akenine-Muller
Function: int triBoxOverlap(float boxcenter[3],
float boxhalfsize[3],float triverts[3][3]);