blockbench icon indicating copy to clipboard operation
blockbench copied to clipboard

Per-face cube UVs are scaled with Texture Size changed via the Project menu (with Per-face default UV mode)

Open Cubouse opened this issue 7 months ago • 0 comments

What are you trying to do, and what do you expect to happen?

I was working on packing UVs better to halve the size of several textures, all belonging to 1 model. This model has Box and Per-face UV cubes, and had the Per-face default UV mode assigned automatically.

Because of https://github.com/JannisX11/blockbench/issues/2794, after packing the UVs, I closed the model tab and loaded the textures in the Image format to resize them quicker (from 128x64 to 64x64).

Then I opened the model back up. At this point its Texture Size is 128x64. I tried to change it from the Project menu to 64x64 to match the textures, but...

What happens instead?

All the faces of cubes with the Per-face UV mode got scaled with the new Texture Size (so shifted to the left in my case, scaled half as big like in that video), while the UVs of cubes in Box UV mode did not change.

https://github.com/user-attachments/assets/f9c4184b-631a-4a29-a8ce-b77a147dff56

I gave all this context to explain why this seemed like a bug to me. I spent 30+ minutes trying to work it out.

I wish that changing the Texture Size via the Project menu with the Per-face default UV mode worked the same as the Box default UV mode, where it does not affect Per-Face UVs. It is also how it works when having a texture loaded on a model, and resizing the texture.

Model format in which the issue occurs

Bedrock entity

Blockbench variant

Program

Blockbench version

4.12.4

Operating System

W10

Installed Blockbench plugins

N/A

Cubouse avatar May 23 '25 01:05 Cubouse