Text rendering - Minification?

Started by
11 comments, last by L. Spiro 10 years, 3 months ago

please correct me if I'm wrong.

Compare your results to mine and decide for yourself.

font2.png

There are many factors in making proper mipmaps.
#1: A proper and sharp filter, such as a Kaiser filter. Judging by your first mipmap, Paint.NET uses a pretty crappy down-sampling filter. I judge based only on the first mipmap because you can’t make mistake #2 with it, which is-
#2: Every mipmap level must be calculated from the original full-sized image. It is a mistake to halve the image, then halve that image, then halve that image etc. down to 1×1. Halve the main image. Then fourth it. Then eighth it.
#3: Premultiply alpha before generating the mipmaps. But you are already doing this.


There is no real solution to on-screen positions. Your focus should only be on the mipmap quality. Use my image and check the result.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Advertisement

Wow, that made a difference, thanks!

Using the Nvidia plugin for photoshop, with the Kaiser filter and the format 32.32.32.32f ABGR 128bpp

I got a result almost as good as yours. What software are you using?

#2: Every mipmap level must be calculated from the original full-sized image. It is a mistake to halve the image, then halve that image, then halve that image etc. down to 1×1. Halve the main image. Then fourth it. Then eighth it.

Hm, doesn't the NVidia plugin do that automatically?

Photoshop CS2.
Its normal reduction routine is very similar to a Kaiser filter (or is a Kaiser filter) but you have the option of adding a sharpening pass after it. A Kaiser filter alone is usually enough but you can also resharpen each mipmap for slightly better results.

Hm, doesn't the NVidia plugin do that automatically?

I would assume so.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

This topic is closed to new replies.

Advertisement