GPencil: Z pass combine not work #78574
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#78574
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
Windows 10 64bit , NVIDIA GTX1080,i7-6700k,Ram:32GB
WIN 10 ,GPU drivers all latest version.
Blender Version
Broken: Blender 2.83.1 LTS
Worked: 2.82a
Caused by
29f3af9527
Short description of error
In 2.8 version can see the Z combine is work
In 2.83.1 LTS version Z combine not work
Test_Depth.blend
Added subscriber: @YeeTaTa
Added subscribers: @fclem, @antoniov
@fclem could you take a look? not sure if this is supported or not with the new engine.
Grease pencil Z combine not workto GPencil: Z pass combine not workChanged status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @lichtwerk
Since this is also related to depth, #81950 (Grease Pencil Ignores 'Stroke Placement: Stroke') is probably related
Hi!
I forgot to mention that the bug file camera is using Orthographic.
And now i find same Z pass combine not work when camera is using Perspective.
System Information
Windows 10 64bit , NVIDIA GTX1080,i7-6700k,Ram:32GB
WIN 10 ,GPU drivers all latest version.
Blender Version
Broken: Blender 2.83.9 LTS
Short description of error
In 2.83.9 LTS version Z combine not work when camera is using Perspective.
New Origin File:20201125_test.blend
Do I need to reopen one post?
Hmm......May I ask if it is possible to fix this feature in the 2.83LTS update?Or only at 2.9?
Because in the current project, I very need this can work.
Thank you guys!
Added subscriber: @JamellMoore
By sampling the depth pass from the Suzanne Gpencil object I can see that the z-depth may have been negated somewhere. The depth values are reading -0.340 rather than +0.340.
So to work around this until the bug is fixed you should be able to multiply the depth by -1.0 to get the correct result. Also ensure that you turn on transparency in your renders by going to render properties->film->transparency. I hope this works for your project file and not just the sample file.
I've uploaded a sample file, the same the one you supplied without references to images in the background.
Bug-#7857-GPencil-Z-pass-combine-work-around.blend
I've just tested the possible work around in the 20201125_test.blend and it doesn't seem to be that the z-depth is negated. Instead of multiplying by -1 you can add or subtract a certain value. I did this and rendered an animation and it seems to work.
Bug-#7857-GPencil-Z-pass-combine-work-around-test.avi
It doesn't look like the offset is changing with distance but its difficult to tell from this example. I will do another test soon to try to narrow down the issue.
Thank you, this method solved my problem, I didn't expect to be able to do this.
This issue was referenced by
d1ee8a0502
Changed status from 'Confirmed' to: 'Resolved'