Vector, RGB, Ramp and other Curve Nodes do not appear to respect spline tangents #113455
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#113455
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?
System Information
Operating system: Windows 10
Graphics card: GTX 1070
Blender Version
Broken: blender 4.0 to 4.1, but likely on all versions of blender, retroactive!
Worked: none
The Vector curve node has not received the spline math fix, that keyframes and the graph editor did. In many situations, this results in sharper gradients than expected, and "bifrucated" gradients/curves whose internal and external tangent both intersect the curve near the handle. This does happen for RGB curves, and I believe this also may affect color ramp too.
Exact steps for others to reproduce the error
just about every vector curves node setup will be affected to some degree, see reference image. (small spacing, and 45 degree angles exacerbate issue.)
This will be a breaking issue for some textures, materials, and geometry nodes. This should be done by blender 4.0 or blender 4.1. It will also "fix" many shaders that were subpar, noticeably some volumetricc shaders and gradient textures that were not as smooth as intended.
Vector Curve Nodes have incorrect spline mathto Vector, RGB and other Curve Nodes have incorrect spline mathjust a question, is this actually part of the UI module? It's not a paper cut or anything like that- the display on the node shows it correctly, too, but the math that goes into it is the issue. Here's a screenshot of it producing a pretty bad (and noticeable) result in geometry nodes. I'm not familiar if all of these nodes use the same math or not, or if the UI spline is the same one that's sampled (?) to get the result?
until now I was under the impression that all spline math in blender was from the same algorithm, so I thought the changes to fix it for the graph editor took place everywhere else.
Well, that is UI widget function.
it seems someone noticed this affects the ramp node as well. #108244
it's probably not the whole issue in that case, something else seems to be up, there, too, but upon testing with that file, there is no interpolation which respects the curve's tangents at both the center and approaching other points without causing a sharp edge. It may be smooth in math, but the resolution of the ramp doesn't seem to allow it in the case of a ramp like it would pure math or vector curves, making the effect more obvious.
I think reworking the nodes that contain a spline in their UI is needed- ideally committing all at once or in the same version, because, like I said, it's a breaking change for various materials, geometry nodes setups and other things, and we probably don't want 4.0 to have the fix only in shaders, or 4.1 to be missing a fix in specifically ramp nodes.
Vector, RGB and other Curve Nodes have incorrect spline mathto Vector, RGB, Ramp and other Curve Nodes do not appear to respect spline tangentsJust saw this on Blender Today and yes this is something that have been bugging me for quite some time but haven't gotten around to report. Most of the times I can live with what we have now, but other times this REALLY bothers me since there is no way of getting a curve perfectly smooth. Pretty please do something about it :)