POV-Ray : Newsgroups : povray.text.scene-files : Focusing cylindrical light beams with a asherical lens : SV: Focusing cylindrical light beams with a asherical lens Server Time
5 Jul 2024 10:56:14 EDT (-0400)
  SV: Focusing cylindrical light beams with a asherical lens  
From: Marius Vinsdal
Date: 31 Jul 2001 10:21:27
Message: <3b66bee7@news.povray.org>
thank you very much!

You seem to have the knowledge about the program.
Perhaps you could you help me with the intersection problem on the sphere
aswell?

The sphere should have a radius on 206 mm, making a lens with 90mm in
diameter, when you intersect it. (this leaves a lens thicknesson approx.
7mm)

Thank you for your help, I really appreciate it.

Marius


Micha Riser <mri### [at] gmxnet> skrev i
meldingsnyheter:3b65cd4f@news.povray.org...
> You will want something like that:
>
> #version unofficial megapov 0.7
>
> #include "colors.inc"
> #include "glass.inc"
>
>
bal_settings{ 
>         max_trace_level 100
>         adc_bailout 1/32
>         photons{
>                 count 20000
>                 autostop 0
>                 jitter .4
>         }
> }
> 
> camera{
>         location <0,10,-10>
>         look_at <0,2,0>
>         angle 30
> }
> 
> light_source{<10,100,0>
>         color White
>         spotlight
>         radius 2
>         falloff 2.1
>         point_at <0,2,0>
> 
>         // or use the following for a cylindrical light, but gets somehow too 
> bright
>         /*cylinder
>         radius 10
>         falloff 15
>         point_at <0,2,0>*/
> }
> 
> plane{y,0
>         pigment{Red}}
> 
> // this is acutally not a realistical lens but just a scaled sphere
> // - you will probably want to use an intersection between two spheres
> 
> sphere{<0,0,0>,1
>         scale <1,0.05,1>
>         rotate z*-40
>         translate <0,2,0>
>         texture{T_Glass3}
>         interior{I_Glass}
>         photons{
>                           target                                
>                           reflection off
>                                 refraction on
>                           ignore_photons
>                           }   
> 
> }
> 
> // EOF
> 
> Note that it *requires* the unofficial version 'MegaPOV'. I guess you 
> already got it but in case you do not go to 
> http://nathan.kopp.com/patched.htm
> 
> 
- Micha


Post a reply to this message

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