Geometry node group input for "Single Value Only" #110807

Closed
opened 2023-08-04 18:25:49 +02:00 by Hans Goudey · 4 comments
Member

Add a new "Single Value Only" option to node group inputs, only for geometry nodes.

This would hard-code the non-field status of that input, and remove the "Use attribute" toggle in modifier and tool inputs.

Add a new "Single Value Only" option to node group inputs, only for geometry nodes. This would hard-code the non-field status of that input, and remove the "Use attribute" toggle in modifier and tool inputs.
Hans Goudey added the
Type
To Do
label 2023-08-04 18:25:49 +02:00
Hans Goudey added this to the Nodes & Physics project 2023-08-04 18:25:51 +02:00
Hans Goudey added the
Interest
Geometry Nodes
label 2023-08-04 18:26:06 +02:00

Like the field interface fact, this can be deduced automatically. And it can be used in the modifier panel.
This creates a limitation in cases where it is not used for its intended purpose. If you can enter a field, then your asset should be able to. If he can't do it, it's:

  • Or the limitation of built-in nodes.
  • The author of the asset came up with a good reason for me why I will no longer use his assets. I'll edit it anyway so that built-in nodes can work as intended with fields, and I will write to the author about how he did badly.

The problem that simulations or repeat zones need to work explicitly with singles or fields. And now there is no data in the interface about topology analysis and field interface. But it can be added, like the shape of the socket.

Assets, as a tool, still have to obey this logic.

Like the field interface fact, this can be deduced automatically. And it can be used in the modifier panel. This creates a limitation in cases where it is not used for its intended purpose. If you can enter a field, then your asset should be able to. If he can't do it, it's: - Or the limitation of built-in nodes. - The author of the asset came up with a good reason for me why I will no longer use his assets. I'll edit it anyway so that built-in nodes can work as intended with fields, and I will write to the author about how he did badly. The problem that simulations or repeat zones need to work explicitly with singles or fields. And now there is no data in the interface about topology analysis and field interface. But it can be added, like the shape of the socket. Assets, as a tool, still have to obey this logic.

I think this is good to have even if we can probably live without it too .

For modifiers panel I often find that the toggle tends to crowd the UI too much especially when the value isn't meant to be used as a field (even if it could).
Making good looking modifiers panels is actually difficult especially with complex geo-node setups, in that matter every little addition helps.

This can also be seen the other way around, like explicitly leaving this area as a field allows to point out that adding an attribute there is how the tool is supposed to be used.

I agree with @mod_moder that this shouldn't be over-done and in other cases adding artificial limitation isn't a good idea.
But at least it's good to have the choice rather than doing hacks like these :
image

I think this is good to have even if we can probably live without it too . For modifiers panel I often find that the toggle tends to crowd the UI too much especially when the value isn't meant to be used as a field (even if it could). Making good looking modifiers panels is actually difficult especially with complex geo-node setups, in that matter every little addition helps. This can also be seen the other way around, like explicitly leaving this area as a field allows to point out that adding an attribute there is how the tool is supposed to be used. I agree with @mod_moder that this shouldn't be over-done and in other cases adding artificial limitation isn't a good idea. But at least it's good to have the choice rather than doing hacks like these : ![image](/attachments/b5ff7fe4-a111-4baf-9f8b-50b16a40f71d)
106 KiB

@sozap You showed the same example I was talking about. If I used this group myself, i would actuall remove your hack so that it does not interfere with my use of the fields)

@sozap You showed the same example I was talking about. If I used this group myself, i would actuall remove your hack so that it does not interfere with my use of the fields)

Sure ! Then it's probably better to do that in the group panel rather than looking for disconnected nodes.
Obviously power users will prefer to avoid unnecessary limitations and in many cases this feature is probably useless.

However, when building tools/modifiers for non-technical artists I found myself wanting to do that e few times !
Nodes allows to build complex tools and at the same time modifier panel is by design a minimalist interface, more control over the UI in general is super useful.

Sure ! Then it's probably better to do that in the group panel rather than looking for disconnected nodes. Obviously power users will prefer to avoid unnecessary limitations and in many cases this feature is probably useless. However, when building tools/modifiers for non-technical artists I found myself wanting to do that e few times ! Nodes allows to build complex tools and at the same time modifier panel is by design a minimalist interface, more control over the UI in general is super useful.
Blender Bot added the
Status
Archived
label 2023-10-23 12:40:23 +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
3 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#110807
No description provided.