Last updated: March 2008. Kajiyama             [ 目次に戻る ]

地面の表現


サンプル planexz-coral.povの赤字を書き換える

サンプル planexz-coral.pov

//planexz-coral.pov
// POV-Ray 3.6 scene file by Kajiyama

#include "colors.inc"
#include "shapes.inc"

//カメラ設定
camera{
location < 18,18,18>
look_at <0,0,0>
angle 50
}
//ライト設定
light_source{
<15,25,8> color White*1.6
}

// XYZ座標空間


//■■■単色の地面■■■
object{
Plane_XZ
pigment{color Coral}
translate <0,0,0>//原点にあるXZ平面
}

//■■■

// 座標系の表示
// Z軸
cylinder{<0,0,-5>,<0,0,7>,0.05
pigment{color Red}
finish{phong 1 reflection 0.1}
}
cone{<0,0,7>,0.3
<0,0,8.5>,0
pigment{color Red}
}
// Z文字
cylinder{<-0.5,0.5,0>,<0.5,0.5,0>,0.08
pigment{color Red}
finish{phong 1 reflection 0.1}
translate <0,1.1,9>
}
cylinder{<0.5,0.5,0>,<-0.5,-0.5,0>,0.08
pigment{color Red}
finish{phong 1 reflection 0.1}
translate <0,1.1,9>
}
cylinder{ <-0.5,-0.5,0>, <0.5,-0.5,0>,0.08
pigment{color Red}
finish{phong 1 reflection 0.1}
translate <0,1.1,9>
}
// X軸
cylinder{<-5,0,0>,<7,0,0>,0.05
pigment{color Green}
finish{phong 1 reflection 0.1}
}
cone{<7,0,0>,0.3
<8.5,0,0>,0
pigment{color Green}
}
// X文字
cylinder{<-0.5,-0.5,0>,<0.5,0.5,0>,0.08
pigment{color Green}
finish{phong 1 reflection 0.1}
rotate y*90
translate <9,1.1,0>
}
cylinder{ <-0.5,0.5,0>, <0.5,-0.5,0>,0.08
pigment{color Green}
finish{phong 1 reflection 0.1}
rotate y*90
translate <9,1.1,0>
}

// Y軸
cylinder{<0,-5,0>,<0,7,0>,0.05
pigment{color Blue}
finish{phong 1 reflection 0.1}
}
cone{<0,7,0>,0.3
<0,8.5,0>,0
pigment{color Blue}
}
// Y文字
cylinder{<-0.5,0.5,0>,<0,0,0>,0.08
pigment{color Blue}
finish{phong 1 reflection 0.1}
translate <0,9,0>
}
cylinder{<0.5,0.5,0>,<0,0,0>,0.08
finish{phong 1 reflection 0.1}
translate <0,9,0>
}
cylinder{ <0,0,0>, <0,-0.5,0>,0.08
pigment{color Blue}
finish{phong 1 reflection 0.1}
translate <0,9,0>
}
background{color White}

サンプル planexz-coral-2.pov

//planexz-coral-2.pov
// POV-Ray 3.6 scene file by Kajiyama

// XYZ座標空間


//■■■単色の地面■■■
object{
Plane_XZ
pigment{color Coral}
translate <0,-5,0>//Yに-5平行移動したXZ平面
}

//■■■




サンプル planexz.pov

//planexz.pov
// POV-Ray 3.6 scene file by Kajiyama

// XYZ座標空間


//■■■チェック柄の地面■■■
object{
Plane_XZ
pigment{checker color Gray color White*0.9}
translate <0,0,0>//原点のXZ平面
}

//■■■

[ 目次に戻る ]