Skip to content

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Jan 27, 2026

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

Line thicknesses are generally 1 pixel, resulting in only anti-aliasing, with the exception of:

  • Major heading tigs are now 2 pixels, minor tigs are 1.
  • Missile tube indicators are 2 pixels.
  • Movement vector indicators are 2 pixels.
  • Zone borders are 4 pixels.
  • GM screen chat box indicator lines are 2 pixels.

291 also scales the number of line segments 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 few to no visible corners.

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

Before:

Screenshot 2026-01-26 153432 Screenshot 2026-01-26 173309

After:

Screenshot 2026-01-27 092043 image

@oznogon oznogon force-pushed the new-sp-line-drawing branch from 7d3799f to 4b6487c Compare January 27, 2026 18:57
@oznogon
Copy link
Contributor Author

oznogon commented Jan 27, 2026

Backcompat concerns

@oznogon oznogon closed this Jan 27, 2026
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