Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /branches/charisee_dev/examples/det3/det-0.diderot
ViewVC logotype

Annotation of /branches/charisee_dev/examples/det3/det-0.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3306 - (view) (download)

1 : cchiw 3303 int ires=200;
2 :    
3 :     field#2(3)[3,3] V= c4hexic ⊛ image("slab-c4h-ten9-small.nrrd");
4 :     field#2(3)[] F = det(V);
5 :    
6 :    
7 :    
8 : cchiw 3306 strand raycast(int ui, int vi,int wi) {
9 :     vec3 pos=[ui,vi,wi];
10 :     output real out=9;
11 : cchiw 3303
12 : cchiw 3306
13 : cchiw 3303 update {
14 : cchiw 3306 if(inside(pos,V)){
15 :     real out=F(pos);
16 :     stabilize;
17 :     }
18 :     }
19 : cchiw 3303
20 :     }
21 : cchiw 3306 initially [ raycast(ui, vi,wi) | wi in 0..ires-1,vi in 0..ires-1, ui in 0..ires-1 ];

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0