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

SCM Repository

[diderot] Diff of /examples/vr-demo/vr.diderot
ViewVC logotype

Diff of /examples/vr-demo/vr.diderot

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

revision 2066, Fri Nov 2 12:58:14 2012 UTC revision 2067, Fri Nov 2 13:41:18 2012 UTC
# Line 11  Line 11 
11   * All rights reserved.   * All rights reserved.
12   */   */
13    
14    // input image
15    input image(3)[]        hand = image("data/vfrhand-nohip.nhdr");
16    
17  // image parameters  // image parameters
18  input int imgResU = 480;  input int imgResU = 480;
19  input int imgResV = 345;  input int imgResV = 345;
20  input real rayStep = 0.1;  input real rayStep = 0.5;
21    
22  // camera controls  // camera controls
23  input vec3 camEye = [127.331, -1322.05, 272.53];  input vec3 camEye = [127.331, -1322.05, 272.53];
# Line 47  Line 50 
50  real phongKs = 0.45;  real phongKs = 0.45;
51  real phongSp = 50.0;  real phongSp = 50.0;
52    
53  field#2(3)[] F =  bspln3 ⊛ image("data/vfrhand-nohip.nhdr");  field#2(3)[] F =  bspln3 ⊛ hand;
54    
55  strand RayCast (int ui, int vi)  strand RayCast (int ui, int vi)
56  {  {

Legend:
Removed from v.2066  
changed lines
  Added in v.2067

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