Skip to content

feat(trellis): per-request UV atlas method, bump trellis to v0.2.1#2667

Open
pwilkin wants to merge 3 commits into
lemonade-sdk:mainfrom
pwilkin:trellis-uv-atlas
Open

feat(trellis): per-request UV atlas method, bump trellis to v0.2.1#2667
pwilkin wants to merge 3 commits into
lemonade-sdk:mainfrom
pwilkin:trellis-uv-atlas

Conversation

@pwilkin

@pwilkin pwilkin commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

During the port, I added a quick UV method that makes generation faster - unfortunately, it severely degrades quality on some more complex models (see discussion in https://www.reddit.com/r/LocalLLaMA/comments/1ur1mim/comment/ows3v0z/). Re-added the longer but more faithul Atlas UV and made it the default.

Now pins trellis v0.2.0, which lands the reference-parity postprocess (narrow-band DC remesh, reference charting/packing, Telea inpaint, WebP GLB textures) — output quality verified at parity with the reference CUDA postprocess, and the xatlas path no longer times out on complex models.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Z9WMqprhqjWEDuv1gnGaH

Forward an optional 'uv' field (xatlas|box) from /3d/generations to
trellis-server and validate it before model load. v0.1.6 makes xatlas the
default UV pass, adds occlusion-aware layered box projection, and fixes a
Vulkan workgroup-count crash in the res-1024 cascade.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EbpKMPt3rkoxTRJMaDwWXv

@fl0rianr fl0rianr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good overall. The validation and backend pass-through are consistent with the existing 3D request parameters.

Non-blocking: could we add a negative test for an invalid uv value to test/server_3d.py? The endpoint already tests invalid values for resolution, bg_removal, seed, and response_format, and this test would run cheaply without loading the model.

@pwilkin

pwilkin commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Let's hold off on this, I found some deeper problems in the backend after a report that still need fixing.

v0.2.0 lands the reference-parity postprocess (narrow-band DC remesh,
reference charting/packing, Telea inpaint, WebP GLB textures) and the
performance work; supersedes the anticipated v0.1.6.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Z9WMqprhqjWEDuv1gnGaH
@pwilkin pwilkin changed the title feat(trellis): per-request UV atlas method, bump trellis to v0.1.6 feat(trellis): per-request UV atlas method, bump trellis to v0.2.0 Jul 13, 2026
@pwilkin pwilkin changed the title feat(trellis): per-request UV atlas method, bump trellis to v0.2.0 feat(trellis): per-request UV atlas method, bump trellis to v0.2.1 Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants