Lineart breaks apart in heavy scenes #103153

Open
opened 2022-12-12 12:15:08 +01:00 by Robert S · 4 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.86

Blender Version
Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: a95bf1ac01
Worked: (newest version of Blender that worked as expected)

Short description of error
I often work with heavy scenes imported from CAD. That means 2000+ objects, 10+ million polygons and all of them have custom normals and often lots of fillets (bevels). It seems that when you try to apply lineart to such a scene, some objects "break apart":

image.png
image.png

Now, you will not see 100% the same issue in the attached example file, because I obviously cannot attach the full 2GB file (and no developer from Blender has ever offered to sign an NDA anyway), but you will see some issues even in this 200MB file. This indicates that more issues appear the heavier the files are, but even "light" files can't escape it.

Exact steps for others to reproduce the error

  1. Open the attached .blend
  2. Export the Lineart to SVG
  3. Open the SVG and observe the extra lines and missing lines

Lineart-CAD.7z

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.86 **Blender Version** Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: `a95bf1ac01` Worked: (newest version of Blender that worked as expected) **Short description of error** I often work with heavy scenes imported from CAD. That means 2000+ objects, 10+ million polygons and all of them have custom normals and often lots of fillets (bevels). It seems that when you try to apply lineart to such a scene, some objects "break apart": ![image.png](https://archive.blender.org/developer/F14053749/image.png) ![image.png](https://archive.blender.org/developer/F14053746/image.png) Now, you will not see 100% the same issue in the attached example file, because I obviously cannot attach the full 2GB file (and no developer from Blender has ever offered to sign an NDA anyway), but you will see some issues even in this 200MB file. This indicates that more issues appear the heavier the files are, but even "light" files can't escape it. **Exact steps for others to reproduce the error** 1. Open the attached .blend 2. Export the Lineart to SVG 3. Open the SVG and observe the extra lines and missing lines [Lineart-CAD.7z](https://archive.blender.org/developer/F14053709/Lineart-CAD.7z)
Author

Added subscriber: @RobertS

Added subscriber: @RobertS

Added subscribers: @ChengduLittleA, @mano-wii

Added subscribers: @ChengduLittleA, @mano-wii

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

In fact the result is not ideal. But I'm not sure if it's a bug. It is quite possible that this is a limitation with some complex geometry and camera position.

I noticed that if you disable Intersections and enable Overlapping Edges As Contour the result is much better.

I didn't find anything about the limitation with Intersections so maybe we need input from the developer.
https://docs.blender.org/manual/en/latest/grease_pencil/modifiers/generate/line_art.html

Cc. @ChengduLittleA

In fact the result is not ideal. But I'm not sure if it's a bug. It is quite possible that this is a limitation with some complex geometry and camera position. I noticed that if you disable `Intersections` and enable `Overlapping Edges As Contour` the result is much better. I didn't find anything about the limitation with `Intersections` so maybe we need input from the developer. https://docs.blender.org/manual/en/latest/grease_pencil/modifiers/generate/line_art.html Cc. @ChengduLittleA
Sergey Sharybin added
Module
Grease Pencil
and removed
Module
VFX & Video
labels 2023-02-13 18:05:47 +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
2 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#103153
No description provided.