45 lines
555 B
POVRay
45 lines
555 B
POVRay
#include "glass.inc"
|
|
|
|
#declare glas =
|
|
union {
|
|
merge {
|
|
difference {
|
|
cylinder {
|
|
<0, 0, 0>, <0, 20, 0>, 3
|
|
}
|
|
cylinder {
|
|
<0, 1, 0>, <0, 21, 0>, 2.8
|
|
}
|
|
}
|
|
torus {
|
|
2.9, 0.1
|
|
translate <0, 20, 0>
|
|
}
|
|
//texture {T_Glass3 }
|
|
texture {T_Old_Glass }
|
|
interior {
|
|
ior 1.5
|
|
caustics 1.0
|
|
}
|
|
|
|
}
|
|
cylinder {
|
|
<0, 1, 0> <0, 10, 0>, 2.8
|
|
texture {
|
|
pigment {
|
|
rgbf <1, 1.0, 1.0, 0.0>
|
|
}
|
|
finish {
|
|
reflection 0.3
|
|
caustics 1.0
|
|
}
|
|
}
|
|
interior {
|
|
ior 1.33
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|