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

SCM Repository

[diderot] Diff of /branches/vis15/src/tests/rtest/tests/vr-taxi/vr-taxi.diderot
ViewVC logotype

Diff of /branches/vis15/src/tests/rtest/tests/vr-taxi/vr-taxi.diderot

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

revision 4496, Sat Sep 3 13:52:11 2016 UTC revision 4497, Sat Sep 3 14:12:36 2016 UTC
# Line 44  Line 44 
44  real phongKs = 0.45;  real phongKs = 0.45;
45  real phongSp = 50.0;  real phongSp = 50.0;
46    
47  field#1(3)[] F =  ctmr ⊛ image("../../data/taxi.nrrd");  field#1(3)[] F =  ctmr ⊛ load_image("../../data/taxi.nrrd");
48    
49  strand RayCast (int ui, int vi) {  strand RayCast (int ui, int vi) {
50      real rayU = lerp(-camUmax, camUmax, -0.5, real(ui), real(imgResU)-0.5);      real rayU = lerp(-camUmax, camUmax, -0.5, real(ui), real(imgResU)-0.5);
# Line 91  Line 91 
91    
92  }  }
93    
94  grid (2) { RayCast(ui, vi) | vi in 0..(imgResV-1), ui in 0..(imgResU-1) }  create_array { RayCast(ui, vi) | vi in 0..(imgResV-1), ui in 0..(imgResU-1) }

Legend:
Removed from v.4496  
changed lines
  Added in v.4497

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