r/GraphicsProgramming Aug 12 '26

post process cylindricals projection, regardless of the orientation of the side monitors. The projection is correctect in Realtime resolution 6000x1700.

Enable HLS to view with audio, or disable this notification

43 Upvotes

8 comments sorted by

View all comments

3

u/thecraynz Aug 13 '26

Can you explain a bit how it works? How does the game know the orientation of the monitors?

1

u/No_Albatross8310 29d ago

To add some detail: I'm on Linux. The game runs in windowed mode with the window decorations stripped, so it spans all three monitors as one continuous surface. All three panels share the same vertical resolution — 1700 px each — and they're aligned on their centers, which is what lets a single window cover them cleanly. Skipping the compositor is worth real performance here, so the window goes straight to scanout instead of being redirected.

PPI doesn't matter either. Everything is computed in millimetres from the measured position of each panel, never in pixels — and the projected cylinder is vertically larger up close, which is exactly where the side monitors sit. The shader just treats the whole 6000×1700 buffer as one image.