File size: 933 Bytes
13ce657
 
 
 
 
 
26b357d
13ce657
 
 
 
7ce9c01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: Voxel Model Viewer
emoji: 🎲
colorFrom: gray
colorTo: indigo
sdk: gradio
sdk_version: "5.13.1"
app_file: viewer.py
pinned: false
---

# Voxel Model Viewer

A web application built with Gradio that allows users to view and interact with 3D voxel models in .vox format.

## Features

- Upload and view .vox files in 3D
- Interactive 3D visualization with rotation and zoom
- Dark theme interface for better contrast
- Support for colored voxels using the model's palette

## Usage

1. Upload a .vox file using the file upload interface
2. The model will be displayed in an interactive 3D viewer
3. Use mouse controls to rotate and zoom the model

## Technical Details

This application uses:
- Gradio for the web interface
- PyVox for parsing .vox files
- Plotly for 3D visualization
- NumPy for array operations

## Example

An example .vox file (modelo_optimizado.vox) is included in the repository for testing purposes.