PDA

View Full Version : Z depth from Maya_Rough solution


mauro79
08-20-2007, 01:52 PM
Hi there,

I have a rendered seq imported in Aft FX.
The 3Dchannel extract pop-up(Depth Matte) is working with values between o and 1.
Is a rough solution but I don't have the time to use the shader DOF.
I just would like to add a slider control for the depth matte fx so I can have the freedom to
drag the mouse from values between 0 and 100, and not 0 and 1.
I'm a little bit lost about this, Any suggestions?

thanks in advance


Mauro

Mylenium
08-20-2007, 03:56 PM
Hi there,

I have a rendered seq imported in Aft FX.
The 3Dchannel extract pop-up(Depth Matte) is working with values between o and 1.
Is a rough solution but I don't have the time to use the shader DOF.
I just would like to add a slider control for the depth matte fx so I can have the freedom to
drag the mouse from values between 0 and 100, and not 0 and 1.
I'm a little bit lost about this, Any suggestions?

thanks in advance


Mauro

Apply a simple expression to the range value of the effect:

slider=thisLayer.effect("Range");

new_range=linear(slider,0,100,0,1);

[new_range]

Mylenium

mauro79
08-20-2007, 04:31 PM
Thank Mylenyum,

I applied to the Depth Matte and is working..
now is much easier to change it interactively
..Just a coment..you think is a good solution or I will get much better results with the shader?
I think it might be cheap..but is quite quick........for few seconds I should be Ok
Bye..

Mauro

artcross
09-06-2007, 03:56 PM
I use render layers in maya to get z-depth info. I select all objects, then make a new render layer putting all the objects in my scene in it. Then I right click the render layer, go to presets, and select luminance depth. It renders out in maya software, and even though i usually render in mental ray, it matches up great, even the motion blur. I bring that luminance depth sequence in after effects, apply a lens blur to the original sequence, and use the luminance depth layer as the blur source.

yikesmikes
09-06-2007, 06:11 PM
Don't do this kindof stuff (3D, dang), but can't you just right-click the Blue Number value of the Depth Slider and change the Maximum Value to 1, and change the Mnimum Value to 0?

CGTalk Moderation
09-06-2007, 06:11 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.