|
|
I'm experiencing problems with MCPov's depth of field.
I basically use the following code:
#local CameraLocation = <80,31,-80>;
#local CameraLookAt = <0,9,-10>;
#local CameraDirection = CameraLookAt - CameraLocation;
#local CameraAngle = 25;
#local AspectRatio = image_width/image_height;
global_settings {
montecarlo {
mc_dof {
mc_focal_distance vlength(CameraDirection)
mc_lens_radius 0.5
}
}
}
camera {
perspective
up y
right -x*AspectRatio
location CameraLocation
look_at CameraLookAt
angle CameraAngle
}
Strangely enough, the look_at point is clearly *not* in focus.
What's wrong?
Post a reply to this message
|
|