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

SCM Repository

[diderot] Diff of /branches/vis12/rtest/tests/mip/mip.diderot
ViewVC logotype

Diff of /branches/vis12/rtest/tests/mip/mip.diderot

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

revision 1927, Sat Jun 23 18:09:16 2012 UTC revision 1928, Sat Jun 23 18:09:34 2012 UTC
# Line 32  Line 32 
32  real camVmax = tan(camFOV*π/360.0)*camDist;  real camVmax = tan(camFOV*π/360.0)*camDist;
33  real camUmax = camVmax*real(imgResU)/real(imgResV);  real camUmax = camVmax*real(imgResU)/real(imgResV);
34    
35  field#0(3)[] F = tent ⊛ load("../../data/ring.nrrd");  field#0(3)[] F = tent ⊛ image("../../data/ring.nrrd");
36    
37  strand RayCast (int ui, int vi) {  strand RayCast (int ui, int vi) {
38      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.1927  
changed lines
  Added in v.1928

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