Page 1 of 1

Visibility of particles placed behind a mesh object

PostPosted: Wed Jun 29, 2022 7:36 am
by buplPW
Hello,
Learning compositing with particles I found that particles placed behind a mesh object are visible to the camera, while they should be hidden. At least in my use case. See the linked screenshot.
Please advice how to change this behavior.
Many thanks in advance.

EDIT: I can't post urls yet, so can't provide you with a the screenshot. Hopefully the description is clear enough...

EDIT 2: I forgot to mention, I need to keep the 3D object not visible to the camera, however it should be used by the particle emitter or the camera as a sort of a ‘mask’ to hide all particles that are placed behind it.

Re: Visibility of particles placed behind a mesh object

PostPosted: Wed Jun 29, 2022 8:56 pm
by UserNoah
You want to set the Mode of the 3D object to transparent matte. Then it cuts out everything that is behind it but it’s not visible to the camera.
You can find that setting on the first tab of the 3D object or you can use an Override3D. You need to set it for the appropriate render engine as well. So if you don’t know which you’re using just set Software and OpenGL blending mode to Transparent Matte.

Re: Visibility of particles placed behind a mesh object

PostPosted: Thu Jun 30, 2022 6:30 am
by buplPW
Thank you, that helped. I also had to check 'Is matte' option and tweak a little the node graph, but it works finally.