Fix #103387: Radius affects curves bounding box #105154

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:fix-curves-bounds-radius into blender-v3.5-release 2023-02-27 00:01:13 +01:00
Member

e8f4010611 unified the bounds computation for the new curves
object type and the rest of the curves system used by geometry nodes.
In the process, it made bounds affected by the control point radius.
In theory that makes sense; the bounds are supposed to be the extents
of the visible geometry. But in practice the change wasn't expected,
for a few reasons:

  • The radius has never affected the bounds for the legacy curve type
  • The default radius of legacy curve objects is absurdly large at 1.0m
  • Only the new curve object has visible radius, and only in "strip"
    mode or when rendered with Cycles

Currently the bounds are only used for the "Bounding Box" geometry node
and the panel in the 3D viewport sidebar, so there isn't any incentive
to choose less intuitive behavior yet.

Long term, the correct behavior is probably to include the radius in
the bounds, but this commit postpones that change to when it works
better with the rest of the curves system.

e8f4010611e76e0b88cd unified the bounds computation for the new curves object type and the rest of the curves system used by geometry nodes. In the process, it made bounds affected by the control point radius. In theory that makes sense; the bounds are supposed to be the extents of the visible geometry. But in practice the change wasn't expected, for a few reasons: - The radius has never affected the bounds for the legacy curve type - The default radius of legacy curve objects is absurdly large at 1.0m - Only the new curve object has visible radius, and only in "strip" mode or when rendered with Cycles Currently the bounds are only used for the "Bounding Box" geometry node and the panel in the 3D viewport sidebar, so there isn't any incentive to choose less intuitive behavior yet. Long term, the correct behavior is probably to include the radius in the bounds, but this commit postpones that change to when it works better with the rest of the curves system.
Hans Goudey added this to the 3.5 milestone 2023-02-23 21:19:23 +01:00
Hans Goudey added the
Interest
Geometry Nodes
Module
Nodes & Physics
labels 2023-02-23 21:19:23 +01:00
Hans Goudey added 1 commit 2023-02-23 21:19:35 +01:00
buildbot/vexp-code-patch-coordinator Build done. Details
6eaaceda80
Fix #103387: Radius affects curves bounding box
e8f4010611 unified the bounds computation for the new curves
object type and the rest of the curves system used by geometry nodes.
In the process, it made bounds affected by the control point radius.
In theory that makes sense; the bounds are supposed to be the extents
of the visible geometry. But in practice the change wasn't expected,
for a few reasons:
 - The radius has never affected the bounds for the legacy curve type
 - The default radius of legacy curve objects is absurdly large at 1.0m
 - Only the new curve object has visible radius, and only in "strip"
   mode or when rendering with Cycles

Currently the bounds are only used for the "Bounding Box" geometry node
and the panel in the 3D viewport sidebar, so there isn't any incentive
to choose less intuitive behavior yet.

Long term, the _correct_ behavior is probably to include the radius in
the bounds, but this commit postpones that change to when it works
better with the rest of the curves system.
Hans Goudey added this to the Nodes & Physics project 2023-02-23 21:19:59 +01:00
Hans Goudey requested review from Jacques Lucke 2023-02-23 21:20:07 +01:00
Member

@blender-bot build

@blender-bot build
Jacques Lucke approved these changes 2023-02-24 14:38:40 +01:00
Hans Goudey merged commit 97a8bb450c into blender-v3.5-release 2023-02-27 00:01:13 +01:00
Hans Goudey deleted branch fix-curves-bounds-radius 2023-02-27 00:01:16 +01:00
Sign in to join this conversation.
No reviewers
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
2 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#105154
No description provided.