V-Ray: Depth of Field
-
Thought that I would have a look at the DOF feature on V-ray.
For scale... a person in this model is 340mm tall.
I have used an aperture of 1
and an Override Focal Dist. of 80This scene is made up of 2036 simple domes and 2314 spheres.
The model file size is 349kb in size.I have attached a render of with and without DOF


-
DOF is one of the difficult thing to achieve in the current vray but you made it. how did you know your camera distance.
-
yeah.., how did you know a distance or lenght about your camera active with object that you want to focus
-
Sorry it taken so long to reply, I lead a busy life.
Initially to get the DOF correct, I made boxes to the scale I was working at in a new scene.
(So, if the model is small, like 500mm big, I'd make the boxes 100mm in size.)
I then stacked them side by side into a line and viewed them with so I could see one and the rest were going further away. I then guessed a distance to try and saw which boxes were focused and then worked it out from there.
I hope you understand
-
@crazy eyes said:
Sorry it taken so long to reply, I lead a busy life.
Initially to get the DOF correct, I made boxes to the scale I was working at in a new scene.
(So, if the model is small, like 500mm big, I'd make the boxes 100mm in size.)
I then stacked them side by side into a line and viewed them with so I could see one and the rest were going further away. I then guessed a distance to try and saw which boxes were focused and then worked it out from there.
I hope you understand
good idea. in case ofg now using rb. in sketchup we can use the position camera. all we have to do is to draw a line and know that distance then position that camera on that line. therefore we will know exactly the camera distance.
-
@nomeradona said:
good idea. in case ofg now using rb. in sketchup we can use the position camera. all we have to do is to draw a line and know that distance then position that camera on that line. therefore we will know exactly the camera distance.
I didn't quite understand what you are meaning. Does that mean that there is a script so that can draw a line, and the script tells you how far away that line is so you can input that distance into the DOF distance in V-ray, and it will be correct?
-
there is actually a number of free ruby scripts that allow you to eather mark camera location or even tell you the distance to a particular object, this takes out all guess work of setting the distance in vray
CameraDistance.rb - Returns the distance to an object in the direct line of sight.
cameraLines.rb - Connects all cameras of all pages with lines. (needs more then one page)There is also old Film & Stage plugin that kind a works in sketchup 7, allows you to mark camera location, and do all the measurement.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement