Float Math Functions in GN and Shaders #94899
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#94899
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?
Purpose of this task is to agree on how to extend math nodes in GN and Shader nodes and support float2 when it is added.
Reason: there is currently no way to run many math operations on float3 and float2 (when it is added), D13550: Nodes: Expand Math and Vector Math functions highlighted the need that there should be a design and agreement on how to do this.
Types of math operation:
User considerations:
Domain:
Proposal:
Added subscriber: @CharlieJolly
Math Functions in GN and Shadersto Float Math Functions in GN and ShadersAdded subscriber: @MysteryPancake
Maybe a data type dropdown could be added to "Math", like in Map Range and Mix:
It could be used to show/hide operations which only apply to higher dimensional data, such as dot(), length(), cross(), or lower dimensional data like integer operations.
This could make it possible to merge "Vector Math", "Integer Math" and "Boolean Math", since the data type could hide irrelevant operations
Added subscriber: @Quver
Reposting here my little feedback: Would be good to have dynamic sockets on some math operations to be able to input multiple values into one node. This would drastically reduce node trees clutter and won't take much space on the existing nodes (definitely less than using 2 nodes itself). Here is my quick mockup how that could look:
+/- buttons add and remove additional sockets.
Of course those buttons will be available only on those operations where it's possible: add, subtract, multiply, divide, maximum, minimum.
I like this idea too, maybe using the multi-input from Geometry Join:
This looks even better (no additional buttons) but won't allow just typing numbers into the fields :(
Ah true, nevermind, yours is much better for editing the values :)
Added subscriber: @GeorgiaPacific
Notes from 2022-10-31 Geometry Nodes Post BCON22 Workshop
https://devtalk.blender.org/t/2022-10-31-geometry-nodes-post-bcon22-workshop/26491#math-nodes-15
Math Nodes