Skip to content

Mesh volume sampler with voxelizer & 3D poisson disk sampling for Unity.

License

Notifications You must be signed in to change notification settings

mattatz/unity-volume-sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unity-volume-sampler

Mesh volume sampler with voxelizer & 3D poisson disk sampling for Unity.

Demo

Usage

// Volume instance has sample points & grid information (grid size & unit length).
Volume volume = VolumeSampler.Sample(
    mesh,       // mesh to sample volume
    resolution, // grid resolution
    distance    // minimum distance between samples
);

VolumeSamplerWindow

Menu : Window -> VolumeSampler

VolumeSamplerWindow builds a Volume asset from a mesh file & save it in a project.

Compatibility

Tested on Unity 2018.3.0f2, windows10.

Sources

About

Mesh volume sampler with voxelizer & 3D poisson disk sampling for Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published