POV-Ray : Newsgroups : povray.advanced-users : Rendering catadioptric (lens + mirror) systems Server Time
24 Dec 2024 13:16:30 EST (-0500)
  Rendering catadioptric (lens + mirror) systems (Message 1 to 4 of 4)  
From: srahul
Subject: Rendering catadioptric (lens + mirror) systems
Date: 22 Jun 2007 09:15:02
Message: <web.467bca8347917a544dd82dd10@news.povray.org>
I need to render the image acquired by focussing a camera (perspective) at a
curved mirror (spherical and other shapes).

the question is:

1/ How do I set up the exact objective focal distance (not focal length) of
the camera to focus at a specific plane depth.
2/ How do I specify the depth of field so as to control how much of the
scene is in focus.

quick help will be highly appreciated.

Rahul
-


Post a reply to this message

From: Stephen
Subject: Re: Rendering catadioptric (lens + mirror) systems
Date: 22 Jun 2007 09:55:02
Message: <web.467bd3a39dfeb4ce726bd13c0@news.povray.org>
"srahul" <nomail@nomail> wrote:
> I need to render the image acquired by focussing a camera (perspective) at a
> curved mirror (spherical and other shapes).
>
> the question is:
>
> 1/ How do I set up the exact objective focal distance (not focal length) of
> the camera to focus at a specific plane depth.

The Pov-Ray camera is a pin hole camera so it is in focus at all distances.


> 2/ How do I specify the depth of field so as to control how much of the
> scene is in focus.
>

POV-Ray can simulate focal depth-of-field by shooting a number of sample
rays from jittered points within each pixel and averaging the results.
Help - 3.3.1.3  Focal Blur



Stephen


Post a reply to this message

From: srahul
Subject: Re: Rendering catadioptric (lens + mirror) systems
Date: 22 Jun 2007 13:40:01
Message: <web.467c089b9dfeb4ce4dd82dd10@news.povray.org>
Can you suggest a way for me to then achieve this kind of synthetic imagery?
If not using PovRay, is there another option?

Also, can the depth of field be "simulated" for  given object distance
focus?


Post a reply to this message

From: Alain
Subject: Re: Rendering catadioptric (lens + mirror) systems
Date: 23 Jun 2007 18:56:33
Message: <467da521$1@news.povray.org>
srahul nous apporta ses lumieres en ce 2007/06/22 09:11:
> I need to render the image acquired by focussing a camera (perspective) at a
> curved mirror (spherical and other shapes).
> 
> the question is:
> 
> 1/ How do I set up the exact objective focal distance (not focal length) of
> the camera to focus at a specific plane depth.
> 2/ How do I specify the depth of field so as to control how much of the
> scene is in focus.
> 
> quick help will be highly appreciated.
> 
> Rahul
> -
> 
> 
The default camera is a pinhole camera with infinite focal depth.
You can simulate a "real" camera by using the focal blur options. For that you 
need to add the folowing keywords to control it:
aperture, determine the depth. Large = small area in focus, small = large area 
in focus.
focal_point is a vector that set the plane of maximum sharpness, that plane is 
perpendiculat to the axis of the camera.
blur_samples set the maximum number of samples taken, a quality parameter.
confidance and variance control the adaptive sampling and affect the quality.
Please read the documentation in the camera section, focal blur subsection: 
3.3.1.3 in the windows version.

------------------------------------------------
 >Can you suggest a way for me to then achieve this kind of synthetic imagery?
 >If not using PovRay, is there another option?
Maybe, it depends on what application you use.

 >Also, can the depth of field be "simulated" for  given object distance
 >focus?
What do you mean by that?
If you use focal blur and the scene include lences or curved mirrors, the shape 
of those object, and ior for transparent ones, will affect the area of sharpness 
for the parts of the scene seen trough, or reflected by, those objects.
If you mean having the focal point "on" an object, you can use the trace 
function to find the position of a point on the surface of the object and use 
that as the focal_point value. The focal_point DON'T need to reside on the 
camera axis. A camera like this one:
camera{location -10*z /*or <0,0,-10>*/ look_at 0 aperture 0.1 focal_point 
<1,9,3>} is legal and the focal plane will be at +3*z or <0,0,3>.

-- 
Alain
-------------------------------------------------
I'm interested in the fact that the less secure a man is, the more likely he is 
to have extreme prejudice. (Clint Eastwood)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.