Thread: sunglasses
View Single Post
# 7 01-06-2003 , 07:46 PM
Renderizer's Avatar
Subscriber
Join Date: Jun 2002
Location: Germany
Posts: 276
Undseth - what do you mean: How can one make the distance of focus be used in maya?

You can connect the CameraShape.centerOfInterest to CameraShape.focusDistance, if that's what you mean.

I have two scripts attached which do just that.

The first one, lccDOF, creates a single node camera and a DistanceDimension node and feeds its output into the DOF value. You still have to aim the distance locater manualy.

The second script, coiDOF, generates a double node camera and simply conects the coi value to the dof value. Where ever you move your aim locator, the DOF just follows suit.

If that's what you mean... user added image

Renderizer

Attached Files
File Type: rar dof cameras.rar (1.2 KB, 169 views)

Subdivide and conquer!

Free your mind, and your ass will follow!