Giter Club home page Giter Club logo

Comments (9)

Dark-Arcana avatar Dark-Arcana commented on July 17, 2024

I don't understand why this is an issue. Seems somewhat pedantic? I see your conversation about it in NeoForge but I didn't actually port the mod over to Neo yet.

What actual gain is there to be made by altering this texture?

from chemlib.

Lolothepro avatar Lolothepro commented on July 17, 2024

A texture like that costs a lot of VRAM, and it's better to load lots of small textures than one big one like that.
Also, doing this causes problems for translating the mod.

from chemlib.

Dark-Arcana avatar Dark-Arcana commented on July 17, 2024

I understand. The large texture should be loaded in another way to reduce vram usage. Honestly, it's extremely low priority because it's not actually causing a problem. But I'm not going to break the texture into a bunch of smaller pieces to make it easier for translating.

from chemlib.

Geolykt avatar Geolykt commented on July 17, 2024

Though to be honest I wouldn't like to be the person that segments the large texture into a bunch of tiny ones - even though I reckon the vast majority can be handled with ninepatches (though the background would be a tenpatch). The most difficult thing here would be to handle the arrows.

But I'm not the person to be willing to do that work just yet - there's already enough for me to do

from chemlib.

Lolothepro avatar Lolothepro commented on July 17, 2024

First, you can simply downscale the texture, and then do the work later?

from chemlib.

Dark-Arcana avatar Dark-Arcana commented on July 17, 2024

Yeah I am not willing to do that. You have to balance development time with the actual benefit provided by the outcome. I see very little benefit from this.

from chemlib.

Dark-Arcana avatar Dark-Arcana commented on July 17, 2024

First, you can simply downscale the texture, and then do the work later?

Why would I downscale the texture? We went with a higher resolution to make it look nice. If I reduced the resolution, it wouldn't look as good.

from chemlib.

Dark-Arcana avatar Dark-Arcana commented on July 17, 2024

I am planning on updating / porting my mods for 1.21 when I get time in the coming weeks. I can consider looking at this texture to see how small I can make it before it looses detail. I can also load the texture differently. It's a screen and shouldn't be in the atlas with blocks and items. I'm fine with doing that, but I won't cut the image into smaller pieces.

from chemlib.

douira avatar douira commented on July 17, 2024

The high resolution wastes a lot of texture space, and it can lead to bugs with block rendering when the atlas gets too big.

Maybe using a pixelated symbol, or a striped effect on the element's boxes would convey the same information? It would also be more in line with the pixelated art style of the game and mod.

from chemlib.

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.