SCM Repository
[diderot] / trunk / test / vr-lite.diderot |
Diff of /trunk/test/vr-lite.diderot
Parent Directory
|
Revision Log
|
Patch
revision 314, Tue Aug 17 21:49:25 2010 UTC | revision 315, Tue Aug 17 22:03:44 2010 UTC | |
---|---|---|
# | Line 47 | Line 47 |
47 | } | } |
48 | if (transp < 0.01) { // early ray termination | if (transp < 0.01) { // early ray termination |
49 | transp = 0.0; | transp = 0.0; |
rgba = [gray, gray, gray, 1.0-transp]; | ||
50 | stabilize; | stabilize; |
51 | } | } |
52 | if (t > 40.0) { | if (t > 40.0) { |
// do we have a stabilize() code block? | ||
rgba = [gray, gray, gray, 1.0-transp]; | ||
53 | stabilize; | stabilize; |
54 | } | } |
55 | t = t + stepSz; | t = t + stepSz; |
56 | } | } |
57 | ||
58 | stabilize { | |
59 | rgba = [gray, gray, gray, 1.0-transp]; | |
60 | stabilize; | |
61 | } | |
62 | ||
63 | /* render: output rgba */ | /* render: output rgba */ |
64 | } | } |
65 |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |