Animation: Graph Editor - grey out area outside of normalization range #106302

Merged
Christoph Lendenfeld merged 3 commits from ChrisLend/blender:graph_editor_normalized_backdrop into main 2023-03-31 13:54:43 +02:00

When normalization is enabled in the Graph Editor, the area outside the -1/1 range on the y axis isn't meaningful. To visually represent that this patch greys out that area just as it does with anything outside the current frame range.


suggested here: https://devtalk.blender.org/t/animation-editors-paper-cuts/27263/65?u=christophlendenfeld

image

When normalization is enabled in the Graph Editor, the area outside the -1/1 range on the y axis isn't meaningful. To visually represent that this patch greys out that area just as it does with anything outside the current frame range. ------ suggested here: https://devtalk.blender.org/t/animation-editors-paper-cuts/27263/65?u=christophlendenfeld ![image](/attachments/6422ee27-f0a9-4d86-85eb-4916d11ed129)
Christoph Lendenfeld added the
Module
Animation & Rigging
label 2023-03-30 12:35:14 +02:00
Christoph Lendenfeld added 1 commit 2023-03-30 12:35:25 +02:00
Christoph Lendenfeld added this to the Animation & Rigging project 2023-03-30 12:37:48 +02:00
Sybren A. Stüvel approved these changes 2023-03-30 14:55:09 +02:00
Sybren A. Stüvel left a comment
Member

Few tiny things that can be adjusted before merging.

Before merging, let's show this at today's meeting to get a bit more feedback. I predict lots of 🥳 👍 👏

Few tiny things that can be adjusted before merging. Before merging, let's show this at today's meeting to get a bit more feedback. I predict lots of 🥳 👍 👏
@ -185,0 +188,4 @@
GPU_blend(GPU_BLEND_ALPHA);
GPUVertFormat *format = immVertexFormat();
uint pos = GPU_vertformat_attr_add(format, "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);

const

`const`
ChrisLend marked this conversation as resolved
@ -185,0 +194,4 @@
immUniformThemeColorShadeAlpha(TH_BACK, -25, -100);
if (v2d->cur.ymax >= 1) {
immRectf(pos, (float)scene->r.sfra, 1, scene->r.efra, v2d->cur.ymax);

Either efra needs a (float) too (I don't think so), or (float) can be removed.
On Clang 14 / Linux I don't get any warnings when I remove the (float).

Either `efra` needs a `(float)` too (I don't think so), or `(float)` can be removed. On Clang 14 / Linux I don't get any warnings when I remove the `(float)`.
ChrisLend marked this conversation as resolved
Sybren A. Stüvel added this to the 3.6 LTS milestone 2023-03-30 14:55:22 +02:00
Member

as followup to A&R meeting i am uploading the image as reference for the normalize overlays.

General idea is having vertical limits less opaque.

as followup to A&R meeting i am uploading the image as reference for the normalize overlays. General idea is having vertical limits less opaque.
Christoph Lendenfeld added 2 commits 2023-03-31 10:40:48 +02:00
Author
Member

reduced the contrast to match what was discussed in the A&R module meeting

reduced the contrast to match what was discussed in the A&R module meeting
Christoph Lendenfeld merged commit 7775fecb14 into main 2023-03-31 13:54:43 +02:00
Christoph Lendenfeld deleted branch graph_editor_normalized_backdrop 2023-03-31 13:54:44 +02:00
First-time contributor

Picking this one up for documentation.

Picking this one up for documentation.
Sybren A. Stüvel removed this from the Animation & Rigging project 2023-04-11 15:32:44 +02:00
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 project
No Assignees
4 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#106302
No description provided.