POV-Ray : Newsgroups : povray.newusers : Wrong reflection... : Re: Wrong reflection... Server Time
31 Jul 2024 06:19:38 EDT (-0400)
  Re: Wrong reflection...  
From: Norbert Kern
Date: 21 Dec 2002 07:37:50
Message: <3e04609e@news.povray.org>
If I understand you correct, yo want to reflect a laserbeam. To do this, you
have to use photons.
Look at 'POV-Ray for Windows v3.5/scenes/optics.pov' for an example.

Norbert




"Jerome" <etu### [at] freefr> schrieb im Newsbeitrag
news:web.3e042851f909ebf5ff8bc1340@news.povray.org...
> Hi All,
>
> I try to copy some POV sources to create a beam splitter, but irremediatly
> it fails. The reflected laser beam goes in the wrong direction (and
nothing
> is transmitted). I join the code source.
>
> Thanks in advance,
>
> Cheers,
>
> Jerome
>
> -------------------------------------------------------------------------
>
> #include "colors.inc"
>
>
>   global_settings {
>                    max_trace_level 5
>                    photons {
>                             count 20000
>                             autostop 10
>                             media 100
>                             jitter 0
>                            }
>                    }
>
>
> camera {
>         orthographic
>         location  <200, 200, 0>
>         look_at   <0, 0, 100>
>        }
>
>
> media {
>        scattering {0.5, color White extinction 0}
>        method 3
>        intervals 1 samples 4
>       }
>
>
> light_source { <0,0,-400> Red
>                spotlight
>                point_at <0,0,400>
>                cylinder
>                parallel
>                radius 3.1 falloff 3.2
>                tightness 1
>                media_interaction on
>              }
>
>
> light_source {<800, 800, 400>, color White
>              photons {refraction off reflection off}
>              media_interaction off
>              }
>
>
> plane { y, -200
>        pigment {
>                 checker color HuntersGreen color SummerSky
>                 scale 50
>                 scale <3, 1, 3>
>                }
>     finish {
>             ambient 0.2
>             diffuse 0.6
>            }
>       }
>
>
>
> prism   {
>         linear_spline
>         -25, 25, 3,
>         <-25,150>, <-25,100>, <25,150>
>         pigment{rgbt<0,0,0,1>}
>         finish  {
>                 ambient 0
>                 diffuse 0
>                 reflection 0.5
>                 }
>         interior{ior 1.5}
>         photons{
>         target
>         reflection on
>         refraction on
>         collect on
>                }
>         }
>
>
>


Post a reply to this message

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