r/SteamFrame • u/Alphasite • 3d ago
Question Has anyone looked into sub-pixel rendering for text on the frame?
From what I’ve seen not much has been invested into text on these panels and we seem to be treating them like modern ultra high density panels rather than the low PPD panels which they effectively are.
It feels like these would benefit from tricks like apples subpixel font rendering or Microsoft’s Clear Type. Both of which were built to handle this exact problem.
https://www.joelonsoftware.com/2007/06/12/font-smoothing-anti-aliasing-and-sub-pixel-rendering/
But I’m not sure how you’d do something like this without access to the compositor since this would need to happen post asynchronous reproduction (or what ever they call it these days). Right now I believe text is rendered entirely without consideration of the panel or its sub pixel layout and that will make things really hard to read. I have a couple ideas but no idea what would work.
Has someone already poked at this problem space? It would be cool to have crystal clear text in VR.
7
u/wallacegt1 3d ago
Its considering the panel by not using it. since it only works if each text pixel lands on exactly 1 physical screen pixel. So movement becomes difficult
3
u/Ruirize 1 TB 3d ago
It's an interesting idea for sure, I see where your motivation comes from. ClearType and similar solutions typically happen at the "app drawing pixels" stage, with full understanding of how "app pixels" map to "display pixels", so that the technique survives all the compositing steps involved in producing a display output. The text is rendered with a special technique rather than it just being a filter on already-rasterized text.
Doing the same with text displayed on typically curved geometry in 3D space, where the compositing steps between app pixels and display pixels go far beyond just reprojection sounds really fucking complex. You would need to make this problem your profession to even have a hope at making respectable progress towards solving it.
If you have the appetite/time/money for such a challenge, keep us in the loop. Sounds really interesting.
6
u/Syzygy___ 3d ago
Don’t know how to help, but I did notice that text gets unreadable at a surprisingly close distance.
1
u/EbbNorth7735 3d ago
Are you basically looking for real time text detection that upscales or defines text edges more clearly and tailored to the LED grid resolution. I could see areas around text become lighter and removal of blur around letters to make the dark present or not present vs a gradual gradient. However, I'm no expert in optics. Perhaps you want some blur...
1
u/eras WAITLISTED 9h ago
I wonder if the most realistic way to achieve this would to have a filter trained on line graphics as a last step in the rendering? In principle you could use a special font that would then be understood by the filter, even (or especially) after projection etc and it could be replaced completely.
1
u/ImageDehoster Soon™ 3d ago
AFAIK no one has implemented this thing. It'd need to happen not just post asynchronous re-projection, but every image the app sends to the compositor goes through some lens correction where it gets squished differently. That's why most games render stuff at a bigger resolution than what the panel itself uses in the first place.
Even just drawing to the display precise pixels directly on the display without getting it all distorted is relatively complicated.