Regression: Uv Unpacking creates diagonal pieces instead of straight ones. #109906
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#109906
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.15.0-76-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.105.01
Blender Version
Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash:
c7fc78b81ecb
Worked: 3.5 and previous
Caused by
3ea060860a
Short description of error
Unwrapping acts like packing and tries to fit the island in the texture area instead of trying to maintain orientation like before.
This is making working with texture atlases and trimsheets extremely annoying requiring my team to rotate these pieces and flatten out the edges cause they're not just rotated at a 45 degree angle or a 90 degree one as they used to sometimes be. There doesn't seem to be any option to turn this new behaviour off in the unwrapping options panel...
It's gotten to the point where people are ditching 3.6 altogether because it's hampering work, which is why we're assuming it's a bug with the amount of additional work it's created.
Steps to Reproduce
UVRotation.blend
To be clear, the expected behaviour here is that the unwrapped piece on the right, when pressing U - Unwrap, be straight in the UV space and at worst rotated at 90 degree angles instead of being diagonal like that.
Hi, thanks for the report. Could you share .blend file and steps to redo the issue locally?
cc @Chris_Blackbourn
We can potentially add options to the Unwrap operator to help with this. It will probably make the most sense to bundle with #78395
In the interim, have you maybe tried "UV > Align Rotation > Auto" from the UV Editor menu?
Just unwrap the selected quad. in 3.5 the quad unwraps straight (ideally it would maintain it's orientation in 3D but 90 degree rotations are still acceptable). In 3.6 it's rotated diagonally. Sometimes the rotations are 45 degrees, on other polygons they're less predictable.
Hey, yeah that does the job! It'd be great to be able to set that behaviour as default in the unwrap settings.
Yes, can confirm (missed the notification somehow)
Uv Unpacking creates diagonal pieces instead of straight ones.to Regression: Uv Unpacking creates diagonal pieces instead of straight ones.Caused by
3ea060860a
In the general case, rotations like this can help make packing a lot more efficient. So I think an option to control rotation would make sense.
For this particular case, we could just never rotate (or only 90°) when packing single islands. Once you add two or more islands it's not likely to pack things diagonally anymore. It's still possible, but perhaps means that users would not have to manually set a rotation option often.
Another thing to consider is that rotating islands and maximising space when packing is not always as beneficial for baking as people think. It promotes diagonal lines where straight ones would be instead and pixelates straight lines often requiring much higher resolution bakes, in fact it's pretty unwanted in lightmap packing. And for games textures get scaled down or mip-mapped and you want straight lines to bake as straight to minimise pixelation.