Skip to content

Conversation

@slimbuck
Copy link
Member

@slimbuck slimbuck commented Dec 8, 2025

This PR:

  • further tweaks streaming budget to have different values for mobile vs desktop
  • limits crazy macos resolution

@slimbuck slimbuck requested review from a team and Copilot December 8, 2025 17:51
@slimbuck slimbuck self-assigned this Dec 8, 2025
@slimbuck slimbuck added the enhancement New feature or request label Dec 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the streaming quality system by introducing platform-specific configurations and resolution limits. The changes aim to optimize performance on both mobile and desktop devices by tailoring quality settings and preventing excessive rendering resolutions.

Key Changes:

  • Introduces resolution limiting logic to cap rendering at ~3K for desktop and HD (1920) for mobile
  • Restructures quality ranges with distinct configurations for mobile vs desktop platforms
  • Changes default hqMode to true for all platforms (previously false for mobile)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/viewer.ts Adds platform import, implements resolution limiting logic in updateHqMode(), and restructures quality ranges to have separate mobile/desktop configurations with different LOD ranges and splat budgets
src/index.ts Removes unused platform import and sets default hqMode to true for all devices

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@slimbuck slimbuck merged commit 582b87a into main Dec 8, 2025
2 checks passed
@slimbuck slimbuck deleted the res-fix branch December 8, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants