Root/solidify/main.pov

Source at commit 286a6bdd092f2f77ac37f7f23c1d462988366528 created 9 years 2 months ago.
By Werner Almesberger, Sanitize POV-Ray output (in progress)
1#include "colors.inc"
2#include "batcvr.inc"
3
4/*
5 * POV-Ray defaults to a "camera" coordinate system that can be confusing.
6 * We use a traditional mathematical/engineering view, with a view from
7 * X-/Y-/Z+ into the X/Y plane.
8 */
9
10camera {
11    location <-30, -80, 40>
12    look_at <20, 20, 0>
13    sky z
14    right -4/3*x
15}
16
17background { color White }
18
19light_source {
20    <-200, -300, 200>
21    color White
22}
23
24/*
25 * Mark the coordinate axes:
26 * - a red unit sphere at the center
27 * - three green spheres at x = 10*i
28 * - two blue spheres at y = 10*i
29 * - one yellow sphere at z = 10
30 */
31
32sphere { < 0, 0, 0>, 1 pigment { color Red } }
33sphere { <10, 0, 0>, 1 pigment { color Green } }
34sphere { <20, 0, 0>, 1 pigment { color Green } }
35sphere { <30, 0, 0>, 1 pigment { color Green } }
36sphere { < 0, 10, 0>, 1 pigment { color Blue } }
37sphere { < 0, 20, 0>, 1 pigment { color Blue } }
38sphere { < 0, 0, 10>, 1 pigment { color Yellow } }
39
40#declare Finish = finish {
41    brilliance 2
42    phong 0.8
43    phong_size 100
44    metallic
45}
46
47union {
48    Part_batcvr
49    pigment { rgbf <0.9, 0.9, 0.9, 0.5> }
50    finish { Finish }
51}
52

Archive Download this file

Branches:
master



interactive