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

SCM Repository

[diderot] Diff of /web/htdocs/vr-lite.html
ViewVC logotype

Diff of /web/htdocs/vr-lite.html

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

revision 388, Tue Oct 12 18:30:16 2010 UTC revision 389, Tue Oct 12 20:46:30 2010 UTC
# Line 10  Line 10 
10          .code-display {          .code-display {
11                  font-family: "Courier", monospace;                  font-family: "Courier", monospace;
12                  white-space: pre;                  white-space: pre;
13                  background-color: beige;                  border: 1px solid #CBCBCB;
14                    background-color: #FFF8ED;
15                  color: mediumblue;                  color: mediumblue;
16                  width: 80%;                  width: 800px;
17                  padding: 1em;                  padding: 1em;
18          }          }
19          .code-type {          .code-type {
# Line 32  Line 33 
33  </head>  </head>
34  <body>  <body>
35    
36  // vr-lite.diderot  <h3>A simple volume renderer in Diderot</h3>
 //  
 // simple diffuse-only volume rendering with head-light, with an  
 // opacity function that varies linearly between two values  
 //  
37    
38    <p>
39    The following code is a simple diffuse-only volume rendering with head-light
40    written in Diderot.
41    It uses an opacity function that varies linearly between two values.
42    This example illustrates the use of probing both a field and its gradient.
43    </p>
44  <div align="center">  <div align="center">
45  <div align="left" class="code-display"><span class="code-type">input</span> <span class="code-type">string</span> dataFile;    <span class="code-comment">// name of dataset</span>  <div align="left" class="code-display"><span class="code-type">input</span> <span class="code-type">string</span> dataFile;    <span class="code-comment">// name of dataset</span>
46  <span class="code-type">input</span> <span class="code-type">real</span> stepSz = 0.1;  <span class="code-comment">// size of steps</span>  <span class="code-type">input</span> <span class="code-type">real</span> stepSz = 0.1;  <span class="code-comment">// size of steps</span>

Legend:
Removed from v.388  
changed lines
  Added in v.389

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