Repository navigation
Reduce rendering cost for large pottery displays - #8
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.