UV: add UV orientation overlay to UV editor #119329

Open
Samuel Bilek wants to merge 5 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 stretch-related.

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 stretch-related. 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.
Samuel Bilek added 5 commits 2024-03-11 16:33:37 +01:00
9a268be332 UV: add UV orientation overlay to UV editor
The overaly paints UV vertices with blue and red colors depending on
the orientation of their face triangle. Since triangles can share
vertices, the red color signifying opposite orientation will always
override blue color on a shared vertex.
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 EEVEE & Viewport 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
This pull request has changes conflicting with the target branch.
  • source/blender/draw/intern/draw_cache_extract.hh
  • source/blender/draw/intern/draw_cache_impl.hh
  • source/blender/draw/intern/draw_cache_impl_mesh.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 Browser
Interest
Asset Browser Project Overview
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
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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.