Skip to content

refine texture byte size once known#178

Open
sdumetz wants to merge 1 commit into
cnr-isti-vclab:masterfrom
sdumetz:texsize
Open

refine texture byte size once known#178
sdumetz wants to merge 1 commit into
cnr-isti-vclab:masterfrom
sdumetz:texsize

Conversation

@sdumetz

@sdumetz sdumetz commented Jun 18, 2026

Copy link
Copy Markdown

After decoding we know the real texture size in GPU RAM so we may update the cache size to a more precise value.

This is useful for two reasons because 10x inflate over compressed size can be quite a bit lower than the real value for highly compressed images. On the few models I tested it was consistently 50-70% lower than the real size.

For highly textures photogrammetry models that can amount to hundreds of MB of error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant