Hi,
I have created two images Torus.rat and Cylinder.rat (I understand that the RAT format has depth information by default) using separate ROP
The cylinder sits inside the ring of the torus.
I have rendered them out separately.
I would like to use the depth information in Torus.rat to mask out the picture Cylinder.rat such that only the visible part of the cylinder are shown.
What COP should I use to achieve this? I have had a look at the Compositing manual but could not find a similar example showing one how to go about achieving this.
Cheers
Also, if you want to render the layer directly to the rgba image in one step, you need to use .pic format. In your Mantra ROP, go to Deep Rasters and add one of the preset Pz layers and render to *.pic(If you render to rat, it will output a file called Pz
).