Okamoto's Homepage
![]() |
![]() |
![]() |
photonの設定なし | 0.2 | 0.1 |
---|---|---|
![]() |
![]() |
![]() |
0.05 | 0.01 | 0.005 |
上のサンプルを作ったときのソースは下のようになっています。
#include "colors.inc"
#include "skies.inc"
#include "textures.inc"
global_settings {
photons {
spacing 0.01
}
}
camera {
location <-0.7, 6, -9.5>
look_at <-.7, 1.1, 0>
angle 20
right x*image_width/image_height
}
light_source {
<100, 100, 100>
color rgb 1
}
object {
sphere { <0, 0, 0>, 0.5 }
material {M_Orange_Glass}
photons{
target 1.0
refraction on
reflection on
}
translate <0.6, 0.5, 0>
}
object {
cylinder { <0, 0, 0>, <0, 2, 0>, 0.5 }
material {M_Glass3}
photons{
target 1.0
refraction on
reflection on
}
translate <0, 0, 2>
}
object {
plane { y, 0 }
texture {
pigment {
White
}
finish {
ambient 0.5
}
}
}
sky_sphere {
S_Cloud5
}
|