-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathcube.in
129 lines (112 loc) · 2.69 KB
/
cube.in
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// image_dimension: 32 32
// image_dimension: 64 64
// image_dimension: 128 128
// image_dimension: 256 256
image_dimension: 512 512
// image_dimension: 1024 1024
ambient: .4
background: 0 .3 .3
object_begin:
// rectangle: 64 64 16
// rectangle: 100 100 100
// cube: 4
hipiph: hipiph.ascii
// fuel: ..\vol_data\fuel.raw
// hydrogen: ..\vol_data\hydrogenAtom.raw
// cthead: ..\vol_data\3dhead.raw
// cthead: ..\project\vol_data\ctHead.vol
// cthead: ..\vol_data\3dHead.vol
// foot: ..\vol_data\foot128.vol
// skull: ..\project\vol_data\skull128.vol
// foot2: ..\project\vol_data\foot.vol
// uncbrain: ..\project\vol_data\uncBrain.vol
// data_file: ..\vol_data\ctHead.vol
// data_file: ..\project\vol_data\uncBrain.vol
// data_file: ..\vol_data\ultrasound.vol
// data_file: ..\vol_data\hipip.bin
// data_file: ..\vol_data\3dhead.vol
// data_file: ..\project\vol_data\nerve.vol
material: 1 1 .5 2.0
color: .2 .5 .8
object_end:
light_begin:
light_position: 60 40 0
intensity: 1.0
light_end:
view_begin:
// volume is cube, splat is square, and viewport is square, view window is square
// volume_size * splat_size * parallel_view_window/2 = viewport_size
//
// type: parallel -.8 .8 -.8 .8
type: parallel -1 1 -1 1
// type: parallel -1.5 1.5 -1.5 1.5
// type: parallel -0.5 0.5 -0.5 0.5
eye: 0 0 5
coi: 0 0 0
hither: 0.1
yon: 5000
view_angle: 60
head_tilt: 0
view_end:
splat_begin:
// for viewport 32x32
// splat sizpe 7
// kernel_radius: 0.21875
// for viewport 64x64
// splat sizpe 7
// kernel_radius: 0.109375
// for viewport 128x128
// splat sizpe 7
// kernel_radius: 0.0546875
// for viewport 256x256
// splat sizpe 7
// kernel_radius: 0.02734375
// for viewport 1024x1024
// splat sizpe 7
// kernel_radius: 0.0068359375
// kernel_radius: 0.015625
// for viewport 512x512
// splat size 1
// kernel_radius: 0.001953125
// splat size 3
// kernel_radius: 0.005859375
// splat size 5
// kernel_radius: 0.009765625
// splat sizpe 7
// kernel_radius: 0.013671875
// splat sizpe 9
kernel_radius: 0.017578125
// splat size 10
// kernel_radius: 0.01953125
// splat size 11
// kernel_radius: 0.021484375
// splat size 20
// kernel_radius: 0.0390625
// splat size 30
// kernel_radius: 0.05859375
// splat size 40
// kernel_radius: 0.078125
// splat size 50
// kernel_radius: 0.09765625
// splat size 60
// kernel_radius: 0.1171875
// splat size 70
// kernel_radius: 0.13671875
// splat size 80
// kernel_radius: 0.15625
// splat size 90
// kernel_radius: 0.17578125
// splat size 100
// kernel_radius: 0.1953125
// splat size 110
// kernel_radius: 0.21484375
// splat size 120
// kernel_radius: 0.234375
// splat size 130
// kernel_radius: 0.25390625
tsplat_size: 32
attenuation_factor: .45
slice_depth: .11
splat_end:
output: cube.ppm
end: