Add outline toggle control to stress test example#61
Merged
Conversation
Adds an "Outline (all elements)" checkbox in a new Rendering GUI folder that toggles `outline` on all 1500 elements (500 walls + 500 doors + 500 windows) and reports roundtrip time in the perf overlay so outline rendering performance can be benchmarked alongside CSG and station operations. https://claude.ai/code/session_01QVPvseDLHFA7x1b2kYJ1mP
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.
Summary
Added an outline rendering toggle to the stress-500-walls.html example that allows users to enable/disable outline rendering on all 1500 elements (walls, doors, and windows) simultaneously. This includes:
applyOutline()function that toggles the outline property on all elements and measures performancerecordRoundtrip()utilityVerification
The changes are isolated to the example file and add a new interactive control. The implementation follows the existing patterns in the codebase (similar to
applyViewMode()and other toggle functions). The performance measurement integrates with the existing roundtrip recording system.Docs And Examples
Updated the stress test example to demonstrate outline rendering control as a performance measurement scenario.
Reviewer Notes
Checklist
dist/orexamples/dist/https://claude.ai/code/session_01QVPvseDLHFA7x1b2kYJ1mP