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

SCM Repository

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

Diff of /branches/pure-cfg/test/vr-lite-cam.diderot

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

revision 695, Fri Mar 25 17:52:54 2011 UTC revision 696, Fri Mar 25 18:29:12 2011 UTC
# Line 47  Line 47 
47  vec3 tmp0 = cross(camN,camUp);  vec3 tmp0 = cross(camN,camUp);
48  vec3 camU = tmp0/|tmp0|;  vec3 camU = tmp0/|tmp0|;
49  vec3 camV = cross(camN,camU);  vec3 camV = cross(camN,camU);
50  real tmp1 = camFOV*3.1415926536/360.0;  real camVmax = tan(camFOV*3.1415926536/360.0)*camDist;
 real camVmax = sin(tmp1)/cos(tmp1)*camDist;  
51  real camUmax = camVmax*real(imgResU)/real(imgResV);  real camUmax = camVmax*real(imgResU)/real(imgResV);
52    
53  vec3 lightVspDir = [0.9, -1.0, -2.5];  vec3 lightVspDir = [0.9, -1.0, -2.5];

Legend:
Removed from v.695  
changed lines
  Added in v.696

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