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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3306 - (download) (annotate)
Fri Oct 16 19:23:34 2015 UTC (3 years, 11 months ago) by cchiw
File size: 381 byte(s)
 det3 programs
int ires=200;

field#2(3)[3,3] V= c4hexic ⊛ image("slab-c4h-ten9-small.nrrd");
field#2(3)[] F = det(V);



strand raycast(int ui, int vi,int wi) {
    vec3 pos=[ui,vi,wi];
    output real out=9;


  update {
           if(inside(pos,V)){
        real out=F(pos);
    stabilize;
         }
}

}
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