Bevel Weight not affecting Bevel modifier correctly #62739

Closed
opened 2019-03-19 09:58:38 +01:00 by Frederico Martins · 7 comments

bevelModBug.mp4

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.81

Blender Version
Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-18 21:39, hash: d47f827019
Also broken in other versions a couple of days older at least.
Also broken on 2.79 in builder.blender.org (version: 2.79 (sub 7), branch: blender2.7, commit date: 2019-03-14 17:29, hash: 57b5852bc8)

Worked: works well on 2.79 stable (version: 2.79 (sub 0), branch: master, commit date: 2018-03-22 14:10, hash: f4dc9f9d68)

Short description of error
Bevel weight not decreasing bevel smoothly as value decreases when two consecutive edges are being beveled.

Exact steps for others to reproduce the error
Create a look with 2 consecutive edges being affectd by bevel weight, one as a value of 1 and the other change the value with the slider.
if you do that with a bevel modifier, the bevel effect on the mesh will not change smoothly on the geometry.
If you do the same on 2.79 it works very well and smoothly.

I attached a video with a sample of the same function, how it works in 2.79 and in 2.8.

This works almost similarly with percentage method and works well, but I really need it to work with a specific value instead of a percentage, on a specific project.

[bevelModBug.mp4](https://archive.blender.org/developer/F6848499/bevelModBug.mp4) **System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.81 **Blender Version** Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-18 21:39, hash: `d47f827019` Also broken in other versions a couple of days older at least. Also broken on 2.79 in builder.blender.org (version: 2.79 (sub 7), branch: blender2.7, commit date: 2019-03-14 17:29, hash: 57b5852bc8b8) Worked: works well on 2.79 stable (version: 2.79 (sub 0), branch: master, commit date: 2018-03-22 14:10, hash: f4dc9f9d68b) **Short description of error** Bevel weight not decreasing bevel smoothly as value decreases when two consecutive edges are being beveled. **Exact steps for others to reproduce the error** Create a look with 2 consecutive edges being affectd by bevel weight, one as a value of 1 and the other change the value with the slider. if you do that with a bevel modifier, the bevel effect on the mesh will not change smoothly on the geometry. If you do the same on 2.79 it works very well and smoothly. I attached a video with a sample of the same function, how it works in 2.79 and in 2.8. This works almost similarly with percentage method and works well, but I really need it to work with a specific value instead of a percentage, on a specific project.

Added subscriber: @FredericoMartins

Added subscriber: @FredericoMartins
Howard Trickey was assigned by William Reynish 2019-03-19 10:55:29 +01:00

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

I can reproduce the difference in behavior here.

@howardt I guess you can confirm if this is intended or not.

I can reproduce the difference in behavior here. @howardt I guess you can confirm if this is intended or not.
Member

The behavior in 2.79 is not really intended -- it is more an accidental consequence of a choice made to solve conflicting specifications.
What the specifications say is that one edge is supposed to have one particular bevel width all the way along it, and the other edge (with the adjusting weight) is supposed to have another weight all the way along it. Where they meet is a conflict. The conflict used to be solved by taking an average, which gave the smooth tapering effect you saw. But for other cases (especially when there are loops) that is not nearly good enough, so I switched to using a least-squares optimization some time in the 2.79 series (I see that you note that this was working for a while in 2.79 and then stopped working, so maybe that was when I made this switch).

I will see if there is something wrong with the least-squares optimization that can be fixed that would bring the behavior back to what you hoped for.

The behavior in 2.79 is not really intended -- it is more an accidental consequence of a choice made to solve conflicting specifications. What the specifications say is that one edge is supposed to have one particular bevel width all the way along it, and the other edge (with the adjusting weight) is supposed to have another weight all the way along it. Where they meet is a conflict. The conflict used to be solved by taking an average, which gave the smooth tapering effect you saw. But for other cases (especially when there are loops) that is not nearly good enough, so I switched to using a least-squares optimization some time in the 2.79 series (I see that you note that this was working for a while in 2.79 and then stopped working, so maybe that was when I made this switch). I will see if there is something wrong with the least-squares optimization that can be fixed that would bring the behavior back to what you hoped for.
Member

Changed status from 'Open' to: 'Archived'

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

Sorry, I am closing this as "working as intended" because the code is doing what I intended: that is, it is choosing to keep widths even along their edges as a higher priority than trying to half-way meet an unmeetable set of width constraints.

Others have asked for some kind of "taper" support, though usually on just one edge. I will add that idea to my list of feature requests, #48583.

Sorry, I am closing this as "working as intended" because the code is doing what I intended: that is, it is choosing to keep widths even along their edges as a higher priority than trying to half-way meet an unmeetable set of width constraints. Others have asked for some kind of "taper" support, though usually on just one edge. I will add that idea to my list of feature requests, #48583.

Thank you,
that is sad for me unfortunately since there is no other way to do this in blender without just working on geometry and loosing editability :( this was a great feature for me, on this project and other stuff ive used it before (RIP).

I will keep using 2.79 on this project since this something vital for it, but I already miss the great new tools i've been using in 2.8.

Thank you, that is sad for me unfortunately since there is no other way to do this in blender without just working on geometry and loosing editability :( this was a great feature for me, on this project and other stuff ive used it before (RIP). I will keep using 2.79 on this project since this something vital for it, but I already miss the great new tools i've been using in 2.8.
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#62739
No description provided.