-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently, the mesh preset modal displays a simple list of .obj filenames. It would be a nice quality-of-life enhancement to show a visual preview (thumbnail) for each mesh, helping users quickly recognize the shape or structure of a preset.
Problem
macOS Finder for example shows thumbnails for .obj files.
Similarly, I would like to generate a thumbnail for the modal.
Possible Solutions
-
Pre-rendered thumbnails
- Use a tool like Blender, Three.js, or WebGL/WebGPU to render the
.objfiles and export thumbnails as PNG images. - Store them alongside the mesh files (e.g.
/public/mesh/thumbs/sphere.png) - Match image to
.objfilename in the modal UI.
Pros: Fast rendering, no runtime performance cost
Cons: Requires manual or scripted generation step - Use a tool like Blender, Three.js, or WebGL/WebGPU to render the
Note: Optional Automation
Consider writing a small CLI or script that:
- Loads
.objfiles- Renders them with a basic camera and lighting setup
- Saves PNG thumbnails to
/public/mesh/thumbs
-
Live WebGL/WebGPU rendering
- Dynamically render the
.objin a<canvas>thumbnail using Three.js or WebGPU when the modal opens. - Could support rotation or basic shading.
Pros: Dynamic and always up-to-date
Cons: Adds runtime complexity and GPU load - Dynamically render the
-
Fallback: Filename-only (current behavior)
- Keep using a list of file names with download/view icons only.
- Acceptable default for MVP.
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog