POV-Ray : Newsgroups : povray.newusers : Single lens show side view Server Time
30 Jun 2024 03:38:49 EDT (-0400)
  Single lens show side view (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Arun Kumar
Subject: Re: Single lens show side view
Date: 24 Oct 2011 09:25:01
Message: <web.4ea566e966b8b2e89a5a87d90@news.povray.org>
Thanks for the clarification.

But in this case 'd' is small when compared to R1 and R2, so can I use this
formula

1/f = (n-1) {1/R1 - 1/R2} ???

And again I have calculated the focal length using the actual formula which you
have mentioned... Now how can i place the lens in the exact length (focal length
say f=216) to get sharp and better image.



Le_Forgeron <jgr### [at] freefr> wrote:
> Le 21/10/2011 07:46, Arun Kumar nous fit lire :
> > Thanks again for your help.. It helped me a lot. I have created lens and front &
> > side views which am exactly looking for. Now i need to calculate the focal
> > length of the lens. How can i calculate the focal length.
> >
> > To calculate focal length manually there is a formula
> > 1/f = (n-1) {1/R1 - 1/R2}.
> >
> > But how can i calculate it from the code.
>
> The formula is wrong. (or rather, you forgot the interesting part)
>
> it's
>
> 1/f = (n-1)( 1/R1 - 1/R2 + (n-1)d/(nR1R2))
>
> (if I was to trust wikipedia :
> http://en.wikipedia.org/wiki/Focal_length
> )
>
> R1 & R2 are the radius of the sphere.
> d is the thickness of the intersection (at the line connecting the spheres)
> n is the ior
>
> Numeric application from previous code:
> R1=6;
> R2=6;
> d=1;
> n=1.5;
> notice that 1/R1-1/R2 is null;
>
> 1/f = 0.5 ( 0.5*1/(1.5*6*6)) =
> .00462962962962962962962962962962962962962962962962962962
>
> or f= 216
>
> Units (meter, foot, pov-unit) are irrelevant as they all ends up in the
> same space (a linear length).


Post a reply to this message

From: Le Forgeron
Subject: Re: Single lens show side view
Date: 24 Oct 2011 12:49:48
Message: <4ea5972c$1@news.povray.org>
Le 24/10/2011 15:23, Arun Kumar nous fit lire :
> Thanks for the clarification.
> 
> But in this case 'd' is small when compared to R1 and R2, so can I use this
> formula
> 
> 1/f = (n-1) {1/R1 - 1/R2} ???
> 

No, because 1/R1 = 1/R2 in your case... hence 0 if you truncate the
formula, and d/nR1R2 become the important part.


Post a reply to this message

From: Arun Kumar
Subject: Re: Single lens show side view
Date: 25 Oct 2011 00:20:00
Message: <web.4ea6388a66b8b2e89a5a87d90@news.povray.org>
okay now I have calculated the focal length using the actual formula which you
have mentioned... Now how can i place the lens in the exact length (focal length
say f=216) to get sharp and better image.

Sorry for asking all the basic doubts.. This is my first assignment in pov
ray...so i'm not fully aware of these things...

Le_Forgeron <jgr### [at] freefr> wrote:
> Le 24/10/2011 15:23, Arun Kumar nous fit lire :
> > Thanks for the clarification.
> >
> > But in this case 'd' is small when compared to R1 and R2, so can I use this
> > formula
> >
> > 1/f = (n-1) {1/R1 - 1/R2} ???
> >
>
> No, because 1/R1 = 1/R2 in your case... hence 0 if you truncate the
> formula, and d/nR1R2 become the important part.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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