Spaces:
Paused

dima0987654321's picture
Upload 2 files
a3bd26a verified
|
Raw History Blame Contribute Delete
1.41 kB
---
title: 3D Figure Render Studio
emoji: 🧊
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.23.3
app_file: app.py
pinned: false
---
# 3D Figure Render Studio
Upload an OBJ file, optionally with its MTL and texture files, choose one camera angle, then render one studio-style image or a black model with yellow wireframe topology. The app automatically centers and frames the model based on its geometry bounds; it does not render extra views.
- Blender is installed through `packages.txt`.
- Output resolution is at least 2000 × 2000.
- Camera presets: front, back, left, right, diagonal, or a manually selected angle. Exactly one image is rendered per run.
- The mesh is centered from its actual vertex bounds, normalized proportionally, and the orthographic camera framing is fitted to the projected model bounds for the selected angle.
- The CPU render button runs without requesting ZeroGPU. The GPU render button is decorated with `@spaces.GPU(duration=120)` and requests ZeroGPU quota.
- Cycles supports CPU rendering; GPU rendering is available only when the Space's Blender build and hardware expose a supported backend (CUDA/OptiX/HIP/oneAPI/Metal).
- Eevee is a real-time rasterizer and may require a working GPU/graphics context on the Space host.
- OBJ material textures should be uploaded together with the OBJ and MTL, and filenames should match the references inside the MTL.