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

SCM Repository

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

Diff of /branches/vis12/rtest/tests/sum-ghp/sum-ghp.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 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 ⊛ load("../../data/ring.nrrd");  field#2(3)[] F = bspln3 ⊛ image("../../data/ring.nrrd");
33    
34  strand RayCast (int ui, int vi) {  strand RayCast (int ui, int vi) {
35      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