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

SCM Repository

[diderot] Diff of /branches/vis12-cl/rtest/tests/sum-ghp/sum-ghp.diderot
ViewVC logotype

Diff of /branches/vis12-cl/rtest/tests/sum-ghp/sum-ghp.diderot

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

revision 3159, Sat Mar 28 09:40:50 2015 UTC revision 3160, Sat Mar 28 10:17:30 2015 UTC
# Line 29  Line 29 
29  real camVmax = tan(camFOV*π/360.0)*camDist;  real camVmax = tan(camFOV*π/360.0)*camDist;
30  real camUmax = camVmax*real(imgResU)/real(imgResV);  real camUmax = camVmax*real(imgResU)/real(imgResV);
31    
32  field#2(3)[] F = bspln3 ⊛ image("../../data/ring.nrrd");  input image(3)[] img = image("../../data/ring.nrrd");
33    field#2(3)[] F = bspln3 ⊛ img;
34    //field#2(3)[] F = bspln3 ⊛ image("../../data/ring.nrrd");
35    
36  strand RayCast (int ui, int vi) {  strand RayCast (int ui, int vi) {
37      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);

Legend:
Removed from v.3159  
changed lines
  Added in v.3160

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