|
|
"Ziyan" <beg### [at] hotmailcom> wrote in message
news:web.428f5bf3650d078490ff0fdd0@news.povray.org...
> The glass has a form of cylinder and the refraction index 1.33(ior 1.33).
> How to create a beam inside it?
Add 'media' for the light beam to interact with the object. Maybe something
like the following:
global_settings {
assumed_gamma 1.0
}
cylinder {
0, 2*y, 1
hollow // must be hollow
pigment {
rgbt 0.9 // not entirely transparent
}
interior {
ior 1.33
media {
scattering {
1, 1.5 // isotropic type, and amount of scatter
extinction 0.5 // fades out if >0
}
}
}
}
light_source {
<1,9,1>, 1
cylinder // for the "beam" appearance, otherwise use 'spotlight'
point_at <0,0,0>
radius 0.1
falloff 0.2
}
camera {
location <0,1,-4>
look_at y
}
Post a reply to this message
|
|