Object contours in depth maps Notice how in scene 12_peach, shot 21 in the BBB repository the bushes' leafs in the background appear as rectangles in the depth map. I assume this has to do with the way the bush's material is set up (probably single images of leafs arranged in various sizes and orientations).

Maybe someone more knowledgeable can shed some light on this bush material setup. And most importantly: Is there a way to get the actual leaf shapes in the depth map as well?




I downloaded the BBB production repository from https://peach.blender.org/download/ (near the end of the page). The shot in question is scenes/12_peach/21.blend. The shot seems to link bush objects from the envs/bushes.blend library in the BBB repository. Note that I am using Blender v2.46 for this since I could not get the shots to render properly on more recent versions. Crashes all the time. But I assume v2.46 is close to the version they were developing/using in production of the movie.
If you look at the leaves.blend you'll see that most of the leaves are just planes indeed 



In order keep the polygon count as small as possible, they didn't model every leaf. They used an image with an alpha channel as mask on the materials to create the actual leaf shape instead.




To make this:



Look like that:



The depth map is created with the actual geometry of the objects in space, so it will not take into account "faked" sapes.