Repository navigation
Give the Video Recorder the splat pages' render settings - #525
Merged
Merged
Conversation
The Video Recorder draws a single gaussian splat, but its pc-app kept the defaults, so the splat rendered into the 4x multisampled backbuffer. Debug builds warn that this makes splats several times more expensive to render. Use the settings every other splat page shares: no antialiasing, depth or stencil buffer, and a pixel ratio of 1. A recording sets the canvas to the video's own fixed resolution, so the cap only affects the live preview. The page loads no XR scripts, so it stays on WebGPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Description
The Video Recorder's scene is a single gaussian splat, but its
<pc-app>kept the defaults. The splat therefore rendered into the 4× multisampled backbuffer. Debug builds warn:This PR gives the page the
<pc-app>settings that Basic Splat, Splat Annotations, Splat Flipbook and Splat Streaming already use:antialias="false" depth-buffer="false" max-pixel-ratio="1" stencil-buffer="false". The scene has no meshes or sky, so neither the depth nor the stencil buffer is needed. A recording switches the canvas to the video's fixed resolution, so the pixel-ratio cap affects only the live preview. The page loads no XR scripts, so it stays on WebGPU rather than takingbackend="webgl2"like the four XR splat pages.Testing
Run locally in headless Chrome on WebGPU, on both the release and the debug engine:
videoRecorderscript still renders at 1920×1080, captures 181 frames, and finalizes about 6 MB of MP4.🤖 Generated with Claude Code