goldragoon / mesh2voxel

Super-fast polygonal mesh voxelizer using geometry shader with Vulkan.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mesh2voxel

Super-fast polygonal mesh voxelizer using geometry shader with Vulkan. The goals of this repository are, os and hardware agnostic, support off-screen computation, minimal cpu usage.

Getting Started

Prerequisites

Vulkan SDK

Build

This implementation depends on many external libraries like assimp, cxxopts, glfw, glm. But you don't have to install the right version of dependencies by yourself.

git clone --recursive https://github.com/goldragoon/mesh2voxel.git
cmmake .\

Execute

Make sure that the path of glslc binary from Vulkan SDK is appended to your path varialbe. To execute the mesh2voxel,

python3 compileShader.py 
cp shaders [mesh2voxel binary location]
mesh2voxel -w -i ..\..\..\data\bunny.ply

License

See the file LICENSE.md.

About

Super-fast polygonal mesh voxelizer using geometry shader with Vulkan.

License:GNU General Public License v2.0


Languages

Language:C++ 96.3%Language:CMake 2.0%Language:GLSL 1.1%Language:Python 0.6%