Resample Node Deletes All Curves. #102598

Open
opened 2022-11-18 09:58:09 +01:00 by paul geraskin · 16 comments
Member

System Information
Windows

Blender Version
3.2-3.4

Short description of error
The ResampleCurve node deletes curves it their lengths are less than the length of the ResampleCurve node. I expect it will leave Lines at least. In Houdini a resample node doesn't delete curves. Could you please check it out?
Probably you could add a checkbox to leave curves with less length.

My Blend file:
tmp_1.blend

image.png
image.png

Exact steps for others to reproduce the error
Open my blend file and mute/unmute the CurveResample node.

**System Information** Windows **Blender Version** 3.2-3.4 **Short description of error** The ResampleCurve node deletes curves it their lengths are less than the length of the ResampleCurve node. I expect it will leave Lines at least. In Houdini a resample node doesn't delete curves. Could you please check it out? Probably you could add a checkbox to leave curves with less length. My Blend file: [tmp_1.blend](https://archive.blender.org/developer/F13940375/tmp_1.blend) ![image.png](https://archive.blender.org/developer/F13940377/image.png) ![image.png](https://archive.blender.org/developer/F13940380/image.png) **Exact steps for others to reproduce the error** Open my blend file and mute/unmute the CurveResample node.
Author
Member

Added subscriber: @PaulGeraskin

Added subscriber: @PaulGeraskin

Added subscriber: @mod_moder

Added subscriber: @mod_moder

Your curves have length less than 1.0
As I checked, this is how it worked in 3.1, so there are not even point
I don't think there is a bug.

Your curves have length less than 1.0 As I checked, this is how it worked in 3.1, so there are not even point I don't think there is a bug.
Member

Added subscribers: @HooglyBoogly, @lichtwerk

Added subscribers: @HooglyBoogly, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Guess this will be a design decision, but I can confirm on first sight, this is a bit unexpected.
But it is also a bit unclear what to do in such a situation: just keep a single segment alive? Or just return the whole original curve as it was?

CC @HooglyBoogly

Guess this will be a design decision, but I can confirm on first sight, this is a bit unexpected. But it is also a bit unclear what to do in such a situation: just keep a single segment alive? Or just return the whole original curve as it was? CC @HooglyBoogly
Author
Member

@mod_moder just imagine you have 1000 curves with random length and after CurveResample you've got 800 curves. I expect to resample curves only but not to delete them.

@lichtwerk Thanks. If it's the design then it looks weird as I don't expect that curves to be deleted. In Houdini there will be a line with 2 points instead of deleting a curve. I think we could stick to the Houdini way. Or add a checkbox for this at least.

@mod_moder just imagine you have 1000 curves with random length and after CurveResample you've got 800 curves. I expect to resample curves only but not to delete them. @lichtwerk Thanks. If it's the design then it looks weird as I don't expect that curves to be deleted. In Houdini there will be a line with 2 points instead of deleting a curve. I think we could stick to the Houdini way. Or add a checkbox for this at least.
Member

Added subscriber: @CharlieJolly

Added subscriber: @CharlieJolly

In fact, if I want to overdeskritize curves, I expect those that are too meek to not waste time rendering. So it's optional

In fact, if I want to overdeskritize curves, I expect those that are too meek to not waste time rendering. So it's optional
Author
Member

@mod_moder Well, if you want to delete curves then just delete them by length. But that's certainly a different operation.

@mod_moder Well, if you want to delete curves then just delete them by length. But that's certainly a different operation.

If you don't want to lose curves, merge them...
Yes, just a checkbox to save or delete points, the same problem as with non-polygon point primitives when deleting polygons.

If you don't want to lose curves, merge them... Yes, just a checkbox to save or delete points, the same problem as with non-polygon point primitives when deleting polygons.

Added subscriber: @hadrien

Added subscriber: @hadrien

I never ran into this case before, but it makes sense to me that the resampling would stop at two points if the resample length is greater than the length of a curve. It's easy to correct but with a lot of curves I can see how this could go unnoticed.

I never ran into this case before, but it makes sense to me that the resampling would stop at two points if the resample length is greater than the length of a curve. It's easy to correct but with a lot of curves I can see how this could go unnoticed.
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:43:29 +01:00

If we can't please everyone (why want at less single point, and other once, why dont't wnat to have curves at all), should we keep it open?

If we can't please everyone (why want at less single point, and other once, why dont't wnat to have curves at all), should we keep it open?
Author
Member

Shure it must be open. It's an issue. There are no answers from developers yet.

Shure it must be open. It's an issue. There are no answers from developers yet.

It seems very easy to solve this problem. I am not sure the benefit and cost writing this into the code.
I will upvote implementing it if it doesn't cost performance.
image

It seems very easy to solve this problem. I am not sure the benefit and cost writing this into the code. I will upvote implementing it if it doesn't cost performance. ![image](/attachments/3df3c16c-b85a-44d0-b57c-715721a4f3c2)
141 KiB
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 project
No Assignees
6 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#102598
No description provided.