次の include文で、ここで示しているすべてのものを使用することができる。

#include "colors.inc" #include "textures.inc" #include "Woods.inc" #include "stones.inc" #include "glass.inc" #include "metals.inc" #include "skies.inc" #include "stars.inc" #include "chars.inc" #include "shapes.inc" #include "shapes2.inc" #include "shapes3.inc"


14.4 金属

金属のテクスチャは、textures.incmetals.inc に定義されている。金属のテクスチャ一覧を以下に示す。

図14.4 金属
//-------------------- Fig. 14-4 metal // screen size : // command line Input // +w400 +H160 +A #version 3.7 #include "colors.inc" #include "textures.inc" #include "Woods.inc" #include "stones.inc" #include "glass.inc" #include "metals.inc" #include "skies.inc" #include "stars.inc" #include "chars.inc" global_settings { assumed_gamma 2.2 } //-----------------------------camera - light camera{ location <0,-14,8> sky <0, 0, 1> right <-image_width/image_height,0,0> look_at <0, 0, 0> angle 25 } light_source{ <100, -400, 500> color rgb 1.5} //==================================== <<<<< inc metal #declare T1= texture {New_Brass} #declare T2= texture {T_Gold_1A} #declare T3= texture {T_Chrome_5A} //------------------------------------object sphere{ 0,1 texture{T1} rotate -25*z translate -2*x} cylinder{-z,z,1 texture{T2} rotate -25*z scale 0.75} box{-1,1 texture{T3} rotate -25*z scale .75 translate 2*x} //---------------------------------floor #declare CA1=rgb<0.85,0.85,0.8>; #declare CA2=rgb<0.85,0.85,0.8>*1.2; plane{ z, -1.01 pigment{ checker color CA1, color CA2 scale 0.3 } }

POV-Rayでに付属している金属の例を次の6つに分けて示す。

textures.inc に含まれるテクスチャ
   ▷ 1 いろいろな金属
metals.inc に含まれるテクスチャ
   ▷ 2 金 (Gold)
   ▷ 3 銀 (Silver)
   ▷ 4 銅 (Copper)
   ▷ 5 真鍮 (Brass)
   ▷ 6 クロム (Chrome)


14.4-1 いろいろな金属

次の金属のテクスチャを使うために必要なインクルード文

#include "textures.inc"


texture {Chrome_Metal}

texture {Brass_Metal}

texture {Gold_Metal}

texture {Silver_Metal}

texture {Copper_Metal}

texture {Bronze_Metal}

texture {Polished_Chrome}

texture {Gold_Nugget}

texture {Bright_Bronze}

texture {Polished_Brass}

texture {New_Brass}

texture {Tinny_Brass}

texture {Brass_Valley}

texture {Spun_Brass}

texture {Silver1}

texture {Silver2}

texture {Silver3}

texture {Soft_Silver}

texture {New_Penny}

texture {Aluminum}

texture {Brushed_Aluminum}

texture {Rusty_Iron}

texture {Rust}


14.4-2 金 (Gold)

次の金属のテクスチャを使うために必要なインクルード文

#include "metals.inc"


texture {T_Gold_1A}

texture {T_Gold_1B}

texture {T_Gold_1C}

texture {T_Gold_1D}

texture {T_Gold_1E}

texture {T_Gold_2A}

texture {T_Gold_2B}

texture {T_Gold_2C}

texture {T_Gold_2D}

texture {T_Gold_2E}

texture {T_Gold_3A}

texture {T_Gold_3B}

texture {T_Gold_3C}

texture {T_Gold_3D}

texture {T_Gold_3E}

texture {T_Gold_4A}

texture {T_Gold_4B}

texture {T_Gold_4C}

texture {T_Gold_4D}

texture {T_Gold_4E}

texture {T_Gold_5A}

texture {T_Gold_5B}

texture {T_Gold_5C}

texture {T_Gold_5D}

texture {T_Gold_5E}


14.4-3 銀 (silver)

次の金属のテクスチャを使うために必要なインクルード文

#include "metals.inc"


texture {T_Silver_1A}

texture {T_Silver_1B}

texture {T_Silver_1C}

texture {T_Silver_1D}

texture {T_Silver_1E}

texture {T_Silver_2A}

texture {T_Silver_2B}

texture {T_Silver_2C}

texture {T_Silver_2D}

texture {T_Silver_2E}

texture {T_Silver_3A}

texture {T_Silver_3B}

texture {T_Silver_3C}

texture {T_Silver_3D}

texture {T_Silver_3E}

texture {T_Silver_4A}

texture {T_Silver_4B}

texture {T_Silver_4C}

texture {T_Silver_4D}

texture {T_Silver_4E}

texture {T_Silver_5A}

texture {T_Silver_5B}

texture {T_Silver_5C}

texture {T_Silver_5D}

texture {T_Silver_5E}


14.4-4 銅 (Copper)

次の金属のテクスチャを使うために必要なインクルード文

#include "metals.inc"


texture {T_Copper_1A}

texture {T_Copper_1B}

texture {T_Copper_1C}

texture {T_Copper_1D}

texture {T_Copper_1E}

texture {T_Copper_2A}

texture {T_Copper_2B}

texture {T_Copper_2C}

texture {T_Copper_2D}

texture {T_Copper_2E}

texture {T_Copper_3A}

texture {T_Copper_3B}

texture {T_Copper_3C}

texture {T_Copper_3D}

texture {T_Copper_3E}

texture {T_Copper_4A}

texture {T_Copper_4B}

texture {T_Copper_4C}

texture {T_Copper_4D}

texture {T_Copper_4E}

texture {T_Copper_5A}

texture {T_Copper_5B}

texture {T_Copper_5C}

texture {T_Copper_5D}

texture {T_Copper_5E}


14.4-5 真鍮 (Brass)

次の金属のテクスチャを使うために必要なインクルード文

#include "metals.inc"


texture {T_Brass_1A}

texture {T_Brass_1B}

texture {T_Brass_1C}

texture {T_Brass_1D}

texture {T_Brass_1E}

texture {T_Brass_2A}

texture {T_Brass_2B}

texture {T_Brass_2C}

texture {T_Brass_2D}

texture {T_Brass_2E}

texture {T_Brass_3A}

texture {T_Brass_3B}

texture {T_Brass_3C}

texture {T_Brass_3D}

texture {T_Brass_3E}

texture {T_Brass_4A}

texture {T_Brass_4B}

texture {T_Brass_4C}

texture {T_Brass_4D}

texture {T_Brass_4E}

texture {T_Brass_5A}

texture {T_Brass_5B}

texture {T_Brass_5C}

texture {T_Brass_5D}

texture {T_Brass_5E}


14.4-6 クロム (Chrome)

次の金属のテクスチャを使うために必要なインクルード文

#include "metals.inc"


texture {T_Chrome_1A}

texture {T_Chrome_1B}

texture {T_Chrome_1C}

texture {T_Chrome_1D}

texture {T_Chrome_1E}

texture {T_Chrome_2A}

texture {T_Chrome_2B}

texture {T_Chrome_2C}

texture {T_Chrome_2D}

texture {T_Chrome_2E}

texture {T_Chrome_3A}

texture {T_Chrome_3B}

texture {T_Chrome_3C}

texture {T_Chrome_3D}

texture {T_Chrome_3E}

texture {T_Chrome_4A}

texture {T_Chrome_4B}

texture {T_Chrome_4C}

texture {T_Chrome_4D}

texture {T_Chrome_4E}

texture {T_Chrome_5A}

texture {T_Chrome_5B}

texture {T_Chrome_5C}

texture {T_Chrome_5D}

texture {T_Chrome_5E}
 


(End) 14.4 金属