Skip to content

Reduce rendering cost for large pottery displays - #8

Merged
faceofcat merged 1 commit into
mainfrom
codex/pottery-render-performance
Dec 2, 2026
Merged

faceofcat merged 1 commit into
mainfrom
codex/pottery-render-performance

Conversation

@faceofcat

Copy link
Copy Markdown
Collaborator

Pottery made from the same template now shares fired vessel geometry. Filled pots reuse their liquid surface until the amount changes, and wheels reuse their guides and forming clay until the blueprint or shaping progress changes. The renderer also submits complete vertices to Minecraft. This change includes a mesh-cache regression test and consolidates the unreleased changelog.

With 200 visible pottery blocks at 854 × 480 on an RTX 3060, average FPS rose from 58 to 177 on NeoForge 1.20.6, 139 to 203 on NeoForge 1.21.1, 149 to 234 on NeoForge 26.3, and 136 to 204 on Fabric 26.3. The 1.20.6 figures are the medians of three 20-second samples with mouse look disabled. A separate scene with 200 distinct profiles on NeoForge 26.3 improved from 128 to 167 FPS.

All four jars built locally. The 183 unit-test runs, three server GameTests, 22 release-script tests, and source-version round trips passed.

Share fired vessel meshes across matching profiles, reuse fluid and wheel geometry, and submit complete vertices to the renderer. Cover mesh reuse and consolidate the unreleased changelog.

Co-authored-by: Face of Cat <faceofcat@users.noreply.github.com>
@faceofcat
faceofcat marked this pull request as ready for review December 2, 2026 03:28
@faceofcat
faceofcat merged commit 141127d into main Dec 2, 2026
6 checks passed
@faceofcat
faceofcat deleted the codex/pottery-render-performance branch December 2, 2026 03:28
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.

1 participant