9 |
input vec3 eye; // location of eye point |
input vec3 eye; // location of eye point |
10 |
// e.g. (25,15,10) |
// e.g. (25,15,10) |
11 |
input vec3 orig; // location of pixel (0,0) |
input vec3 orig; // location of pixel (0,0) |
12 |
// e.g. (8.83877,2.5911,7.65275) |
// e.g. txs: (8.83877,2.5911,7.65275) |
13 |
|
// e.g. vox1: (7.45013,2.9202,5.53883) |
14 |
input vec3 cVec; // vector between pixels horizontally |
input vec3 cVec; // vector between pixels horizontally |
15 |
// e.g. (-0.0151831,0.0278357,0) |
// e.g. txs: (-0.0151831,0.0278357,0) |
16 |
|
// e.g. vox1: (-0.00930055,0.0164548,0) |
17 |
input vec3 rVec; // vector between pixels vertically |
input vec3 rVec; // vector between pixels vertically |
18 |
// e.g. (0.0074887,0.00408474,-0.0305383) |
// e.g. txs: (0.0074887,0.00408474,-0.0305383) |
19 |
|
// e.g. vox1: (0.00476876,0.00269539,-0.0180902) |
20 |
|
|
21 |
image(3)[] img = load (dataFile); |
image(3)[] img = load (dataFile); |
22 |
|
|