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

SCM Repository

[diderot] Diff of /trunk/rtest/tests/convo3d0/convo3d0.diderot
ViewVC logotype

Diff of /trunk/rtest/tests/convo3d0/convo3d0.diderot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2635, Mon May 26 14:06:39 2014 UTC revision 2636, Tue May 27 16:18:36 2014 UTC
# Line 1  Line 1 
1    /*! \file convo3d0.diderot
2     *
3     * \author Gordon Kindlmann
4     */
5    
6    /*
7     * COPYRIGHT (c) 2012 The Diderot Project (http://diderot-language.cs.uchicago.edu)
8     * All rights reserved.
9     */
10    
11  int outSize = 50;  int outSize = 50;
12    
13  field#0(3)[] F = tent ⊛ load("../../data/ring.nrrd");  field#0(3)[] F = tent ⊛ image("../../data/ring.nrrd");
14    
15  strand sample (int ui, int vi, int wi) {  strand sample (int ui, int vi, int wi) {
16     real uu = lerp(-1.0, 1.0, -0.5, real(ui), real(outSize)-0.5);     real uu = lerp(-1.0, 1.0, -0.5, real(ui), real(outSize)-0.5);

Legend:
Removed from v.2635  
changed lines
  Added in v.2636

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