Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D OBJECT VOXELIZER

Program Overview

This program converts 3D models in OBJ format into a voxelized representation using an octree-based algorithm. It is able to:

  • Read 3D models from OBJ files
  • Voxelize them using determined tree depths
  • Visualize the results with an interactive 3D viewer
  • Export the voxelized data

The program is built in Java with a GUI for visualization and supports concurrent processing for efficient voxelization.

Requirements

Java Runtime Environment (JRE) 8 or higher

Compilation

Not needed because the program is already compiled and ready to run. The .class files are located in the bin/ folder.

How to Run

  1. Open Command Prompt/Terminal and navigate to the project directory:

    cd Tucil2_13524006
  2. Run the program:

    java -cp bin Main
  3. Follow the instructions:

    • Enter the path to your OBJ file
    • Enter the maximum tree depth (use a positive integer)

How to Use

Input

  1. OBJ file path: Provide the full path to your 3D model file
  2. Maximum depth: Specify the maximum depth for the octree voxelization
    • Higher depth = finer voxelization (slower)
    • Lower depth = coarser voxelization (faster)
    • Typical range: 3-10

Output

After processing, the program provides you with informations about:

  • number of voxels
  • number of vertices
  • number of faces
  • number of nodes created per depth
  • number of nodes unexplored per depth
  • octree depth
  • processing time
  • path to the result .obj file

then opens an interactive viewer where you can:

  • Rotate: Click and drag
  • Zoom: Use the scroll wheel to zoom in/out

Author

Gabriella Botimada Lubis
13524006
Institut Teknologi Bandung

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages