Maniphest T71558

Particle Edit ignores object occlusion
Closed, ResolvedBUG

Assigned To
Julian Eisel (Severin)
Authored By
Conrad Dueck (getrad)
Nov 13 2019, 11:03 PM
Tags
  • BF Blender
  • EEVEE & Viewport
Subscribers
Blazej Floch (bfloch)
Conrad Dueck (getrad)
Germano Cavalcante (mano-wii)
Jarmo (Jarwa)
Julian Eisel (Severin)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 398.11

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-13 08:24, hash: rBc73a99ef902b
Worked: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e

Short description of error
Particle Edit (combing, cut, etc...) ignores object occlusion

Exact steps for others to reproduce the error
Based on the attached file "hair_grooming_backfacecull.blend".

  1. Open the file
  2. switch to a Bottom view
  3. Enable Particle Edit mode
  4. Comb small circles within the sphere (so, with backface cull, this combing should be ignored by the hair)
  5. Change the viewpoint so you can see the hair did not respect sphere blocking the comb

Also confirmed issue persists in today's 2.82 Alpha (version: 2.82 (sub 1), branch: master, commit date: 2019-11-13 10:49, hash: rB97d79ca844df)

Revisions and Commits

rB Blender

Event Timeline

Conrad Dueck (getrad) created this task.Nov 13 2019, 11:03 PM
Conrad Dueck (getrad) added a comment.Nov 13 2019, 11:06 PM
This comment was removed by Conrad Dueck (getrad).
Conrad Dueck (getrad) updated the task description.Nov 13 2019, 11:06 PM
Blazej Floch (bfloch) added a subscriber: Blazej Floch (bfloch).Nov 15 2019, 11:11 PM

We identified the issue to be:
[e6425aa2bf3e6a9bba2f10066dc3f09cea11086f] Manage GPU_matrix stacks per GPUContext

Internally we reverted but feel free to find a better fix.

Germano Cavalcante (mano-wii) assigned this task to Julian Eisel (Severin).Nov 21 2019, 6:19 PM
Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to High.
Germano Cavalcante (mano-wii) added a project: GPU / Viewport.
Germano Cavalcante (mano-wii) added subscribers: Julian Eisel (Severin), Germano Cavalcante (mano-wii).

I can confirm that rBe6425aa2bf3e introduced the problem.
I suppose the problem is related to ED_view3d_backbuf_depth_validate.
@Julian Eisel (Severin), would you mind taking a look at this?

Germano Cavalcante (mano-wii) renamed this task from Particle Edit combing ignores backface cull to Particle Edit ignores object occlusion.Nov 21 2019, 6:35 PM
Germano Cavalcante (mano-wii) updated the task description.
Philipp Oeser (lichtwerk) added subscribers: Jarmo (Jarwa), Philipp Oeser (lichtwerk).
Germano Cavalcante (mano-wii) changed the task status from Unknown Status to Resolved by committing rBa8d29ad6e062: Fix T71558: Hair particles: Brush effect not occluded by emitter geometry.Nov 28 2019, 5:41 PM
Germano Cavalcante (mano-wii) added a commit: rBa8d29ad6e062: Fix T71558: Hair particles: Brush effect not occluded by emitter geometry.
Sergey Sharybin (sergey) added a commit: rB6334f97093d3: Fix T71558: Hair particles: Brush effect not occluded by emitter geometry.Dec 3 2019, 10:50 AM
Clément Foucault (fclem) edited projects, added EEVEE & Viewport; removed GPU / Viewport.Jun 19 2020, 10:12 PM