POV-Ray : Newsgroups : povray.unofficial.patches : beam splitter in megapov Server Time
1 Sep 2024 16:19:40 EDT (-0400)
  beam splitter in megapov (Message 1 to 2 of 2)  
From: Laszlo Vecsey
Subject: beam splitter in megapov
Date: 21 Mar 2001 00:01:33
Message: <3ab835ad$1@news.povray.org>
How can I create a beam splitter in megapov? I have some lenses set up that
are reflecting an image, and I'm wondering what I need to create an object
that will send half the intensity one way and the other half at a 90 degree
angle.

Is this as simple as creating a 50% transparent pigment or is there more to
it?


Post a reply to this message

From: Jan Walzer
Subject: Re: beam splitter in megapov
Date: 21 Mar 2001 05:24:52
Message: <3ab88174$1@news.povray.org>
It should work with photons ... (They're in the MP-docs)
Make your element 50% transparent, and in finish give it a 50% diffuse
and 50% reflection ...
of course, you may want to set all the other finish params also to
zero ....
depends on how you want the object to appear in your scene ...


--
background{rgb 1}camera{location<1,5,-2>look_at 0}#macro
m(a,b,i)#local d=(b-a)
/8;#local
e=vcross(d,y);#if(i)m(a-e,a+e+2*d,i-1)m(a+e,a+2*d-e,i-1)m(a+3*d-e,a+e
+3*d,i-1)m(a+3*d-e,a+5*d-e,i-1)m(a+6*d-e,a+e+6*d,i-1)m(a+8*d-e,a+e+8*d
,i-1)#else
cylinder{a,b,vlength(d)/3 pigment{rgb 0}}#end#end m(-4*x,2*x,4) // Jan
Walzer


"Laszlo Vecsey" <mas### [at] rcncom> schrieb im Newsbeitrag
news:3ab835ad$1@news.povray.org...
> How can I create a beam splitter in megapov? I have some lenses set
up that
> are reflecting an image, and I'm wondering what I need to create an
object
> that will send half the intensity one way and the other half at a 90
degree
> angle.
>
> Is this as simple as creating a 50% transparent pigment or is there
more to
> it?
>
>


Post a reply to this message

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