Maya Camera DOF Samples – mental ray

Hi there,

Run this MEL script to control the samples for Maya’s built in camera DOF effect:
addAttr -ln "dofLensSamples" -at "short" mentalrayGlobals

After that, find the mentalrayGlobals node (Outliner->turn off DAG objects only).
At Extra Attributes you can find a new attribute called Dof Lens Samples.

Cheers, D

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.