AtlasViewer

AtlasViewer

461 Downloads

Displaying free pixel count (or dimensions of available space) in AtlasViewer view

Chaos02 opened this issue · 5 comments

commented

Hi - just thought about two minor enhancements:

  • Displaying available unused texture space on the atlas as dimensions and maximum texture atlas size
  • Counting how much space a certain (mod) domain takes up on the atlas

I'd guess this is a pretty simple feature but I think for sure they would be a welcome one to ressourcepack creators (especially for modpacks)
It lets you approximate, how much texture patches still fit on the atlas and at which resolution they should fit

greetings ^^

commented

Adding more info about the atlas itself is planned, I just have to be careful to not make the information confusing or even outright misleading. This is especially relevant for the atlas size because it is variable and can grow up to the maximum texture size supported by the GPU (on modern hardware this is between 8k x 8k and 32k x 32k depending on the GPU model).
Showing how much of the used space and total space each namespace consumes is definitely a useful addition I will include.

commented

Hey - just a question - could you create a minor release for 1.18 including this? Would be really great!!

a41cbb8

commented

I don't know yet. Parts of the texture atlas system have received significant changes between 1.18 and 1.20, meaning it's significantly more work than just copying the code to the older versions and quickly making sure it works. I'll look into the feasibility of a backport but I won't promise anything.

commented

I have decided to not do any backports for now. I currently simply don't have the time needed to dig into the significant changes to the texture atlas system again and backport this.

commented

sadge thanks anyways! great work, you really helped me troubleshoot my ressource pack issues, being basically the only one aside Continuum Textures that has any information about maximum texture atlas size ^^