Sub-surf is very slow on high edge-count vertex poles #59333

Closed
opened 2018-12-13 21:25:13 +01:00 by Aaron Fjerstad · 14 comments

System Information
Operating system: Windows 10
Graphics card: GeForce GTX 1050 TI

Blender Version
Broken: blender-2.80.0-git.7d4d9e9dbd3-windows64
Worked: blender-2.79b

Short description of error
NOTE: This is similar to bug (#58191), but different, as I'll explain after the steps.

When a single subdivision surface modifier with 1 subdivision is placed on an object with a high edge-count vertex, it all but stops working.

Exact steps for others to reproduce the error

  1. Open default startup and delete everything.
  2. Add a cylinder with 128 vertices and a triangle fan cap (even worse with n-gon).
  3. Add a subdivision surface modifier with 1 subdivision.
  4. Go into edit mode.
  5. Listen to your fan scream.

How it's different from the aforementioned bug:

The face count for this cylinder is only 384, as compared to 500 faces of the monkey mesh, but adding the same simple modifier to the monkey has no issue. The primary difference I can see is that the cylinder has vertices with a high edge count.

If you follow the same steps in Blender 2.79b, the problem does not occur, which leads me to believe there are some wrinkles in the Catmull-Clark implementation for 2.8 that need to be ironed out.

Thank you.

**System Information** Operating system: Windows 10 Graphics card: GeForce GTX 1050 TI **Blender Version** Broken: blender-2.80.0-git.7d4d9e9dbd3-windows64 Worked: blender-2.79b **Short description of error** NOTE: This is similar to bug (#58191), but different, as I'll explain after the steps. When a single subdivision surface modifier with 1 subdivision is placed on an object with a high edge-count vertex, it all but stops working. **Exact steps for others to reproduce the error** 1. Open default startup and delete everything. 2. Add a cylinder with 128 vertices and a triangle fan cap (even worse with n-gon). 3. Add a subdivision surface modifier with 1 subdivision. 4. Go into edit mode. 5. Listen to your fan scream. How it's different from the aforementioned bug: The face count for this cylinder is only 384, as compared to 500 faces of the monkey mesh, but adding the same simple modifier to the monkey has no issue. The primary difference I can see is that the cylinder has vertices with a high edge count. If you follow the same steps in Blender 2.79b, the problem does not occur, which leads me to believe there are some wrinkles in the Catmull-Clark implementation for 2.8 that need to be ironed out. Thank you.
Author

Added subscriber: @AaronFjerstad

Added subscriber: @AaronFjerstad

#62616 was marked as duplicate of this issue

#62616 was marked as duplicate of this issue

#60529 was marked as duplicate of this issue

#60529 was marked as duplicate of this issue

#58503 was marked as duplicate of this issue

#58503 was marked as duplicate of this issue
Sebastian Parborg changed title from Simple sub-surf breaks on high edge-count vertex to Sub-surf is very slow on high edge-count vertex poles 2018-12-14 15:33:58 +01:00

Added subscribers: @Sergey, @ZedDB

Added subscribers: @Sergey, @ZedDB
Sergey Sharybin was assigned by Sebastian Parborg 2018-12-14 15:37:51 +01:00

It seems like opensubdiv is very slow when having meshes with extreme cases of vertex poles.

Don't know if there is much to do about this. What do you think @Sergey ?

It seems like opensubdiv is very slow when having meshes with extreme cases of vertex poles. Don't know if there is much to do about this. What do you think @Sergey ?

Added subscribers: @tobikubi, @lichtwerk, @moisessalvador

Added subscribers: @tobikubi, @lichtwerk, @moisessalvador

Added subscriber: @gentleclockdivider

Added subscriber: @gentleclockdivider

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke

same happens with no ngons
Just insert the subdiv. on this model ( low poly )
this .blend

same happens with no ngons Just insert the subdiv. on this model ( low poly ) [this .blend](https://archive.blender.org/developer/F6830679/this_.blend)

Added subscriber: @pabcou

Added subscriber: @pabcou
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

According to http://graphics.pixar.com/opensubdiv/docs/mod_notes.html

  • High valence vertices incur fairly large performance hits

  • Currently, OpenSubdiv has a hard constraint imposed by GPU shaders on the maximum valence of a vertex (~27 on current hardware)

According to http://graphics.pixar.com/opensubdiv/docs/mod_notes.html * High valence vertices incur fairly large performance hits * Currently, OpenSubdiv has a hard constraint imposed by GPU shaders on the maximum valence of a vertex (~27 on current hardware)
Sergey Sharybin was unassigned by Dalai Felinto 2019-12-23 16:35:38 +01:00

Closed as duplicate of #60733

Closed as duplicate of #60733
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
8 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#59333
No description provided.