1 | /* |
---|
2 | |
---|
3 | Brian Curless |
---|
4 | |
---|
5 | Computer Graphics Laboratory |
---|
6 | Stanford University |
---|
7 | |
---|
8 | --------------------------------------------------------------------- |
---|
9 | |
---|
10 | Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
11 | University. Except for commercial resale, lease, license or other |
---|
12 | commercial transactions, permission is hereby given to use, copy, |
---|
13 | modify this software for academic purposes only. No part of this |
---|
14 | software or any derivatives thereof may be used in the production of |
---|
15 | computer models for resale or for use in a commercial |
---|
16 | product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
17 | CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
18 | |
---|
19 | */ |
---|
20 | |
---|
21 | |
---|
22 | #include "vrip.h" |
---|
23 | #include "Mesh.h" |
---|
24 | #include "DepthMap.h" |
---|
25 | |
---|
26 | DepthMap *renderDepthMap(Mesh *mesh, OrthoShear *shear, |
---|
27 | BBox3f *bbox, float resolution, DepthMap *dm); |
---|
28 | void prepareRender(Mesh *mesh, OrthoShear *shear, BBox3f *bbox, |
---|
29 | float resolution, DepthMap *dm, int useNorms); |
---|
30 | void prepareRenderLinePersp(Mesh *mesh, OrthoShear *shear, BBox3f *bbox, |
---|
31 | float resolution, DepthMap *dm, int useNorms); |
---|
32 | void prepareRenderPersp(Mesh *mesh, OrthoShear *shear, BBox3f *bbox, |
---|
33 | float resolution, DepthMap *dm, int useNorms); |
---|
34 | void softRenderConfidence(Mesh *mesh); |
---|
35 | void softRenderEdgeSteps(Mesh *mesh); |
---|
36 | void softRenderNx(Mesh *mesh); |
---|
37 | void softRenderNy(Mesh *mesh); |
---|
38 | void softRenderNz(Mesh *mesh); |
---|