SCM Repository
[diderot] / branches / charisee_dev / examples / canny / vr-can.diderot |
Diff of /branches/charisee_dev/examples/canny/vr-can.diderot
Parent Directory
|
Revision Log
|
Patch
revision 3281, Tue Oct 13 17:05:21 2015 UTC | revision 3313, Sat Oct 17 00:33:40 2015 UTC | |
---|---|---|
# | Line 18 | Line 18 |
18 | input real isoval = 1800; | input real isoval = 1800; |
19 | ||
20 | field#4(3)[] V = bspln5 ⊛ image("canny.nrrd"); | field#4(3)[] V = bspln5 ⊛ image("canny.nrrd"); |
21 | field#3(3)[3] D = ∇V/|∇V|; // NOTISO (canny) NOTREF | field#3(3)[3] D = ∇V/|∇V|; // NOTISO (canny) NOTREF |
22 | field#3(3)[] M = ∇V•∇V; // NOTISO (canny) NOTREF | field#3(3)[] M = ∇V•∇V; // NOTISO (canny) NOTREF |
23 | field#2(3)[] F = -∇M • D; // NOTISO (canny) NOTREF | field#2(3)[] F = -∇M • D; // NOTISO (canny) NOTREF |
input real gmin = 1; // NOTISO (canny & ref) | ||
24 | ||
25 | input real gmin = 1; // NOTISO (canny & ref) | |
// field#1(3)[] S = ∇⊗∇M • D • D; // NOTISO | ||
// input real smax = -1;// NOTISO | ||
26 | ||
27 | function real alpha(real v, real g) = clamp(0, 1, 1.2*(1 - |v|/(g*thickness))); | function real alpha(real v, real g) = clamp(0, 1, 1.2*(1 - |v|/(g*thickness))); |
28 | field#0(1)[3] cmap = tent ⊛ image("isobow.nrrd"); | field#0(1)[3] cmap = tent ⊛ image("isobow.nrrd"); |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |