File: example1.r3d

package info (click to toggle)
raster3d 3.0-3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,916 kB
  • ctags: 1,557
  • sloc: fortran: 9,536; ansic: 1,060; makefile: 318; sh: 250; csh: 15
file content (92 lines) | stat: -rw-r--r-- 1,999 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@header1.r3d
# Draw a bunch of spheres, each with it's own material specification
#
# First row
######################################
@red.r3d
2
 -1.0  0.75 0.0    0.18   1.0 1.0 1.0
@orange.r3d
2
 -0.6  0.75 0.0    0.18   1.0 1.0 1.0
@yellow.r3d
2
 -0.2  0.75 0.0    0.18   1.0 1.0 1.0
@green.r3d
2
  0.2  0.75 0.0    0.18   1.0 1.0 1.0
@blue.r3d
2
  0.6  0.75 0.0    0.18   1.0 1.0 1.0
@cyan.r3d
2
  1.0  0.75 0.0    0.18   1.0 1.0 1.0
# 
# Second row
######################################
@purple.r3d
2
 -1.0  0.25 0.0    0.18   1.0 1.0 1.0
@lilac.r3d
2
 -0.6  0.25 0.0    0.18   1.0 1.0 1.0
@darkgrey.r3d
2
 -0.2  0.25 0.0    0.18   1.0 1.0 1.0
@grey.r3d
2
  0.2  0.25 0.0    0.18   1.0 1.0 1.0
@white.r3d
2
  0.6  0.25 0.0    0.18   1.0 1.0 1.0
#
# Fancy row
######################################
@pearl.r3d
2
 -1.0 -0.25 0.0    0.18   1.0 1.0 1.0
@bronze.r3d
2
 -0.6 -0.25 0.0    0.18   1.0 1.0 1.0
@gold.r3d
2
 -0.2 -0.25 0.0    0.18   1.0 1.0 1.0
@silver.r3d
2
  0.2 -0.25 0.0    0.18   1.0 1.0 1.0
#
#  Blue on the outside, golden lining
#
8
   3.  0.4   1.0 1.0 0.0   0.0   0 1 0 3
SOLID     0.0 0.0 1.0
BACKFACE  0.7 0.3 0.1  0 0
FRONTCLIP 0.13
2
  0.6 -0.25 0.0    0.18   1.0 1.0 1.0
#
# Catseye marble
# (the swirl is a bounded hyperbolic paraboloid, a quadric surface)
#
@2-sided.r3d
14
  1.0 -0.25 0.0   0.18    1.0 1.0 1.0                                                    
  -0.0089  -0.0272   0.0626  -0.0234  -0.0165  -0.0400   0.0047  -0.0086   0.0013   0.0000
@transparent0.r3d                                                               
2                                                                              
  1.0 -0.25 0.0   0.18    1.0 1.0 1.0                                                    
#
# Fourth row
######################################
#
# Matte colours (no highlights)
#
@matte.r3d
2
 -0.6 -0.75 0.0    0.18   1.0 0.5 0.7
2
 -0.2 -0.75 0.0    0.18   0.4 0.2 0.9
2
  0.2 -0.75 0.0    0.18   0.9 0.9 0.2
2
  0.6 -0.75 0.0    0.18   0.0 0.45 0.05