Nodes backend inconsistency overview #120855

Open
opened 2024-04-20 17:09:44 +02:00 by Iliya Katushenock · 0 comments

This is overview of different built-in nodes editor backends that are inconsistent in cases that are shared between of them.
This is general behavior, not engine-related one.

Source of value

Source of value is the socket. So, if user can see value on the scene then this value is in some certain socket or result of computations that is based on such socket value.
Only one exception here is Reroute node. This is source less socket.
Value of the socket can be non trivial. Examples:

  1. Implicit field inputs in geometry nodes.
  2. Automatic UV input in shader texture nodes.

But value have to be.

General rules for consistency:

  1. Muted node:
    Muted node still have sockets and this sockets still have its values. This values have to be accessible via internal links.
  2. Dangling Reroute:
    If branch of reroute nodes is not connected to any source of the value, this branch have no any effect on the target socket.
  3. Group Interface:
    Group interface corresponding additional set of sockets in external/internal node tree and this values have to take into account.

Current issues in behavior of the node editors:

  1. Cycles ignore socket value of muted node and retrieve zero.
  2. Compositor and Eevee ignore mute node and retrieve latest socket of non-muted node.
  3. Cycles doesn't ignore dangling reroutes.

Implicit type conversion

Type conversion is based on the socket types. If socket is there and link is connected, value should be converted.
No matter what the state of the node is. Socket have to perform type conversion on the value in any case.
This is visibly pointed by the link style between sockets.

Current issues in behavior of the node editors:

  1. Compositor and Eevee skip type conversion in case of through link of node group and muted node.
  2. Cycles skip conversion for input socket of node group.

If link is colored by unusual color, this is not the link.

  1. Muted link:
    This link is intentionally muted by used, so user can change default value of socket for fast check.
  2. Invalid link.
    There is no implicit type cast between sockets of the link. Value should be such so user will want to fix this. So this is one exception where value can be zero. This is invalid case and user should fix this, instead of keep have this.

Current issues in behavior of the node editors:

  1. Geometry Nodes do not produce zero result for invalid links.
This is overview of different built-in nodes editor backends that are inconsistent in cases that are shared between of them. This is general behavior, not engine-related one. ### Source of value Source of value is the socket. So, if user can see value on the scene then this value is in some certain socket or result of computations that is based on such socket value. Only one exception here is Reroute node. This is source less socket. Value of the socket can be non trivial. Examples: 1. Implicit field inputs in geometry nodes. 2. Automatic UV input in shader texture nodes. But value have to be. General rules for consistency: 1. Muted node: Muted node still have sockets and this sockets still have its values. This values have to be accessible via internal links. 2. Dangling Reroute: If branch of reroute nodes is not connected to any source of the value, this branch have no any effect on the target socket. 3. Group Interface: Group interface corresponding additional set of sockets in external/internal node tree and this values have to take into account. Current issues in behavior of the node editors: 1. Cycles ignore socket value of muted node and retrieve zero. 2. Compositor and Eevee ignore mute node and retrieve latest socket of non-muted node. 3. Cycles doesn't ignore dangling reroutes. ### Implicit type conversion Type conversion is based on the socket types. If socket is there and link is connected, value should be converted. No matter what the state of the node is. Socket have to perform type conversion on the value in any case. This is visibly pointed by the link style between sockets. Current issues in behavior of the node editors: 1. Compositor and Eevee skip type conversion in case of through link of node group and muted node. 2. Cycles skip conversion for input socket of node group. ### Rainbow link If link is colored by unusual color, this is not the link. 1. Muted link: This link is intentionally muted by used, so user can change default value of socket for fast check. 2. Invalid link. There is no implicit type cast between sockets of the link. Value should be such so user will want to fix this. So this is one exception where value can be zero. This is invalid case and user should fix this, instead of keep have this. Current issues in behavior of the node editors: 1. Geometry Nodes do not produce zero result for invalid links.
Iliya Katushenock added the
Type
Design
label 2024-04-20 17:09:44 +02:00
Iliya Katushenock self-assigned this 2024-04-20 17:09:45 +02:00
Iliya Katushenock added this to the Nodes & Physics project 2024-04-20 17:09:45 +02:00
Iliya Katushenock added the
Interest
Compositing
Interest
Cycles
Interest
EEVEE
labels 2024-04-20 17:13:04 +02:00
Iliya Katushenock added the
Interest
Geometry Nodes
label 2024-04-26 23:46:53 +02:00
Sign in to join this conversation.
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
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#120855
No description provided.