Bridge tool fails in a few cases #48365

Closed
opened 2016-05-07 03:38:58 +02:00 by Leon Cheung · 8 comments
Member

System Information
Win8.1 64bit | GTX680

Blender Version
Broken: v2.77 3045011
Worked: N/A

Short description of error
After testing the fix for #48356, I found there are a few other cases failed. Not sure if it deserves further attention.

bridge_case.png

Exact steps for others to reproduce the error

bridge_example.blend

**System Information** Win8.1 64bit | GTX680 **Blender Version** Broken: v2.77 3045011 Worked: N/A **Short description of error** After testing the fix for #48356, I found there are a few other cases failed. Not sure if it deserves further attention. ![bridge_case.png](https://archive.blender.org/developer/F309649/bridge_case.png) **Exact steps for others to reproduce the error** [bridge_example.blend](https://archive.blender.org/developer/F309653/bridge_example.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @ZhangYu

Added subscriber: @ZhangYu

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Currently the method used to calculate bridge direction relies on the face regions not being planar to each-other.

Probably the best solution in this case is to always use the use the face winding when its defined for both loops (instead of relative orientation).

Currently the method used to calculate bridge direction relies on the face regions _not_ being planar to each-other. Probably the best solution in this case is to always use the use the face winding when its defined for both loops (instead of relative orientation).

Note, e0e7d94f79 fixes the cases where boundary edges were being removed.

Note, e0e7d94f79 fixes the cases where boundary edges were being removed.
Campbell Barton was assigned by Sergey Sharybin 2016-05-17 17:52:50 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Summary if the problem, bridge is split into 2 steps.

  • The bridge is calculated and connected.
  • The edges from the bridge are then subdivided and made into a curve.

In the case where both loops are on a flat plane, its possible that the curve direction selected is different to the winding direction used when connecting the bridge.

For this to work as expected, either:

  • the bridge normals used for calculating the initial bridge would need to be passed to the subdivision function.
  • the winding of faces would need to be evaluated to calculate the normals for the curve.

Note that its possible to use an entirely different method of calculating handles, however this would need to be applied only for flat cases, which are tricky to detect since there would be some threshold which loops would not be considered flat, and this may give unpredictable behavior.

This whole situation is kind of a corner case, when bridging between 2 loops which are exactly aligned next to eachother, then applying curvature -it's not very obvious what the outcome should be regarding curvature. Using face normals one can be selected, so its possible of course. But still something the bridge tool isn't really setup to solve well.

Closing this report. If someone likes to solve its fine, but this is really at the limit of whats supported by this tool.

Summary if the problem, bridge is split into 2 steps. - The bridge is calculated and connected. - The edges from the bridge are then subdivided and made into a curve. In the case where both loops are on a flat plane, its possible that the curve direction selected is different to the winding direction used when connecting the bridge. For this to work as expected, either: - the bridge normals used for calculating the initial bridge would need to be passed to the subdivision function. - the winding of faces would need to be evaluated to calculate the normals for the curve. Note that its possible to use an entirely different method of calculating handles, however this would need to be applied only for `flat` cases, which are tricky to detect since there would be some threshold which loops would not be considered flat, and this may give unpredictable behavior. This whole situation is kind of a corner case, when bridging between 2 loops which are exactly aligned next to eachother, then applying curvature -it's not very obvious what the outcome should be regarding curvature. Using face normals one can be selected, so its possible of course. But still something the bridge tool isn't really setup to solve well. Closing this report. If someone likes to solve its fine, but this is really at the limit of whats supported by this tool.
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#48365
No description provided.