Skip to content

Exploring CPU-based methods for converting 3D models into a voxel representation using OpenGL, SDL and C++

License

Notifications You must be signed in to change notification settings

kmprs/voxelizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voxelizer 🎲

header image

Table of Contents


Introduction

OptimizedVoxelizer is a C++ project designed to convert 3D models into voxel representations. It includes features for voxel face creation, file parsing, bounding volume hierarchy (BVH) construction, and efficient spatial partitioning. This project aims to provide a lightweight platform for rendering 3D-models as voxels and to explore different optimization methods.

Installation

  • Clone the repository
  • Navigate to the project directory
  • Run the build script
  • Install the necessary dependencies
    • OpenGL
    • SDL2
  • Create a /binaries directory and add your 3D models to it
    • In order for the voxelizer to run correctly, you need to adjust the initial model in dataHandler.cpp
  • Adjust the 3D model path in src/constants.hpp

About

Exploring CPU-based methods for converting 3D models into a voxel representation using OpenGL, SDL and C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published