Noob question: Deep camera map

   6803   3   1
User Avatar
Member
38 posts
Joined: July 2005
Offline
Hi,

I never done that before and don't know if I understood it correctly…

I have a scene (liquid container plus a semi transparent splash via particles)
and want to render the container and the splash into seperate layers and
compose them later in COPs.

I thought I render the liquid with a standard zDepth-map and
the splash with a deep camera map.

Is this generally OK (can I combine images with standard zDepth and deep maps),
or may I stumble about something I didn't take into account..?

Cheers
User Avatar
Staff
2590 posts
Joined: July 2005
Offline
botti
Hi,

I never done that before and don't know if I understood it correctly…

I have a scene (liquid container plus a semi transparent splash via particles)
and want to render the container and the splash into seperate layers and
compose them later in COPs.

I thought I render the liquid with a standard zDepth-map and
the splash with a deep camera map.

Is this generally OK (can I combine images with standard zDepth and deep maps),
or may I stumble about something I didn't take into account..?

Cheers

Deep camera maps are new, so all questions could be considered Noob ;-)

A deep camera map stores color information for all z-depths. I don't know if anyone has comp'ed a standard z-depth image with a deep camera image before. I've only seen deep camera images comp'ed with DCMs.

You might have to go into VEX to get proper z-depth blending of the images. The shadowmap() function can be used to grab color channels from the DCM. Alternatively, there are the new dsmpixel() functions.

Since I'm assuming the liquid is transparent, you might have to render the liquid as a DCM too – then use the dsmmerge output driver to do the comp'ing.

The other alternative is to render the liquid or splash as a DCM, then use it as a background image when rendering in mantra (add the “Background Image” property to the camera). When a DCM is used there, proper z-depth occlusion will occur.

Hope this helps,
User Avatar
Member
38 posts
Joined: July 2005
Offline
Thanks Mark,

i will give it a try (especially your second approach).

I still hope that there is already some
experience about that kind of workflow…

Cheers
User Avatar
Staff
181 posts
Joined: July 2005
Offline
more experience than the guy who actually wrote the code will be hard to find…
  • Quick Links