modly
modly copied to clipboard
OBJ export loses the texture
Exporting a textured mesh to OBJ writes only the .obj, with no .mtl or texture. It affects the Generate page export (api/routers/export.py) and the Mesh Exporter node (mesh-exporter/processor.ts, which also doesn't flip V). GLB is fine. Reported in #253.
Follow Blender's behaviour: the user picks <name>.obj, the material and texture are written next to it.
Scope
- [ ] OBJ export writes
<name>.obj,<name>.mtland<name>_texture.pngside by side - [ ] Base color texture only
- [ ] Both export paths (Generate page and Mesh Exporter node)
- [ ] Untextured meshes export as before
- [ ] Show a short hint when OBJ is selected: textures are saved as separate files, GLB keeps everything in one file
Acceptance criteria
A Trellis.2 mesh exported to OBJ opens textured in Blender.