SCM Repository
[diderot] / trunk / test / vr-phong.diderot |
Diff of /trunk/test/vr-phong.diderot
Parent Directory
|
Revision Log
|
Patch
revision 163, Tue Jul 20 18:55:32 2010 UTC | revision 248, Fri Aug 6 20:40:57 2010 UTC | |
---|---|---|
# | Line 4 | Line 4 |
4 | // | // |
5 | ||
6 | input string dataFile; // name of dataset | input string dataFile; // name of dataset |
7 | input string txfFile; // name of transfer-function file | |
8 | input real stepSz; // size of steps | input real stepSz; // size of steps |
9 | input vec3 lightDir; | input vec3 lightDir; |
10 | input vec3 lightRGB; | input vec3 lightRGB; |
# | Line 18 | Line 19 |
19 | ||
20 | image(3)[] img = load (dataFile); | image(3)[] img = load (dataFile); |
21 | ||
22 | //field#1(3)[] F = convolve (bspln3, img); | //field#1(3)[] F = img (*) bspln3; |
23 | field#2(3)[] F = convolve (bspln3, img); | field#2(3)[] F = img (*) bspln3; |
24 | ||
25 | field#0(1)[4] txf = convolve (tent, load("txf-rgba.nrrd")); | field#0(1)[4] txf = load(txfFile) ⊛ tent; |
26 | ||
27 | actor RayCast (int row, int col) | actor RayCast (int row, int col) |
28 | { | { |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |