SCM Repository
[diderot] Diff of /benchmarks/programs/vr-lite-cam/bmark-diderot.diderot
Diff of /benchmarks/programs/vr-lite-cam/bmark-diderot.diderot
Parent Directory
|
Revision Log
|
Patch
1 |
// vr-lite-cam |
// bmark-diderot.diderot |
2 |
|
// |
3 |
|
// COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu) |
4 |
|
// All rights reserved. |
5 |
// |
// |
6 |
// simple volume renderer, now with a single directional light, |
// simple volume renderer, now with a single directional light, |
7 |
// Phong shading, and the new camera. |
// Phong shading, and the new camera. |
8 |
// |
// |
|
// The main thing missing from this is a more general transfer function |
|
|
// |
|
|
// process output with: |
|
|
// unu reshape -i mip.txt -s 4 480 345 | overrgb -i - -b 0.1 0.15 0.2 -g 1.2 -o - | unu quantize -b 8 -min 0 -max 255 -o vr-lite-cam.png |
|
9 |
|
|
10 |
string dataFile = "../../data/vfrhand-nohip.nhdr"; |
string dataFile = "../../data/vfrhand-nohip.nhdr"; |
11 |
vec3 camEye = [127.331, -1322.05, 272.53]; |
vec3 camEye = [127.331, -1322.05, 272.53]; |
|
Legend:
Removed from v.1601 |
|
changed lines |
|
Added in v.1602 |
|
|