|
![](/i/fill.gif) |
then I created a beam like that
light_source {<0, 0, 68>
color rgb < 1.2, 1, 1.5>
cylinder
point_at <0,0,-68>
photons {refraction on reflection on}
translate <-27.5,-0.25,0>
}
cylinder{<0,0,-68>, < 0, 0, 68>,0.5
hollow
texture {pigment {color rgbf 1}}
interior {
media {
scattering {1, color Red extinction 0}
method 3
intervals 1 samples 4}}
photons {target}
translate -27.5*x
}
// to pass through the object
#declare A = merge {object{cylinder {-65*z,65*z,0.4}}
object{box {<-0.4,-0.25,-65>,<0.4,0.25,65>}
translate 0.25*y }}
object {A
translate <-27.5,0,0>
hollow
pigment {
color rgbf 0.7}
interior {
ior 1.55
media {
scattering {1, 1.5
extinction 0.5
}}}}
but nothing happens.....and even a Merge has separated surface.
Stephen McAvoy <mca### [at] aol com> wrote:
> On Sat, 21 May 2005 19:13:53 EDT, "Ziyan" <beg### [at] hotmail com>
> wrote:
>
> >Then how could I create a beam through a piece glass? I mean the length of
> >beam langer than that of glass. The beam inside and outside of glass should
> >be all visible.
> >
> >Could you help me?
> >
>
> Surround the cylinder with a box that has scattering media, use
> photons. Look at optics.pov in the sample scenes.
>
>
>
> Regards
> Stephen
Post a reply to this message
|
![](/i/fill.gif) |