cosmath PovRay 座標軸
※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。


座標軸


#include"colors.inc"
#include"shapes.inc"
#include"textures.inc" 
camera{
         location<6,4,-8>
        look_at<0,0,0>
        angle 48 
      } 
      
light_source{ <12,38,-14> color 1.5*White } 

// y jiku
object{
 cylinder{
  <0,0,0>,<10,0,0>, 0.02
  pigment{ color Gray20}

 }
} 
object{ sphere{<1,0,0>,0.05 pigment{color Cyan}}}
object{ sphere{<2,0,0>,0.05 pigment{color Cyan}}}
object{ sphere{<3,0,0>,0.05 pigment{color Cyan}}}
object{ sphere{<4,0,0>,0.05 pigment{color Cyan}}}  
object{ cylinder{ <0,0,0>,<-10,0,0> 0.02 pigment{ Color Gray85}}}

// x jiku
object{
 cylinder{
  <0,0,0>,<0,0,-10>,0.01
  pigment{ color Gray20}
 }
}
object{ sphere{ <0,0,-1>,0.05 pigment{ color Red}}}  
object{ sphere{ <0,0,-2>,0.05 pigment{ color Red}}} 
object{ sphere{ <0,0,-3>,0.05 pigment{ color Red}}} 
object{ sphere{ <0,0,-4>,0.05 pigment{ color Red}}}   
object{ cylinder{ <0,0,0>,<0,0,10> 0.02 pigment{ color  Gray95}}} 

// z jiku
object{
 cylinder{
  <0,0,0>,<0,10,0>,0.02
  pigment{color Gray20}
 }
}
object{ sphere{<0,1,0>,0.05 pigment{color Green}}}
object{ sphere{<0,2,0>,0.05 pigment{color Green}}}
object{ sphere{<0,3,0>,0.05 pigment{color Green}}}
object{ sphere{<0,4,0>,0.05 pigment{color Green}}}    
object{ cylinder{ <0,0,0>,<0,-20,0> 0.02 pigment{ color Gray95}}}  

添付ファイル