Improve: Curve Mesh discontinuity with varying point radii #86389

Closed
opened 2021-03-08 13:10:48 +01:00 by Jamell Moore · 9 comments

I'm creating an animated ribbon gradient for my logo using splines and generated geometry. The ribbon is tapered at the ends by making the radii at the endpoints smaller to achieve the look; but I've ran into and issue with the generated mesh.

Issue

When creating a mesh from a curve using the geometry options, with varying point radii, the generated mesh becomes discontinuous at the point regions.

Steps to Reproduce

  • Create V shaped Bezier curve that is symmetrical across the y axis
  • Set all of the handles to automatic
  • Give the curve some thickness by generating a mesh through the Bezier Curve data panel. Set Bezier Curve Data -> Geometry -> Round -> Depth to an appropriate value.
  • Scale up the radius of the middle point of the curve using the 'Radius' tool

Increase the U resolution from the Bezier Curve Data panel to see the effects at an extreme.

Possible Solution:

Have an option under the geometry section of the curve data properties that when active, will produce a mesh tangent to the curve handles. Or even an option to blend between the two states to get the desired output.

See attached images:

curve-mesh-continuity-proposed-improvement.jpg
curve-mesh-continuity-issue-closeup.jpg

curve-mesh-discontinuity-proposed-improvement.blend

Updated: I'm not sure if discontinuity is the best word to use as all discrete meshes are discontinuous but I think you'll see the issue. If you look at the close up. the top vertex is higher than it ideally should be. The adjacent edge should either be horizontal or sloping upwards from left to right.

I'm creating an animated ribbon gradient for my logo using splines and generated geometry. The ribbon is tapered at the ends by making the radii at the endpoints smaller to achieve the look; but I've ran into and issue with the generated mesh. **Issue** When creating a mesh from a curve using the geometry options, with varying point radii, the generated mesh becomes discontinuous at the point regions. **Steps to Reproduce** - Create V shaped Bezier curve that is symmetrical across the y axis - Set all of the handles to automatic - Give the curve some thickness by generating a mesh through the Bezier Curve data panel. Set Bezier Curve Data -> Geometry -> Round -> Depth to an appropriate value. - Scale up the radius of the middle point of the curve using the 'Radius' tool # Increase the U resolution from the Bezier Curve Data panel to see the effects at an extreme. **Possible Solution:** Have an option under the geometry section of the curve data properties that when active, will produce a mesh tangent to the curve handles. Or even an option to blend between the two states to get the desired output. See attached images: ![curve-mesh-continuity-proposed-improvement.jpg](https://archive.blender.org/developer/F9879230/curve-mesh-continuity-proposed-improvement.jpg) ![curve-mesh-continuity-issue-closeup.jpg](https://archive.blender.org/developer/F9879232/curve-mesh-continuity-issue-closeup.jpg) [curve-mesh-discontinuity-proposed-improvement.blend](https://archive.blender.org/developer/F9879234/curve-mesh-discontinuity-proposed-improvement.blend) Updated: I'm not sure if discontinuity is the best word to use as all discrete meshes are discontinuous but I think you'll see the issue. If you look at the close up. the top vertex is higher than it ideally should be. The adjacent edge should either be horizontal or sloping upwards from left to right.
Author

Added subscriber: @JamellMoore

Added subscriber: @JamellMoore
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Could you add the exact steps to create the curve and the meshes ?
Also, do you intend to add a patch, and are waiting for input from modeling team ?

Could you add the exact steps to create the curve and the meshes ? Also, do you intend to add a patch, and are waiting for input from modeling team ?
Author

I did have a brief look at the code at the time of original submission and was intended to experiment to see if this could be improved ,but unfortunately I haven't had the time to look into any further.

My original idea wouldn't work but I do believe that the continuity could be improved by introducing some kind of easing to the mesh radius around the points.

I highly doubt that I'm going to be able to pursue this any time soon so feel free to close the task.

I did have a brief look at the code at the time of original submission and was intended to experiment to see if this could be improved ,but unfortunately I haven't had the time to look into any further. My original idea wouldn't work but I do believe that the continuity could be improved by introducing some kind of easing to the mesh radius around the points. I highly doubt that I'm going to be able to pursue this any time soon so feel free to close the task.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

You can already use a different interpolation method than Linear [which is the default I believe] for Radius and Tilt.

in the Properties Editor:

  • editmode on the curve
  • Active Spline panel
  • change Radius interpolation

#86389.webm

Dont think there is a bug here [or even a patch to submit], everything working as expected here.
Will close, but feel free to comment again if issues persist.

You can already use a different interpolation method than `Linear` [which is the default I believe] for Radius and Tilt. in the Properties Editor: - editmode on the curve - Active Spline panel - change Radius interpolation [#86389.webm](https://archive.blender.org/developer/F10146280/T86389.webm) Dont think there is a bug here [or even a patch to submit], everything working as expected here. Will close, but feel free to comment again if issues persist.
Author

Thanks for taking the time to point out the interpolation settings Philipp. I'm not sure how I missed those. That's what I was looking to implement but it's already be done, so yeah issue solved.

Thanks for taking the time to point out the interpolation settings Philipp. I'm not sure how I missed those. That's what I was looking to implement but it's already be done, so yeah issue solved.
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
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#86389
No description provided.