SVG display in eevee rendered mode #79050
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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-addons#79050
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67
Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-02, hash: blender/blender@b18c2a3c41 (Bisected)
Worked: Before the above commit.
Short description of error
When importing an svg file, especially when there are several objects in the file, EEVEE would still display the svg more or less how the drawing looked in the drawing program (Inkscape) without having to manually reorganize the objects to have it look right as shown in the screenshots.
Inkscape:
EEVEE:
(the svg would be displayed without artifacts when viewed from the direction of the normals)
This is broken in 2.9 where EEVEE displays the same file as seen here
blendfile
SVG.blend
Exact steps for others to reproduce the error
Simply importing an svg with multiple layered objects in v2.90, and viewing them in EEVEE in rendered mode can have them displaying in a weird way.
It is possible to correct this by manually reordering the objects but that can get quite overwhelming in files with several objects.
Added subscriber: @Mabuka
blender/blender#88853 was marked as duplicate of this issue
Added subscriber: @EAW
Changed status from 'Needs Triage' to: 'Confirmed'
Are you sure this is a bug, and not the default cube's revenge for being deleted? blender/blender#77728 /jk
I can confirm.
Tested with 2.83.2 and 2.90 blender/blender@974e36d7d0, blender/blender@e3f8768d8a and blender/blender@fe49e4139c.
Win10 GeForce GTX 470/PCIe/SSE2 4.5.0 NVIDIA 391.35
Setting to high as this worked last version.
Worked in 2.90 version blender/blender@86fa8dc7f7
Added subscriber: @fclem
Git bisect points to blender/blender@b18c2a3c41
Paging @fclem
So I found that this also broke for Workbench during the development of 2.83. This is caused by the depth test being set to
DRW_STATE_DEPTH_LESS_EQUAL
instead ofDRW_STATE_DEPTH_LESS
.The fact that is was rendering quite correctly is a total coincidence and was completely undefined behavior. All the layers have the same depth/position so you are effectively seeing at Z figthing artifacts but in ortographic view. The issue seems to be solvable for workbench but EEVEE now uses some optimization that cannot make the rendering do the same thing as 2.83 (because of out of order rendering). Again, the fact it could work in workbench is not normal, but just a coincidence.
What I would do Is patch the SVG importer to add a per layer epsilon offset.
Added subscriber: @howardt
Maybe @howardt can answer this one, he is the author of the SVG importer.
Added subscriber: @Sergey
@fclem, @howardt is the author of the Import/Export Vector Files add-on, which can import SVG files and convert them into meshes. https://developer.blender.org/diffusion/BAC/browse/master/io_vector/
@Sergey in the author of the on by default Import/Export SVG add-on. https://developer.blender.org/diffusion/BA/browse/master/io_curve_svg/
This report is about the latter I believe.
Added subscribers: @wt, @antoniov
I wouldn't say this is a specific to particular importer. This issue will happen for any importer which imports 2D images.
Adding epsilon is possible, but it will solve this particular issue, and introduce another.
Does the grease pencil handle such configurations in a more traditional to 2D painting apps manner? Because to me the real solution is to cover such usecase by importing SVG/PDF/.. as a grease pencil object.
Added subscriber: @Thomas2
Added subscriber: @Lin-Hsu