Skip to content

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Jan 28, 2026

Depends on daid/SeriousProton#292 and #2706.

Define line widths for the new SeriousProton quad drawLine implementation in daid/SeriousProton#293.

This affects:

  • Outer radar circle outline
  • Heading tigs on all radars
  • Grid lines on Relay/GM radars
  • Missile tube indicators on Helms radar
  • Missile trajectory indicators on Weapons radar
  • Signal bands on Science radar
  • Signal quality waves on Science scanner
  • AI path/target lines on GM screen
  • Chat window indicator lines (lines from intercept chat windows to target) on GM screen
  • Profiling graph lines

Quad line thicknesses are generally 1 pixel, with the exception of:

  • Major heading tigs are now 2 pixels, minor tigs are 1.
  • Missile tube indicators are 2 pixels.
  • GM screen chat box indicator lines are 2 pixels.
  • Profiling graph 60FPS line is 2 pixels.
  • Movement vector indicators are 3 pixels.
  • Radar outer circles are 4 pixels.
  • Zone borders are 4 pixels.

SP 293 also scales the number of points used to draw circles to the circle's pixel size. Circles, especially large circles like radar outlines at high resolutions, should now be consistently drawn with no visible corners, especially when FSAA is enabled.

In testing on a low-end Intel N100 mini PC on Win11 at 4k, FPS on Helms, Weapons, and Science remains 58-60 with no change in render times recorded.

On a Pi 400, the new line drawing method drops FPS on Science by about 10-15% (4-6 fps), from low 40s to mid 30s. I couldn't find a significant difference on Helms, Weapons, or Relay, which don't have signal bands and draw fewer or no circles other than the radar outline.

This new drawing method has the Preferences File option line_drawing_mode, with valid values gl and quad. This option is configurable in the Options menu under the Graphics tab. gl is the default, which should retain existing behaviors.

Low-quality lines, FSAA off:

Screenshot 2026-01-27 173443 Screenshot 2026-01-27 173454 Screenshot 2026-01-27 173512 Screenshot 2026-01-27 173528

Low-quality lines, FSAA 8x, 1080p:

Screenshot 2026-01-27 173632 Screenshot 2026-01-27 173636 Screenshot 2026-01-27 173639 Screenshot 2026-01-27 173642

High-quality lines, FSAA off:

Screenshot 2026-01-27 173232 Screenshot 2026-01-27 173241 Screenshot 2026-01-27 173252 Screenshot 2026-01-27 173211

High-quality lines, FSAA 8x, 1080p:

Screenshot 2026-01-27 173605 Screenshot 2026-01-27 173609 Screenshot 2026-01-27 173612 Screenshot 2026-01-27 173616

- Define line widths for the new SeriousProton quad drawLine
  implementation
- Link radar outline width to stencil size, increase distance
  indicator width
- Allow toggling between GL and quad line drawing via Options menu
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