Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 10-03-2011 , 05:51 PM
gtovey's Avatar
Registered User
Join Date: Jan 2011
Location: Oregon!!
Posts: 82

camera help

ok i have a glass oh water pouring into another glass and i have it animated and textured pretty good.. now i want to make it into a movie but i want to really focus on the water pouring out not on the background.. i want the background to be visible just maybe a little blury. heres a pic of the water being poured and i'd like the water to not be blury i think it might have to do with motion blur but im not sure..

Attached Thumbnails
# 2 10-03-2011 , 07:26 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
What you're thinking of is "depth of field" commonly referred to as "Dof" and not motion blur. And looking at the particles, it seems like they're motion blurred already.

Dof can be simulated a few different ways. For the first two you will need to whip out Maya's distance measurement tool and get a reading from your camera to your subject(Create>Measure Tool >Distance Tool). Lets call that number X distance.

1. The Depth of field attribute on Maya cameras which is the most obvious way, but it's very dependent on your AA sampling in the render settings to eliminate any grain.

2. If you're using Mental Ray, you can plug either one of MR's dof shaders into one of the camera's lens shader slots - "physical_lens_dof" or "mia_lens_bokeh" ( I prefer this one).

The camera will need the X distance value so it knows where to focus, if you're using method 1. its the "focus distance" and for method 2, it would be the "Plane" attribute.

or

3. Render out z-depth pass or passes and use that to control a blurring filter in a compositing program.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 3 10-03-2011 , 10:50 PM
gtovey's Avatar
Registered User
Join Date: Jan 2011
Location: Oregon!!
Posts: 82
thank you soo much i'll keep messing with it and see wat i can do and upload another pic later thanks again!!! user added image

# 4 11-03-2011 , 12:41 AM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Since this is an animation, I'd recommend a depth pass (Genny's option 3) and composite it in another program (e.g. AE) if you have one.

# 5 17-03-2011 , 10:48 PM
gtovey's Avatar
Registered User
Join Date: Jan 2011
Location: Oregon!!
Posts: 82
stwert how i do this??

# 6 18-03-2011 , 12:52 AM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Create a new render layer and add all your objects to it. Open the attributes on the render layer (RMB > Attributes). Set the render layer preset to Luminance Depth. Follow the connections to setRange node. Break the connections on the Old Min and Old Max. Set values for these such that when you render, the foreground is nice and bright and the far objects are close to black (these values are distance from camera, which you can determine using the Object Details in the HUD). Hope that helps.

# 7 18-03-2011 , 04:21 PM
gtovey's Avatar
Registered User
Join Date: Jan 2011
Location: Oregon!!
Posts: 82
hmm im not sure i know wat to do here?? :/

# 8 18-03-2011 , 04:41 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Well, there's an excellent tutorial here: https://simplymaya.com/autodesk-maya-...=182&sub_cat=0 And that gives all the detailed steps, but since you might not want to spend money, I'd probably go with Genny's first solution. Only trouble is I haven't tried it that way, so best to look up Depth of Field in the Maya help.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads