Grease pencil over geometry occlussion problems #92052
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#92052
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-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12
Blender Version
Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash:
a791bdabd0
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-06 22:38, hash:
439c9b0b84
Short description of error
GP lines get incorrect occlussion in the render while looking fine in the viewport
Exact steps for others to reproduce the error
The problem displays differently in the following 2 scenarios:
This file has a grease pencil stroke close over (but not really touching at all) a piece of geometry
GP Aliasing.blend
Viewport Rendering
Render
The line looks jagged in the render
This file has a grease pencil drawing far behind a piece of geometry
Occlussion.blend
Viewport
Render
The drawing that should be occluded is completely visible
Added subscriber: @zanqdo
Added subscribers: @fclem, @antoniov
@fclem I think this is a know issue of the current Antialiasing algorithm. right?
Added subscriber: @EAW
Upon rendering the Occlusion file, there is a warning that the Combined and Z passes must be turned on to render Grease Pencil.
Turning both passes on results in the GEO correctly occluding the GP.
In the first file, adjusting the Camera's Focal Length from 195.8 mm to the default 50mm zoom (and adjusting its position to compensate) gives me the expected result. Perhaps the longer focal length is the source of unaccounted floating point precision loss?
Tested using 3.0.0 hash
886196b888
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Thank you. I would have never noticed it there. It doesn't even print to the console. I would think the renderer would need to force render the zbuffer in this case?
Added subscriber: @icappiello
@antoniov, @fclem any update about this?
The focal lenght issue is really annoying. It forces us to render a separate pass for GP in viewport render.
In 3D/2D hybrid animation wider focal lenght like 120 or even 200 are not so unusual as in other cases.
Added subscriber: @vderosa
It seems that at least in 3.4.1 and in 3.5.0 enabling that following the on screen warning ("To render grease pencil, enable combined and z passes") has the exact opposite effect.
Look at attached images
System Information
Operating system: macOS-13.3-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Pro 1.2
Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash:
1be25cfff18b
Worked: (newest version of Blender that worked as expected)
Exact steps for others to reproduce the error
open attached blend file and hit render image.
Tested also on
version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash:
55485cb379
, type: releasebuild date: 2022-12-20, 00:48:52
platform: 'macOS-13.3-arm64-arm-64bit'