Skip to content

feat: three display quality profiles for the 3D view - #492

Merged
ManuelStaggl merged 1 commit into
mainfrom
feat/viewport-quality-484
Nov 16, 2026
Merged

ManuelStaggl merged 1 commit into
mainfrom
feat/viewport-quality-484

Conversation

@ManuelStaggl

@ManuelStaggl ManuelStaggl commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Third step of #484. Settings › General › 3D view › Display quality:

Profile Resolution Drops while turning Smoothed edges Contact shadow
Performance 1× (base) to 0.5 off off
Balanced (default, as before) 1–2× to 0.5 on 1024 px
Quality 1–2× no on 2048 px

The change applies at once. Anti-aliasing is a property of the WebGL context, so a new profile builds the canvas anew (key). Kept in settings.json (viewportQuality) and reset with the General section.

New E2E test: Performance turns off anti-aliasing and shadows, and the part can still be picked; Quality turns them back on.

Type of change

  • Feature
  • Fix
  • Documentation or ADR
  • Build, CI or tooling

Checklist

  • Commits follow Conventional Commits and are small and focused.
  • Lint, typecheck, unit tests and the affected E2E tests pass locally (11 viewport and settings tests).
  • No personal data, absolute local paths, secrets or generated output in the diff.
  • No new dependencies.
  • UI changes use design tokens only and are localised (DE/EN). No screenshots attached.
  • No ADR needed.

🤖 Generated with Claude Code

Settings › General › 3D view › Display quality: Performance draws at
the screen's base resolution without smoothed edges and shadow,
Balanced is how the view drew before (the default), Quality keeps the
full resolution while turning and draws a finer shadow. Anti-aliasing
belongs to the WebGL context, so a new profile builds the canvas anew.

Part of #484.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ManuelStaggl
ManuelStaggl merged commit d4b7166 into main Nov 16, 2026
10 checks passed
@ManuelStaggl
ManuelStaggl deleted the feat/viewport-quality-484 branch November 16, 2026 15:13
ManuelStaggl added a commit that referenced this pull request Nov 16, 2026
…d its result (#494)

## Summary

Last step of #484.

- `docs/feature-catalog.md`: new row **F16 3D view and graphics**. It
lists what #487, #491, #492 and #493 did and what was left out (custom
profile, picking one adapter by name, vendor-specific paths, WebGPU).
- `docs/glossar.md`: **3D-Ansicht (3D view)**; not "Viewport" or
"Viewer".
- `tools/webgpu-probe`: a small Electron probe that draws one heavy
scene (1,056,000 triangles, edges, room light, contact shadow; 1440 ×
900 at 1.5) with three's WebGLRenderer and WebGPURenderer on the real
graphics card, in a hidden window. Median GPU time per frame:

| Graphics card | WebGL | WebGPU |
| --- | --- | --- |
| NVIDIA Quadro RTX 4000 | 1.3 ms | 4.0 ms |
| Intel UHD Graphics 770 | 9.8 ms | 13.3 ms |

WebGPU was slower on both cards, so the view stays on WebGL (product
owner, 2026-11-16).

## Type of change

- [ ] Feature
- [ ] Fix
- [x] Documentation or ADR
- [x] Build, CI or tooling

## Checklist

- [x] Commits follow Conventional Commits and are small and focused.
- [x] The probe was run locally on both cards.
- [x] No personal data, absolute local paths, secrets or generated
output in the diff (`probe.json`/`probe.log` are ignored).
- [x] No new dependencies.
- [x] No UI change.
- [x] No ADR needed: ADR 0002 already says WebGL first; the probe backs
it with numbers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: ManuelStaggl <17688572+ManuelStaggl@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ManuelStaggl pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.6](v0.3.5...v0.3.6)
(2026-11-16)


### Features

* choose one particular graphics card for the 3D view on Windows
([#495](#495))
([10c67cb](10c67cb))
* choose the graphics card, or drawing without it, for the 3D view
([#493](#493))
([eb4df49](eb4df49))
* the settings say what the 3D view draws with, with frame counters over
the view ([#491](#491))
([43b32ac](43b32ac))
* three display quality profiles for the 3D view
([#492](#492))
([d4b7166](d4b7166))


### Bug Fixes

* the open sketch sheet follows a theme switch
([#490](#490))
([f6ff3bd](f6ff3bd))


### Performance

* the 3D view draws only while something changes or moves
([#487](#487))
([34f8328](34f8328))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant