2010-09-24 12:22:48 +03:00
|
|
|
#include "colors.inc"
|
|
|
|
#include "batcvr.inc"
|
|
|
|
|
2010-09-25 08:44:59 +03:00
|
|
|
/*
|
|
|
|
* POV-Ray defaults to a "camera" coordinate system that can be confusing.
|
|
|
|
* We use a traditional mathematical/engineering view, with a view from
|
|
|
|
* X-/Y-/Z+ into the X/Y plane.
|
|
|
|
*/
|
|
|
|
|
2010-09-24 12:22:48 +03:00
|
|
|
camera {
|
2010-09-25 08:44:59 +03:00
|
|
|
location <-30, -80, 40>
|
|
|
|
look_at <20, 20, 0>
|
|
|
|
sky z
|
|
|
|
right -4/3*x
|
2010-09-24 12:22:48 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
background { color White }
|
|
|
|
|
|
|
|
light_source {
|
2010-09-25 08:44:59 +03:00
|
|
|
<-200, -300, 200>
|
2010-09-24 12:22:48 +03:00
|
|
|
color White
|
|
|
|
}
|
|
|
|
|
2010-09-25 08:44:59 +03:00
|
|
|
/*
|
|
|
|
* Mark the coordinate axes:
|
|
|
|
* - a red unit sphere at the center
|
|
|
|
* - three green spheres at x = 10*i
|
|
|
|
* - two blue spheres at y = 10*i
|
|
|
|
* - one yellow sphere at z = 10
|
|
|
|
*/
|
|
|
|
|
|
|
|
sphere { < 0, 0, 0>, 1 pigment { color Red } }
|
|
|
|
sphere { <10, 0, 0>, 1 pigment { color Green } }
|
|
|
|
sphere { <20, 0, 0>, 1 pigment { color Green } }
|
|
|
|
sphere { <30, 0, 0>, 1 pigment { color Green } }
|
|
|
|
sphere { < 0, 10, 0>, 1 pigment { color Blue } }
|
|
|
|
sphere { < 0, 20, 0>, 1 pigment { color Blue } }
|
|
|
|
sphere { < 0, 0, 10>, 1 pigment { color Yellow } }
|
|
|
|
|
|
|
|
#declare Finish = finish {
|
|
|
|
brilliance 2
|
|
|
|
phong 0.8
|
|
|
|
phong_size 100
|
|
|
|
metallic
|
|
|
|
}
|
|
|
|
|
2010-09-24 12:22:48 +03:00
|
|
|
union {
|
2010-09-25 03:28:42 +03:00
|
|
|
Part_batcvr
|
2010-09-25 08:44:59 +03:00
|
|
|
pigment { rgbf <0.9, 0.9, 0.9, 0.5> }
|
|
|
|
finish { Finish }
|
2010-09-24 12:22:48 +03:00
|
|
|
}
|