Node Socket Shapes Design [Proposal] #127106

Open
opened 2024-09-03 15:30:13 +02:00 by Jacques Lucke · 0 comments
Member

This problem is described this a blog post.

Shape in Prototype Input Meaning Output Meaning
image Multiple Supported Types Multiple Possible Types
image Requires Single Value Is Single Value
image Requires Field Is Field
image Requires Grid Is Grid
  • Still need a name for these differences. Currently I call it the Structure Type.
  • Structure type of group inputs.
    • image
    • By default it is automatically determined if possible.
    • Can be choosen manually.
  • Structure type of group outputs.
    • Currently, I think it's possible to automatically determine it in all cases.
    • If not, we need the same dropdown for outputs too.
  • There is no visible inferencing between nodes.
    • E.g. currently the math node changes its socket shapes depending on what you connect. That would not happen anymore.
    • The socket shapes describe the behavior of a node on its own.
    • There is automatic inferencing for the group inputs/outputs though.
  • The link visualization of fields can still work as before.
    • It's somewhat nice to not communicate the field state twice (before the diamond shape and dashed lines communicated pretty much the same).
  • For field inputs, there is no difference anymore between sockets that have a default field value and those that don't like we had in the Set Position node.
    • image
    • This may require a new visualization, or we say that socket inspection is good enough.
  • Actual socket shapes (besides what is used in the prototype).
    • For single values we could start using line sockets based on a design by William Reynish.
      • image
    • If we use a new socket shape for single values, then we could use the circle for "dynamic" types.
      • This also has the advantage that many nodes that use the circle socket in shader/compositor nodes could keep using it.
      • Need to think about whether it's fine to change geometry/data-block/shader(?) sockets to use the thin socket too.
    • The diamond shape for fields is probably good to keep.
    • Still need proper socket shapes for Volume Grid, List and Image (+ Single?).
This problem is described [this](https://code.blender.org/2024/05/geometry-nodes-workshop-may-2024/#socket-shapes) a blog post. | Shape in Prototype | Input Meaning | Output Meaning | | -------------------------------------------------- | ------------------------ | ----------------------- | | ![image](/attachments/6a135c42-ed00-4e50-98aa-4b1108280ce5) | Multiple Supported Types | Multiple Possible Types | | ![image](/attachments/7bb70584-b016-4a6d-85a3-6a841ba6da14) | Requires Single Value | Is Single Value | | ![image](https://hackmd.io/_uploads/BJLc7dEnA.png) | Requires Field | Is Field | | ![image](https://hackmd.io/_uploads/SJuf4O4n0.png) | Requires Grid | Is Grid | * Still need a name for these differences. Currently I call it the **Structure Type**. * Structure type of **group inputs**. * ![image](https://hackmd.io/_uploads/BJOKVdE3C.png) * By default it is automatically determined if possible. * Can be choosen manually. * Structure type of **group outputs**. * Currently, I think it's possible to automatically determine it in all cases. * If not, we need the same dropdown for outputs too. * There is *no* visible **inferencing** between nodes. * E.g. currently the math node changes its socket shapes depending on what you connect. That would not happen anymore. * The socket shapes describe the behavior of a node on its own. * There *is* automatic inferencing for the group inputs/outputs though. * The **link visualization** of fields can still work as before. * It's somewhat nice to not communicate the field state twice (before the diamond shape and dashed lines communicated pretty much the same). * For field inputs, there is no difference anymore between sockets that have a **default field value** and those that don't like we had in the Set Position node. * ![image](https://hackmd.io/_uploads/rkU4POEhA.png) * This may require a new visualization, or we say that socket inspection is good enough. * Actual **socket shapes** (besides what is used in the prototype). * For single values we could start using **line** sockets based on a [design](https://projects.blender.org/blender/blender/issues/74967) by William Reynish. * ![image](https://hackmd.io/_uploads/HklB8uEhR.png) * If we use a new socket shape for single values, then we could use the **circle** for "dynamic" types. * This also has the advantage that many nodes that use the circle socket in shader/compositor nodes could keep using it. * Need to think about whether it's fine to change geometry/data-block/shader(?) sockets to use the thin socket too. * The **diamond** shape for fields is probably good to keep. * Still need proper socket shapes for `Volume Grid`, `List` and `Image` (+ `Single`?).
Jacques Lucke added the
Type
Design
label 2024-09-03 15:30:13 +02:00
Jacques Lucke added this to the Nodes & Physics project 2024-09-03 15:30:13 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
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
1 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#127106
No description provided.