|
#include "colors.inc"
#include "glass.inc"
#include "woods.inc"
// 空間設定
global_settings{
max_trace_level 12
}
camera {
location <0,15,-18>
look_at<0,5,0,>
angle 50
}
light_source {
<-3000,4000,-2000>
color White
}
fog {
distance { color rgb .8 }
}
sky_sphere {
pigment { color rgb .8 }
}
// テーブルの定義
plane{y,-.001
texture{T_Wood23
sinish {reflection 0.25}
scale 6
rotate <0,45,0>
}
}
|
// コップ定義
difference {
merge {
cylinder {
<0,0,0><0,1.001,0>,3-1
}
cylinder {
<0,1,0><0,10,0>,3
}
torus{
3-1,1
translate<0,1,0>
}
torus{
3-.1,.1
translate<0,10,0>
}
}
merge {
cylinder {
<0,0,0><0,1.001,0>,3-1-.2
}
cylinder {
<0,1,0><0,10,0>,3-.2
}
torus{
3-1-.2,1
translate<0,1,0>
}
translate<0,1.4,0>
}
texture {T_Glass3}
interior{I_Glass}
}
|