Okamoto's Homepage
![]() |
![]() |
![]() |
![]() |
Chrome_Texture Chrome_Metal |
Brass_Texture Brass_Metal |
Gold_Texture Gold_Metal |
Bronze_Texture Bronze_Metal |
---|
![]() |
![]() |
![]() |
![]() |
Copper_Texture Copper_Metal |
Silver_Texture Silver_Metal |
Polished_Chrome | Polished_Brass |
---|
![]() |
![]() |
![]() |
![]() |
New_Brass | Spun_Brass | Brushed_Aluminum | Silver1 |
---|
![]() |
![]() |
![]() |
![]() |
Silver2 | Silver3 | Brass_Valley | Rust |
---|
![]() |
![]() |
![]() |
![]() |
Rusty_Iron | Soft_Silver | New_Penny | Tinny_Brass |
---|
![]() |
![]() |
![]() |
Gold_Nugget | Aluminum | Bright_Bronze |
---|
上のサンプルを作ったときのソースは下のようになっています。
#include "colors.inc" #include "skies.inc" #include "textures.inc" camera { location <4, 6, -10> look_at <-0.2, 1, 0> angle 23 right x*image_width/image_height } light_source { <100, 100, -100> color rgb 1 } light_source { <-0, 10, -100> color rgb 0.3 } object { plane { y, 0 } texture { pigment { checker color rgb 1, color rgb 0 } finish { ambient 0.3 } scale 0.5 } } sky_sphere { S_Cloud5 } #declare myTex = texture { Bright_Bronze } object { sphere { <0, 1, 0>, 1 } texture { myTex } translate <1, 0, 0> } object { box { <-1, -1, -1>, <1, 1, 1> } texture { myTex } translate <-1, 1, 0> } |