| Time |
Nick |
Message |
| 01:47 |
|
behalebabo joined #luanti-dev |
| 02:05 |
|
MTDiscord joined #luanti-dev |
| 02:15 |
|
SFENCE joined #luanti-dev |
| 02:24 |
|
SFENCE joined #luanti-dev |
| 02:34 |
|
aliasalreadytake joined #luanti-dev |
| 04:00 |
|
MTDiscord joined #luanti-dev |
| 04:02 |
|
Warr1024 joined #luanti-dev |
| 04:34 |
|
BuckarooBanzai joined #luanti-dev |
| 04:47 |
|
YuGiOhJCJ joined #luanti-dev |
| 07:57 |
|
YuGiOhJCJ joined #luanti-dev |
| 08:52 |
|
jonadab joined #luanti-dev |
| 11:27 |
|
YuGiOhJCJ joined #luanti-dev |
| 13:31 |
|
turtleman joined #luanti-dev |
| 15:49 |
|
SFENCE_ joined #luanti-dev |
| 16:51 |
|
SFENCE joined #luanti-dev |
| 16:54 |
|
SFENCE_ joined #luanti-dev |
| 17:03 |
|
SFENCE joined #luanti-dev |
| 17:41 |
Krock |
sfan5: RTT nametags. https://krock-works.uk.to/u/2025-08-20_RTT_nametag.mp4 |
| 17:42 |
sfan5 |
looks good |
| 17:46 |
Krock |
Oh. Forgot the font shadow. |
| 19:08 |
Krock |
even 8x font scaling sucks at low resolutions. https://i.postimg.cc/hPshQKfX/grafik.png |
| 19:08 |
Krock |
testing branch: https://github.com/SmallJoker/minetest/tree/pr_xxx_rtt_nametag_scaling |
| 19:38 |
celeron55 |
(i forgot what RTT meant and had to look it up in the code so here's for everyone wondering: It's Render Target Texture which means rendering to a texture instead of the screen (in this case by using a font renderer), so that you have a texture which can then be drawn on the screen as a cheaper operation) |
| 19:42 |
Krock |
it's somewhat cheaper and can be more memory-efficient, depending on how many different font sizes you could avoid loading into memory |
| 19:42 |
Krock |
unfortunately, alpha blending and scaling do both not work very well |
| 19:43 |
Krock |
and here we need both. I also considered baking the background color of the nametag right into the texture, but that would then be drawn twice too (for the shadow) |
| 19:44 |
Krock |
it seem that the only reasonable way to draw 2D elements is to have them pixel-perfect as of now. |
| 21:06 |
sfan5 |
it doesn't look that bad honestly |
| 21:06 |
sfan5 |
and without the font quantizing hack I added I ran out of RAM on my 16G machine when getting close to a nametag |
| 21:06 |
sfan5 |
disadvantages or not, the RTT solution has to become reality |
| 21:37 |
[MatrxMT] |
<Zughy> Pixel-perfect GUIs when? |
| 21:50 |
luatic |
hey at least we're not developing editors for a living and still have blurry font rendering |
| 22:30 |
|
Juri6 joined #luanti-dev |
| 22:30 |
|
Niklp7 joined #luanti-dev |
| 22:33 |
|
panwolfram joined #luanti-dev |
| 23:05 |
|
Eragon joined #luanti-dev |