SCM Repository
[diderot] / trunk / test / vr-MIP.diderot |
Diff of /trunk/test/vr-MIP.diderot
Parent Directory
|
Revision Log
|
Patch
revision 177, Tue Jul 27 14:40:06 2010 UTC | revision 178, Tue Jul 27 20:35:40 2010 UTC | |
---|---|---|
# | Line 4 | Line 4 |
4 | // | // |
5 | ||
6 | input string dataFile; // name of dataset | input string dataFile; // name of dataset |
7 | input real stepSz; // 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. (25,15,10) |
# | Line 30 | Line 30 |
30 | update | update |
31 | { | { |
32 | pos = pos + stepSz*dir; | pos = pos + stepSz*dir; |
33 | if (inside (pos,F)) { | |
34 | real val = F@pos; | real val = F@pos; |
35 | maxval = max(val, maxval); | maxval = max(val, maxval); |
36 | } | |
37 | if (t > 20.0) | if (t > 20.0) |
38 | stabilize; | stabilize; |
39 | t = t + stepSz; | t = t + stepSz; |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |