povファイルの例(Data.pov)
#include "colors.inc"
#include "textures.inc"
#include "skies.inc"
camera{
location <20,12,15>
look_at <2,2,2>
right x*image_width/image_height
}
light_source{
<20, 20, 15>
color rgb 1
}
sphere_sweep{
linear_spline
2
<0, 0, 0>, 0.03
<0, 0, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 0, 0>, 0.03
<0, 10, 0>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 0, 10>, 0.03
<0, 10, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 0, 10>, 0.03
<10, 0, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 10, 0>, 0.03
<0, 10, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 10, 0>, 0.03
<10, 10, 0>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 0, 0>, 0.03
<0, 0, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<10, 0, 0>, 0.03
<10, 0, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<10, 0, 0>, 0.03
<10, 10, 0>, 0.03
}
sphere_sweep{
linear_spline
2
<0, 10, 10>, 0.03
<10, 10, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<10, 0, 10>, 0.03
<10, 10, 10>, 0.03
}
sphere_sweep{
linear_spline
2
<10, 10, 0>, 0.03
<10, 10, 10>, 0.03
}
object{
sphere{ <5.0, 5.0, 5.0>, 3 }
texture{ pigment{ rgbf <0, 0, 0, 0.4> } }
material{ M_Glass }
}
object{
sphere{ <2.0, 2.0, 8.0>, 2 }
texture{ pigment{ rgbf <0, 0, 1, 0.4> } }
material{ M_Glass }
}
object{
sphere{ <2.0, 8.0, 2.0>, 2 }
texture{ pigment{ rgbf <0, 1, 0, 0.4> } }
material{ M_Glass }
}
object{
sphere{ <8.0, 2.0, 2.0>, 2 }
texture{ pigment{ rgbf <1, 0, 0, 0.4> } }
material{ M_Glass }
}
object{
sphere{ <2.0, 8.0, 8.0>, 2 }
texture{ pigment{ rgbf <0, 1, 1, 0.4> } }
material{ M_Glass }
}
object{
sphere{ <8.0, 2.0, 8.0>, 2 }
texture{ pigment{ rgbf <1, 0, 1, 0.4> } }
material{ M_Glass }
}
object{
sphere{ <8.0, 8.0, 2.0>, 2 }
texture{ pigment{ rgbf <1, 1, 0, 0.4> } }
material{ M_Glass }
}
sky_sphere{ S_Cloud5 }