7 |
input real stepSz = 0.1; // size of steps |
input real stepSz = 0.1; // size of steps |
8 |
// e.g. 0.1 |
// e.g. 0.1 |
9 |
input vec3 eye; // location of eye point |
input vec3 eye; // location of eye point |
10 |
// e.g. (25,15,10) |
// e.g. txs: (25,15,10) |
11 |
|
// vox1,x: (-8,2,2) |
12 |
|
// vox1,y: (2,-8,2) |
13 |
|
// vox1,z: (2,2-8) |
14 |
input vec3 orig; // location of pixel (0,0) |
input vec3 orig; // location of pixel (0,0) |
15 |
// e.g. txs: (8.83877,2.5911,7.65275) |
// e.g. txs: (8.83877,2.5911,7.65275) |
16 |
// e.g. vox1: (7.45013,2.9202,5.53883) |
// vox1,x: (0,3.4036,3.4036) |
17 |
|
// vox1,y: (0.596402,0,3.4036) |
18 |
|
// vox1,z: (3.4036,3.4036,0) |
19 |
input vec3 cVec; // vector between pixels horizontally |
input vec3 cVec; // vector between pixels horizontally |
20 |
// e.g. txs: (-0.0151831,0.0278357,0) |
// e.g. txs: (-0.0151831,0.0278357,0) |
21 |
// e.g. vox1: (-0.00930055,0.0164548,0) |
// vox1,x: (0,-0.014036,0) |
22 |
|
// vox1,y: (0.014036,0,0) |
23 |
|
// vox1,z: (-0.014036,0,0) |
24 |
input vec3 rVec; // vector between pixels vertically |
input vec3 rVec; // vector between pixels vertically |
25 |
// e.g. txs: (0.0074887,0.00408474,-0.0305383) |
// e.g. txs: (0.0074887,0.00408474,-0.0305383) |
26 |
// e.g. vox1: (0.00476876,0.00269539,-0.0180902) |
// vox1,x: (0,0,-0.014036) |
27 |
|
// vox1,y: (0,0,-0.014036) |
28 |
|
// vox1,z: (0,-0.014036,0) |
29 |
|
|
30 |
image(3)[] img = load (dataFile); |
image(3)[] img = load (dataFile); |
31 |
|
|