Visualization of fields on the node editor #90869
Labels
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#90869
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
In the attribute workflow with fields some sockets/links contain data while some contain functions that only compute data later on. The goal of this task is to decide how we want to visualize different aspects of this design in the node editor.
In earlier discussions we noticed that there are numerous aspects that can be visualized. Showing all different aspects at all times will probably overload the ui. Therefore, part of this task is to prioritize it is to visualize different aspects. The most important aspects can then always be shown, while other aspects are e.g. only visible in tooltips or when creating new links.
Aspects that can be visualized:
The main things we can change for the visualization are socket shapes/colors/borders/... and link styles/colors/...
Changing node shapes has also been discussed a bit, but I don't find that very practical for this purpose. That quickly breaks down when one starts to build node groups.
We should also keep in mind that we might want to reuse the concept of fields in other node systems in the future. So if possible, we should try to avoid making the visualization too specialized for geometry processing.
Currently, my personal take on this is as follows. The two most important things to visualize are:
I would not visualize the different kinds of fields differently based on what they depend on. In the majority of cases that will probably be obvious based on where the field is coming from. Still, the exact dependencies of a field should be visible in the socket inspection. Note, the same node can sometimes output a field sometimes not (e.g. the math node) depending on the inputs, so the visualization has to be a bit dynamic.
For better learnability I like the idea of graying out sockets that you should not connect a field to (because it is not "downstream" and is missing required anonymous attributes).
Added subscriber: @JacquesLucke
I worked on a quick prototype for this yesterday. Here is a video for reference:
2021-08-25 15-32-39.mp4
It's just a simple tech demo for the visualization, so the socket shapes are temporary.
There are three different socket shapes:
Vertical bar: This socket is required to be data, not some field. This socket type propagates from right to left.
Combination of vertical bar and circle: This socket currently always contains data, but it is allowed to be a field.
Circle: This socket may be a field. This propagates from left to right.
All socket shapes can be connected to a circle.
A circle cannot be connected to a vertical bar.
Added subscriber: @Aeraglyx
https://devtalk.blender.org/t/2021-08-09-2021-9-03-geometry-nodes-sub-module-meetings/20314
Think we have enough design for now to work on the initial implementation for the visualization. We might need a separate future task to work out some of the details.
Changed status from 'Needs Triage' to: 'Resolved'
Added subscriber: @GeorgiaPacific