SCM Repository
[diderot] / branches / pure-cfg / test / vr.diderot |
View of /branches/pure-cfg/test/vr.diderot
Parent Directory
|
Revision Log
Revision 38 -
(download)
(annotate)
Thu Feb 11 03:51:54 2010 UTC (11 years ago) by jhr
Original Path: trunk/test/vr.diderot
File size: 346 byte(s)
Thu Feb 11 03:51:54 2010 UTC (11 years ago) by jhr
Original Path: trunk/test/vr.diderot
File size: 346 byte(s)
Added some more code
// vr.diderot // // volume rendering example in Diderot // input string dataFile; // name of dataset input real stepSz; // size of steps image<3> img = load (dataFile); actor RayCast (int row, int col) { vec<3> dir = (real(row), real(col)); vec<3> pos = (0.0, 0.0); vec<3> t = 0.0; update { pos = pos + t*dir; } }
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |