Subdivision Surface Performance Degrades Markedly With Non-Quad Meshes #60733

Open
opened 2019-01-22 03:35:37 +01:00 by Joe Williamsen · 39 comments

System Information
Operating system: Windows 7 Pro X64
Graphics card: Nvidia Geforce GTX 980 Ti

Blender Version
BlenderSplash.JPG
Broken: Date: 2019-01-21

          Hash: dd3f5186260e
          Branch: Blender 2.7 (although it's supposed to be a 2.80 Beta)

OpenSubDiv_PerformanceBug.zip
Short description of error

Subdivision surfaces are fast and responsive in Edit mode with all-quad meshes, but very slow (~ 10x slower) with meshes comprised of triangles and quads.

Exact steps for others to reproduce the error

Open the attached blend file and select Cube.001

Go into Edit mode. Turn on Proportional Editing. Grab a point and move it - observe how responsive the viewport is with the all-quad mesh.

Go back to Object Mode. Select Cube. Go back into Edit Mode. Grab a point and move it (with proportional editing still turned on) Observe how slow it is.

**System Information** Operating system: Windows 7 Pro X64 Graphics card: Nvidia Geforce GTX 980 Ti **Blender Version** ![BlenderSplash.JPG](https://archive.blender.org/developer/F6362302/BlenderSplash.JPG) Broken: Date: 2019-01-21 ``` Hash: dd3f5186260e Branch: Blender 2.7 (although it's supposed to be a 2.80 Beta) ``` [OpenSubDiv_PerformanceBug.zip](https://archive.blender.org/developer/F6362305/OpenSubDiv_PerformanceBug.zip) **Short description of error** Subdivision surfaces are fast and responsive in Edit mode *with all-quad meshes*, but very slow (~ 10x slower) with meshes comprised of triangles and quads. **Exact steps for others to reproduce the error** Open the attached blend file and select **Cube.001** Go into Edit mode. Turn on Proportional Editing. Grab a point and move it - observe how responsive the viewport is with the all-quad mesh. Go back to Object Mode. Select **Cube**. Go back into Edit Mode. Grab a point and move it (with proportional editing still turned on) Observe how slow it is.
Author

Added subscriber: @Joe_W

Added subscriber: @Joe_W

#100520 was marked as duplicate of this issue

#100520 was marked as duplicate of this issue

#99365 was marked as duplicate of this issue

#99365 was marked as duplicate of this issue

#96891 was marked as duplicate of this issue

#96891 was marked as duplicate of this issue

#89496 was marked as duplicate of this issue

#89496 was marked as duplicate of this issue

#80211 was marked as duplicate of this issue

#80211 was marked as duplicate of this issue

#59333 was marked as duplicate of this issue

#59333 was marked as duplicate of this issue

#70523 was marked as duplicate of this issue

#70523 was marked as duplicate of this issue

#64691 was marked as duplicate of this issue

#64691 was marked as duplicate of this issue

#64587 was marked as duplicate of this issue

#64587 was marked as duplicate of this issue

#63895 was marked as duplicate of this issue

#63895 was marked as duplicate of this issue

#60173 was marked as duplicate of this issue

#60173 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I assume this is the same as #59333?

I assume this is the same as #59333?
Sergey Sharybin was assigned by Philipp Oeser 2019-01-22 11:37:58 +01:00
Member

Will leave these reports separate for now [even though quite similar]

Will leave these reports separate for now [even though quite similar]
Author

Agreed - it's very likely it's the same underlying cause. FWIW, I didn't see the same behavior in 2.79, so it's something new.

Agreed - it's very likely it's the same underlying cause. FWIW, I didn't see the same behavior in 2.79, so it's something new.

Added subscriber: @rambobl

Added subscriber: @rambobl

Added subscribers: @brothermechanic, @rboxman

Added subscribers: @brothermechanic, @rboxman

Added subscribers: @radionix3d, @SergienkoEugene

Added subscribers: @radionix3d, @SergienkoEugene

Added subscriber: @MichaelWeisheim

Added subscriber: @MichaelWeisheim

Added subscriber: @JohnMalcolm1970

Added subscriber: @JohnMalcolm1970

Added subscriber: @pabcou

Added subscriber: @pabcou

Added subscribers: @valya2255, @Sergey, @brecht, @mano-wii, @Mets

Added subscribers: @valya2255, @Sergey, @brecht, @mano-wii, @Mets
Sergey Sharybin was unassigned by Dalai Felinto 2019-12-23 16:35:21 +01:00

Added subscribers: @AaronFjerstad, @EAW, @JacquesLucke, @gentleclockdivider, @moisessalvador, @tobikubi, @ZedDB

Added subscribers: @AaronFjerstad, @EAW, @JacquesLucke, @gentleclockdivider, @moisessalvador, @tobikubi, @ZedDB

Removed subscriber: @moisessalvador

Removed subscriber: @moisessalvador

Added subscriber: @Vyach

Added subscriber: @Vyach

any news? poke.

any news? poke.

Just a simpliest demo
2020-07-01_19-32-19.mp4
untitled.blend

Just a simpliest demo [2020-07-01_19-32-19.mp4](https://archive.blender.org/developer/F8657563/2020-07-01_19-32-19.mp4) [untitled.blend](https://archive.blender.org/developer/F8657565/untitled.blend)

There are no real news. As soon as there are any they'll surely be mentioned here.

There are no real news. As soon as there are any they'll surely be mentioned here.
Member

Added subscribers: @JasonClarke, @deadpin

Added subscribers: @JasonClarke, @deadpin

Added subscriber: @seanr

Added subscriber: @seanr

Added subscriber: @dominik.pospisil

Added subscriber: @dominik.pospisil

Added subscriber: @ckohl_art

Added subscriber: @ckohl_art

Added subscriber: @Blend_Frames

Added subscriber: @Blend_Frames

Added subscriber: @geocentric_wage

Added subscriber: @geocentric_wage
Member

Added subscriber: @pepe-school-land

Added subscriber: @pepe-school-land

Added subscriber: @Alexander-35

Added subscriber: @Alexander-35

Gentelmens, i wanted to notice some important and obvious observation. As i mentioned on my initial report (https://developer.blender.org/T99365): it looks like its a problem with solvind specific topology. Yes, ngon's are most obvious cases when you will have huge lag before subdivision modifier would appear, but its just a half of the problem, and second part is solving specific topology cases, and more specific - long and thin faces.

How to prove it:
https://developer.blender.org/T99365
Here you can find original blend file with 2 objects. Cube, where subd modifier are appear almost instantly, and a second object with huge 292 sides ngon which make a huge few second lag after you try to put subd modifier on it. As Jesse Yurkovich (deadpin) say it those report - ngon are causing the problem. And this is true, but:
Here's the updated file:
subd_issue_update.blend
I added even more polygons to the cube, and solve 292 side ngon. So now second object doesnt have ngons or triangles at all but what about lags?
Time for subd modifier appear in the stack after you try to put them:
Cube (196K faces) - ~0.5sec
Second object (7,7K faces) - >3sec

We speak about mesh which have 12x times more polygons, but works 6x times faster. Its clearly a problem with topology, cause Cube are all square faces. Second object contains a lot of long and thin faces.

Gentelmens, i wanted to notice some important and obvious observation. As i mentioned on my initial report (https://developer.blender.org/T99365): it looks like its a problem with solvind specific topology. Yes, ngon's are most obvious cases when you will have huge lag before subdivision modifier would appear, but its just a half of the problem, and second part is solving specific topology cases, and more specific - long and thin faces. How to prove it: https://developer.blender.org/T99365 Here you can find original blend file with 2 objects. Cube, where subd modifier are appear almost instantly, and a second object with huge 292 sides ngon which make a huge few second lag after you try to put subd modifier on it. As Jesse Yurkovich (deadpin) say it those report - ngon are causing the problem. And this is true, but: Here's the updated file: [subd_issue_update.blend](https://archive.blender.org/developer/F13285604/subd_issue_update.blend) I added even more polygons to the cube, and solve 292 side ngon. So now second object doesnt have ngons or triangles at all but what about lags? Time for subd modifier appear in the stack after you try to put them: Cube (196K faces) - ~0.5sec Second object (7,7K faces) - >3sec We speak about mesh which have **12x times** more polygons, but works **6x times faster**. Its clearly a problem with topology, cause Cube are all square faces. Second object contains a lot of long and thin faces.
Added subscribers: @andywalshart, @TheRedWaxPolice, @TonatiuhdeSanJulian
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:29:57 +01:00
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
20 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#60733
No description provided.