Repository navigation
Main-thread CPU reductions for scenes with many instanced decor objects - #168
Closed
CCP-Stefano wants to merge 6 commits into
Closed
CCP-Stefano wants to merge 6 commits into
CCP-Stefano wants to merge 6 commits into
Conversation
Switch: trinity.settings eveStaticInstanceCaching (default on). Also records each sphere group's largest instance radius for the group cull.
…en size cut in a view Switch: trinity.settings eveInstancedGroupScreenSizeCull (default on). Needs the caching commit (largest instance radius).
Switch: trinity.settings eveInstancedGroupCullMargin (default 0.95; 0.5 is the previous value).
…s of that face Switch: trinity.settings eveReflectionShadowRefreshVisits (default 1 = render every visit, as before).
…p-allocates per call while Tracy runs and inflated the loop ~10x Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Author
|
Closing: experimental work, opened by mistake for CI only. |
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.
Experimental CPU reductions found while profiling space scenes with thousands of instanced decor pieces. Each commit stands alone and sits behind a
trinity.settingsswitch:eveStaticInstanceCaching(default on): cache static instance spheres and ray-tracing transforms while nothing moves.eveInstancedGroupScreenSizeCull(default on): skip instanced sphere groups whose largest instance is below the screen size cut.eveInstancedGroupCullMargin(default 0.95, previously 0.5).eveReflectionShadowRefreshVisits(default 1 = unchanged): refresh reflection shadows every N visits of a cube face.EveSpaceObject2::UpdateVisibility(it allocated per call while Tracy runs).Draft: opened for CI coverage, not for merge yet. Known open item: under investigation for a possible leak of
EveChildInstancedMesheswhen modular objects leave the scene.🤖 Generated with Claude Code