Skip to content

Spiri0/Threejs-WebGPU-Voxelizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See it running live here

The ship model is the Sabo, a Casablanca-class escort carrier from Phil Crowther's aviation repository. A comprehensive Threejs WebGPU app. https://github.com/PhilCrowther/Aviation

Surface voxels are green. Volume voxels are yellow.

image

This voxelizer allows you to very precisely determine the volume of any shaped closed body. This is important for precise buoyancy calculations. It is also suitable for more accurate collision detection. Since voxelization is performed on the GPU, very complex meshes can be voxelized extremely quickly.

About

A small Threejs WebGPU repository that shows how to voxel meshes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published