Page MenuHome

Particle Edit ignores object occlusion
Closed, ResolvedPublicBUG

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)

Event Timeline

This comment was removed by Conrad Dueck (getrad).

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) lowered the priority of this task from 90 to High.

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. (Show Details)