PDA

View Full Version : Depth of field in Maya


DDDBUG
03-11-2003, 03:31 PM
How it's possible to have a visual control of camera Depth of field in Maya 4.5 ?
I need to view the Focus distant in viewports.
Thx.

svenip
03-11-2003, 03:33 PM
create a distance mesaure tool. parent one locator to the camera and one to an object which lies in the center of your focus.

then via the connection editor, connect the distance from the distanceShape to the focus distance of your cam.

elvis75k
03-11-2003, 04:47 PM
the other solution is to go in display>Head Up Display>Object Details. Now you can select an object or an edge or a vertex or whatever and you'll noticed by distance from camera.. Copy this value in the depht rollout.... If you use mental ray Turn On MOTION BLUR otherwise no depth will be calculated!

have a nice day

E-rock
03-11-2003, 07:54 PM
on highend 3D theres a script where it create a locator in you view and as you move it in and out it changes the depth of view. here's the link if youre interested, it may help

http://www.highend3d.com/maya/mel/?group=melscripts&section=rendering


-eric

Jozvex
03-12-2003, 08:19 AM
Originally posted by Elvis75k
If you use mental ray Turn On MOTION BLUR otherwise no depth will be calculated!

Huh? Mental Ray's DOF works fine for me without motion blur being on.

DDDBUG
03-12-2003, 08:40 AM
Now i'm using depthOfFieldCamera.mel from highend3d.com.
It's working good even in Maya 4.5
Thx to all. :bounce:

SPENEN
03-12-2003, 08:49 AM
The depthOfFieldCamera.mel is the best :D, doscoveried it last week, before I couldn't even set the focus right =S

:buttrock:

,.-'`SPENENī'-.,

Norb
03-13-2003, 05:20 AM
or, if you have access to a comp package after...


make every object in your scene black, and then add enviro fog and tweak the settings, this is what i use normally when I'm doing it in maya...

Kabab
03-13-2003, 09:13 AM
http://www.aliaswavefront.com/en/Tmpl/Maya/html/index.jhtml?page=/en/Community/Learn/how_tos/rendering/rendering_m.html#

Have a look at the bottom of the page there is a nice tutorial.

DDDBUG
03-13-2003, 09:17 AM
Thank you, Kabab !


Originally posted by Kabab
http://www.aliaswavefront.com/en/Tmpl/Maya/html/index.jhtml?page=/en/Community/Learn/how_tos/rendering/rendering_m.html#

Have a look at the bottom of the page there is a nice tutorial.

GrafOrlok
03-13-2003, 09:36 AM
Another great tool is Dirk (Connect Polyshape) Bialluch's DOF-control.mel at his site: http://www.lightstorm3d.com/tools/freetools/html/free_tools.html

DDDBUG
03-13-2003, 11:44 AM
Thank you for the link, Graf Orlok ! :thumbsup:

CGTalk Moderation
01-14-2006, 02:00 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.