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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/mip-cam.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/mip-cam.diderot

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

revision 692, Fri Mar 25 04:51:02 2011 UTC revision 697, Fri Mar 25 18:29:35 2011 UTC
# Line 38  Line 38 
38  // "vec3 camU = normalize(cross(camN,camUp))"  // "vec3 camU = normalize(cross(camN,camUp))"
39  vec3 camU = camTmpV/|camTmpV|;  vec3 camU = camTmpV/|camTmpV|;
40  vec3 camV = cross(camN,camU);  vec3 camV = cross(camN,camU);
41  // HEY (want) sin()/cos() --> tan(), when tan() exists  real camVmax = tan(camFOV*3.1415926536/360.0)*camDist;
 real camTmpR = camFOV*3.1415926536/360.0;  
 real camVmax = sin(camTmpR)/cos(camTmpR)*camDist;  
42  real camUmax = camVmax*real(imgResU)/real(imgResV);  real camUmax = camVmax*real(imgResU)/real(imgResV);
43    
44  image(3)[] img = load (dataFile);  image(3)[] img = load (dataFile);

Legend:
Removed from v.692  
changed lines
  Added in v.697

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