|
![](/i/fill.gif) |
Dear Nekar,
I'm a professional lens designer ( and keen even obsessive MegaPov user).
I have done a lot of work with Nathan Kopp's photon mapping and used it to
simulate real lenses to assess stray light. It really does trace real
rays and one can form images with them - limited only by the lens
aberrations. It is quite simple to model lenses by the technique you
describe. I have written a whole array of includes to model the four lens
shapes - and catalogues of materials. I've used isosurfaces to represent
aspheric lenses. But you'll need a very fast PC - a typical raytrace
through a 5 element lens may take 30mins ( on my P3/400MHz ). I'm facing up
to acquiring the fastest twin Athlon PC. Typically I trace rays at 128
positions in the image field - this is a long job..
If you're really serious about this requirement I could send you some worked
examples.
So, what's this idea for a holographic camera?
If you want to e-mail me use my office address which is
don### [at] uk thalesgroup com
Yours,
Don Barron
"Nekar Xenos" <j-p### [at] citywalk co za> wrote in message
news:3affb136@news.povray.org...
> I posted a message in p.o-t about my idea for a holographic camera. i'd
like to
> test the principle using Pov if possible. What I'd need to know is if
photon's
> work realistically enough to test the functionality of lenses. I,m not so
sure
> simple raytracing would. And then there is the question of the exact shape
of a
> lens and the location of it's focal point and how to model a lens in Pov.
If
> it's just an intersection of 2 sphere's or a squashed sphere, it would be
quite
> easy, but I'm not so sure it's that simple.
>
> Nekar
> --
> #local N=<-20,40,100>;#local K=<20,-40,100>;#local
R=seed(0);blob{#while((K-N).
> x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local
N=(vlength(N-K)<vlength(
> X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N,1,1
scale.02}sphere{
> <-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1 scale.01 }#end
> pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}// Nekar Xenos
>
>
Post a reply to this message
|
![](/i/fill.gif) |