Bevelling an edge loop gives bad geometry #50819

Closed
opened 2017-02-28 15:33:02 +01:00 by Paul R · 14 comments

System Information
Suse Leap 42.1
NVidia GTX 560ti (official drivers)

Blender Version
Broken: all tested versions

Short description of error
The bevel seems inconsistent; when working with single or multiple edges, new geometry doesn't move past adjacent existing geometry (as expected). But when bevelling a complete edge loop, the new geometry isn't constrained in the same way and overshoots.

I can't think of a situation where this would be desirable.

Demo video: blender_bevel_bug_demo_v2.mp4
alternative link: https://youtu.be/bBjjFsImcOc?t=14

Exact steps for others to reproduce the error

  • add a torus and select a complete edge loop
  • bevel
  • geometry overshoots
**System Information** Suse Leap 42.1 NVidia GTX 560ti (official drivers) **Blender Version** Broken: all tested versions **Short description of error** The bevel seems inconsistent; when working with single or multiple edges, new geometry doesn't move past adjacent existing geometry (as expected). But when bevelling a complete edge loop, the new geometry isn't constrained in the same way and overshoots. I can't think of a situation where this would be desirable. Demo video: [blender_bevel_bug_demo_v2.mp4](https://archive.blender.org/developer/F498836/blender_bevel_bug_demo_v2.mp4) alternative link: https://youtu.be/bBjjFsImcOc?t=14 **Exact steps for others to reproduce the error** - add a torus and select a complete edge loop - bevel - geometry overshoots
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @intracube

Added subscriber: @intracube
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

The video is not playing for me

The video is not playing for me
Howard Trickey was assigned by Aaron Carlisle 2017-02-28 19:47:28 +01:00
Howard Trickey was unassigned by Paul R 2017-02-28 19:48:30 +01:00
Author

Added subscriber: @howardt

Added subscriber: @howardt
Author

Looks like there's no single video format that's compatible with modern browsers...

Hopefully the Youtube link works.

Looks like there's no single video format that's compatible with modern browsers... Hopefully the Youtube link works.
Howard Trickey was assigned by Paul R 2017-02-28 20:07:53 +01:00
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

@Blendify right click save as, seems to do the job for me

@Blendify right click save as, seems to do the job for me
Member

Sorry, I haven't had a chance to look into this yet. The code that prevents overlap is (the 'clamp overlap' option) is only approximately right, since getting it really right is quite hard. But I agree it seems to be failing completely in the case of selecting a whole loop, and hopefully it will be easy to figure out why and correct it.

Sorry, I haven't had a chance to look into this yet. The code that prevents overlap is (the 'clamp overlap' option) is only approximately right, since getting it really right is quite hard. But I agree it seems to be failing completely in the case of selecting a whole loop, and hopefully it will be easy to figure out why and correct it.
Author

There seems to be two independent clamping events/rules. The 'clamp overlap' option only affects whether new bevel geometry overlaps other new bevel geometry. But even with that disabled, the bevel doesn't normally cross over pre-existing geometry (which seems sensible) - unless you're bevelling a complete edge loop.

example: bevel_clamp_overlap_04_example_v2.png
^ two adjacent edges bevelled with clamp overlap disabled, the new geometry (purple) can cross over each other, but is still constrained by the existing edges (green). The other side of the bevel can still continue outwards until it too hits existing geometry (yellow).

A side-issue; with clamp overlap enabled, the bevel sometimes stops short: bevel_clamp_overlap_05_stops_short.png

In that setup, It should reach the midpoint.

There seems to be two independent clamping events/rules. The 'clamp overlap' option only affects whether new bevel geometry overlaps other new bevel geometry. But even with that disabled, the bevel doesn't normally cross over pre-existing geometry (which seems sensible) - unless you're bevelling a complete edge loop. example: ![bevel_clamp_overlap_04_example_v2.png](https://archive.blender.org/developer/F499518/bevel_clamp_overlap_04_example_v2.png) ^ two adjacent edges bevelled with clamp overlap disabled, the new geometry (purple) can cross over each other, but is still constrained by the existing edges (green). The other side of the bevel can still continue outwards until it too hits existing geometry (yellow). A side-issue; with clamp overlap enabled, the bevel sometimes stops short: ![bevel_clamp_overlap_05_stops_short.png](https://archive.blender.org/developer/F499520/bevel_clamp_overlap_05_stops_short.png) In that setup, It should reach the midpoint.
Member

The fix just committed only fixes this bug if the 'Clamp overlap' option is enabled. The fact that sometimes the existing code stops the edge slides when it hits another vertex was not something that was intended to find and fix all geometry collisions. Even 'Clamp overlap' doesn't do that, though it tries harder.

The fix just committed only fixes this bug if the 'Clamp overlap' option is enabled. The fact that sometimes the existing code stops the edge slides when it hits another vertex was not something that was intended to find and fix all geometry collisions. Even 'Clamp overlap' doesn't do that, though it tries harder.
Author

Hi,

I can confirm this fixes the clamp function in all bevel modes except for 'percent' - in that case the bevel still sometimes stops short.

Bevelling two adjacent edge loops on a default torus works, but if the loops are shifted apart beforehand, the newly created geometry doesn't meet up with itself.

Hi, I can confirm this fixes the clamp function in all bevel modes except for 'percent' - in that case the bevel still sometimes stops short. Bevelling two adjacent edge loops on a default torus works, but if the loops are shifted apart beforehand, the newly created geometry doesn't meet up with itself.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Clearing out old bugs. Clamping is currently working as intended, even if not ideal. The long term fix is to actually have the geometry merge and/or otherwise do intelligent things when collision happens, and then remove 'Clamp' completely. I hope to get to that as my next big bevel improvement project, though it is some time off.

Clearing out old bugs. Clamping is currently working as intended, even if not ideal. The long term fix is to actually have the geometry merge and/or otherwise do intelligent things when collision happens, and then remove 'Clamp' completely. I hope to get to that as my next big bevel improvement project, though it is some time off.
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
4 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#50819
No description provided.