High poly meshes perform poorly with planer decimate #69860
Labels
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#69860
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: AMD Asus Vega RX64
Blender Version
Broken: blender-2.81-92736a7b7592-windows64 (plus previous few builds - atleast)
Worked: 2.8
My PC is decent, and I have had no problem decimating millions of vertices (albeit some few seconds of lag) usually. Right now, I'm trying to decimate a simple model with about 45k vertices only. The decimate modifier is working fine on default settings i.e., on 'Collapse' setting .. but as soon as I switch to 'Planer' .. Blender becomes unresponsive for several minutes at least (and also indefinitely in some cases).
I noticed that in my task manager, the Blender is only using 29% of CPU.. and regarding RAM .. on one side it shows 61% usage, while the actual usage is only 289MB in the value column (see screenshot). Could this be a memory related overflow/underflow? This definitely does look like a bug to me.
Added subscriber: @SomeAB
Added subscriber: @brecht
We require a .blend file to reproduce the issue.
I just noticed the same problem in a more recent version as well while working on my latest project:
Broken: version: 2.81 (sub 11), branch: master, commit date: 2019-09-13 15:37, hash:
92736a7b75
I'm attaching a sample blend file as requested (different file from earlier, same issue) Planar_Bug.blend
It has one object of about 1million faces. Trying to switch to 'Planer' Decimate inside the decimate modifier seems to take forever. After 20-30 minutes, the viewport is still frozen. Average CPU usage around 30% and RAM usage around 1GB.
@brecht Can you reproduce this on your side?
Added subscriber: @mano-wii
I can confirm the bug, I don't know if it's the result of an endless loop or if the modifier really takes too long to calculate.
To reproduce the problem:
It might be so, that this bug has been resolved somehow. I recently used the Oct6 build: blender-2.81-54a9649e2636-windows64 .. and there seems to be no significant issue in switching to planar right now. Though it is still the type of decimate which takes the largest time to switch to among the three .. comparitively speaking. I wonder if it is due to its nature, and this is an expected behavior?
It still takes forever on the file you sent.
Lowered priority as it is so specific.
Added subscriber: @ideasman42
This does not appear to be a bug that will be worked on the upcoming 6 months.
And as defined on the tracker-curfew page, issues that won't be worked on for the the upcoming 6 months must be marked as
Known Issue
and documented.(I will leave the documentation of this problem for a later stage).
Blender non-responsive on using Planer decimateto High poly meshes perform poorly wit planer decimateIn general planar decimate isn't at all optimized for high-poly/organic meshes.
Some changes could be made to improve performance.
Note that the models in the example are better suited to edge-collapsing decimation. Planar decimate is intended to merge flat surfaces (often exported from CAD applications), even if performance is improved it wont give great results on organic meshes.
High poly meshes perform poorly wit planer decimateto High poly meshes perform poorly with planer decimateAdded subscriber: @JacobMerrill-1
for workflow for going from high poly to low poly meshes it's nice to be able to decimate the already baked model and use planar with UV checked - then bake over the normals from the high poly to the low poly.
maybe some other modifier could replace this workflow and do it in 1 shot?
using about 16 gigs of ram of my 32 so that is not the bottleneck
I am decimating a model with 8,000,000 triangles right now and It's been about 45 minutes
@JacobMerrill-1 is this with planar decimate? (as noted, this doesn't perform well).
yeah it took about 8 hours to complete but it did!
also uses quite a bit of cache,
maybe if brute force is required this could be threaded some day?
(if it is threadable that would cut it down to like 2 hours I bet since I have 8 threads?)
or maybe the GPU / compute could be leveraged to do this faster?
I found this -> https://github.com/vilemduha/optiloops/blob/master/init.py
which works very well but is also quite slow but leaves really nice topology
Added subscriber: @rotoglup
FWIW, I also stumbled upon this limitation : it took 16 minutes to decimate my mesh.
As I loved the result, I clicked "Apply" on the modifier, and it seems that it recomputes the result for the application (another 16 minutes)...