|
![](/i/fill.gif) |
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] rcn com> 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
|
![](/i/fill.gif) |