Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labeling: mipmap for glyph textures #109

Open
anne-gropler opened this issue Oct 11, 2018 · 4 comments
Open

labeling: mipmap for glyph textures #109

anne-gropler opened this issue Oct 11, 2018 · 4 comments
Labels
haeley-webgl-text Move/to be resolved in to haeley-webgl-text question Further information is requested wontfix This will not be worked on

Comments

@anne-gropler
Copy link
Collaborator

Create mipmap glyph textures and use them for rendering. Evaluate performance and visual result, comparing to /combining with anti-aliasing methods.

@cgcostume
Copy link
Member

As far as I understand SDFs, it should neither result in better performance nor quality ... (even added memory overhead). Only for plain bitmap based glyphs mip mapping could be useful. But then again, the mip maps should be generated by an asset generator explicitly instead of just down scaling.

@cgcostume cgcostume added the wontfix This will not be worked on label Oct 12, 2018
@anne-gropler
Copy link
Collaborator Author

anne-gropler commented Oct 12, 2018

I understand that, too. But the following ressource implies that mipmapping is a good idea:
libgdx
But this might be use-case-specific to libgdx.

Yes, it requires an asset generator that supports mipmaps. Could be an issue for the OpenLL Asset Generator.

Do you think it is worth it?
I think there are more important issues.

@cgcostume
Copy link
Member

hmm. Ok. It's not hard to test. Lets test this when rendering in one of the use cases works and decide based on the results.

@cgcostume cgcostume added this to PO Sign-Off in webgl-operate 1.0.0 Oct 16, 2018
@cgcostume cgcostume moved this from PO Sign-Off to Done in webgl-operate 1.0.0 Oct 16, 2018
@cgcostume cgcostume removed this from Done in webgl-operate 1.0.0 Oct 16, 2018
@anne-gropler
Copy link
Collaborator Author

anne-gropler commented Oct 19, 2018

A variation of this could be interesting: apparently, some font designs have variations in the font face depending on the font size, see optical sizes.
So the idea is, could we offer a variated "mipmap" with those font face variations? Or is this out of scope?

@cgcostume cgcostume added the question Further information is requested label Feb 24, 2020
@cgcostume cgcostume added the haeley-webgl-text Move/to be resolved in to haeley-webgl-text label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
haeley-webgl-text Move/to be resolved in to haeley-webgl-text question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants