14. inc ファイル

POV-Rayでは、インクルードファイルとしてさまざまなものが添付されている。ここではPOV-Rayで定義済みテクスチャとして用意されているものなどを中心に示す。

 ▷「14.1 カラー」
 ▷「14.2 木材」
 ▷「14.3 石材」
 ▷「14.4 金属」
 ▷「14.5 ガラス」
 ▷「14.6 質感・他」
 ▷「14.7 アルファベット」
 ▷「14.8 天空」
 ▷「14.9 形状1」
 ▷「14.10 形状2」
 ▷「14.11 形状3a」
 ▷「14.11 形状3b」


次の 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.1 カラー(色名)

colors.inc に定義されている色名を示す。レンダリングを実行すると、照明の強さや色にもよるが、一般的に下記に示されている色より少し暗めの色が表示される場合が多い。

図14.1 カラー
//-------------------- Fig. 14-1 color // 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 color #declare T1= pigment{Yellow} #declare T2= pigment{Gold} #declare T3= pigment{NeonPink} //------------------------------------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 } }

カラーの色名を使うために必要なインクルード文

#include "colors.inc"

 表 示   色 名   表 示   色 名   表 示   色 名 
 Red  Green  Blue
 Yellow  Cyan  Magenta
 Clear  White  Black
 Gray05  Gray10  Gray15
 Gray20  Gray25  Gray30
 Gray35  Gray40  Gray45
 Gray50  Gray55  Gray60
 Gray65  Gray70  Gray75
 Gray80  Gray85  Gray90
 Gray95  DimGray  Gray
 LightGray  VLightGray  Aquamarine
 BlueViolet  Brown  CadetBlue
 Coral  CornflowerBlue  DarkGreen
 DarkOliveGreen  DarkOrchid  DarkSlateBlue
 DarkSlateGray  DarkSlateGrey  DarkTurquoise
 Firebrick  ForestGreen  Gold
 Goldenrod  GreenYellow  IndianRed
 Khaki  LightBlue  LightSteelBlue
 LimeGreen  Maroon  MediumAquamarine
 MediumBlue  MediumForestGreen  MediumGoldenrod
 MediumOrchid  MediumSeaGreen  MediumSlateBlue
 MediumSpringGreen  MediumTurquoise  MediumVioletRed
 MidnightBlue  Navy  NavyBlue
 Orange  OrangeRed  Orchid
 PaleGreen  Pink  Plum
 Salmon  SeaGreen  Sienna
 SkyBlue  SlateBlue  SpringGreen
 SteelBlue  Tan  Thistle
 Turquoise  Violet  VioletRed
 Wheat  YellowGreen  SummerSky
 RichBlue  Brass  Copper
 Bronze  Bronze2  Silver
 BrightGold  OldGold  Feldspar
 Quartz  NeonPink  DarkPurple
 NeonBlue  CoolCopper  MandarinOrange
 LightWood  MediumWood  DarkWood
 SpicyPink  SemiSweetChoc  BakersChoc
 Flesh  NewTan  NewMidnightBlue
 VeryDarkBrown  DarkBrown  DarkTan
 GreenCopper  DkGreenCopper  DustyRose
 HuntersGreen  Scarlet  Med_Purple
 Light_Purple  Very_Light_Purple
 


(End) 14.1 カラー(色名)