File size: 578 Bytes
8ca6edb
 
 
 
 
 
 
 
 
 
 
 
 
e2969d6
 
 
 
 
 
 
 
 
 
 
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
---
title: Sdf Glsl Generator
emoji: πŸš€
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
license: mit
short_description: 3d meshes to sdf definitions in glsl
---

# Mesh to Embedded GLSL SDF Generator

Upload a 3D mesh file (.obj, .ply, .stl, etc.) and generate a fully embedded GLSL `float SDF(vec3 p)` function using a precomputed 64x64x64 Signed Distance Field.

### Features:

- Supports most common 3D formats
- Normalizes to [-1, 1] world-space
- Outputs both viewable and downloadable GLSL

Built with Gradio + mesh-to-sdf