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

SCM Repository

[diderot] View of /branches/vis12-cl/test/opt-test.diderot
ViewVC logotype

View of /branches/vis12-cl/test/opt-test.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2402 - (download) (annotate)
Sat Jul 27 13:55:03 2013 UTC (5 years, 10 months ago) by jhr
File size: 280 byte(s)
  Create branch for adding OpenCL to vis12 branch.  Based on r2401 of the vis12 branch.
// triv.diderot
//

input real x;
input real y;
real a = -x;
real b = y-a;

strand RayCast ()
{
    output real t = a + b;

    update
    {
	t = t + 0.1;
	if (t > 20.0)
	    stabilize;
    }

    /* render: output maxval */
}

initially [ RayCast() | r in 0..199, c in 0..199 ];

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