Maya’s image plane features real-time z-depth compositing in the camera scene view. This z-depth compositing feature allows you to place 3D objects further and closer within the field of view of the camera together with an image plane mapped with depth information. Objects that are closer than depth values in the image will appear in front of it. Objects that are further than depth values in the image will appear behind it.
The z-depth data is contained within the z channel of an .iff image file mapped to the image plane.
The z-depth data is used to offset the image plane’s pixels relative to its camera. Therefore, the z-depth feature only works for the image plane’s respective parent camera. Other cameras will not be able to visualize image plane depth.
By default, z-depth map support is disabled, even if the image file contains z-depth values. To enable Z-depth support, follow these steps.
To enable depth map support of your image plane
If z-depth data exists in the specified image file, then it is represented in the scene view; or, the software render has composited z-depth information.
To optimize performance, it is recommended that image resolution be an integral multiplier of the render output resolution (for example, set the image resolution at two times the render output resolution and not two and a half times). Otherwise, the image may need to be resampled to fit in the render area.