GithubHelp home page GithubHelp logo

Standardise texture atlases about osu-framework HOT 3 CLOSED

ppy avatar ppy commented on July 30, 2024
Standardise texture atlases

from osu-framework.

Comments (3)

 avatar commented on July 30, 2024

So what is main.layout? do the other files i.e. main_n.png ,etc... correspond to whole sprite sheets or individual textures?

Also make GlyphStore a subclass of what? It is already derived from IResourceStore. I'm not sure what you want the potential superclass of GlyphStore to provide, or precisely what else derives from it.

Are there any constraints on the size of the texture atlas? Your TextureStore makes atlases of size 2048x2048, why that size?

Just curious.

from osu-framework.

peppy avatar peppy commented on July 30, 2024
  • main.layout would define the sprites in main_0 .. main_n.
  • a class other than GlyphStore will be required to do non-character-based lookups. Functionality can be moved there which is shared between GlyphStore and the new store.
  • 2048x2048 is chosen because all GPUs supporting our GL target version support it. In the future, it could potentially be set to the gl_max_texture_size where that becomes an optimisation.

from osu-framework.

Tom94 avatar Tom94 commented on July 30, 2024

No longer relevant

from osu-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.