UV: add UV orientation overlay to UV editor #119329

Open
Samuel Bilek wants to merge 1 commits from Samuel-Bilek-1/blender:add_uv_orientation_overlay into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Contributor

Adds a new overlay to the UV editor that colors vertices of faces based on the orientation of their face triangle. The "bad" orientation will always override the "good" orientation on vertices shared by multiple triangles. This was added on top of the stretch overlay functionality, which all together was renamed to UV Color as the new overlay is not related to only stretching.

This patch was created during a creative jam and I mostly tried to replicate already existing Blender code, so I would appreciate any advice on how to make it better.

Adds a new overlay to the UV editor that colors vertices of faces based on the orientation of their face triangle. The "bad" orientation will always override the "good" orientation on vertices shared by multiple triangles. This was added on top of the stretch overlay functionality, which all together was renamed to UV Color as the new overlay is not related to only stretching. This patch was created during a creative jam and I mostly tried to replicate already existing Blender code, so I would appreciate any advice on how to make it better.
First-time contributor

Seems very useful! Thanks for working on more UV stuff! It is always appreciated :)

Seems very useful! Thanks for working on more UV stuff! It is always appreciated :)
Iliya Katushenock added this to the Viewport & EEVEE project 2024-03-11 16:58:32 +01:00
Iliya Katushenock added the
Module
Modeling
Interest
UV Editing
labels 2024-03-11 16:58:39 +01:00
Samuel Bilek force-pushed add_uv_orientation_overlay from a3a211e0ff to 9597d7d425 2024-06-16 13:24:39 +02:00 Compare
Samuel Bilek force-pushed add_uv_orientation_overlay from 9597d7d425 to 20b85595d2 2024-06-16 15:55:11 +02:00 Compare
Samuel Bilek force-pushed add_uv_orientation_overlay from 20b85595d2 to ada6fcf4d7 2024-06-16 15:57:48 +02:00 Compare
Samuel Bilek force-pushed add_uv_orientation_overlay from ada6fcf4d7 to 8a6996b4a5 2024-06-16 16:16:27 +02:00 Compare
Author
Contributor

@HooglyBoogly Could you look at this please? You recently made a lot of refactors around the code this PR touches. Could you give me some feedback please?

@HooglyBoogly Could you look at this please? You recently made a lot of refactors around the code this PR touches. Could you give me some feedback please?
This pull request has changes conflicting with the target branch.
  • source/blender/blenkernel/BKE_blender_version.h
  • source/blender/blenloader/intern/versioning_400.cc
  • source/blender/draw/engines/overlay/shaders/infos/overlay_edit_mode_info.hh
  • source/blender/draw/engines/overlay/shaders/overlay_edit_uv_stretching_vert.glsl
  • source/blender/makesrna/intern/rna_space.cc

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u add_uv_orientation_overlay:Samuel-Bilek-1-add_uv_orientation_overlay
git checkout Samuel-Bilek-1-add_uv_orientation_overlay
Sign in to join this conversation.
No reviewers
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 Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#119329
No description provided.