Conservative LDI Sampling Tool (CST)

By: Debbie Yuen-Shan Leung and Charlie C. L. Wang

Email: yleung@mae.cuhk.edu.hk; cwang@mae.cuhk.edu.hk



1.Copyright

- CST is developed by Yuen-Shan Leung for research use. All rights about the program (esp. shaders) are reserved by Yuen-Shan Leung and Charlie C.L. Wang at the Department of Mechanical and Automation Engineering, The Chinese University of Hong Kong. This C++ source codes are available only to a primary user for academic purposes. No secondary use, such as copy, distribution, diversion, business purpose, etc., is allowed. In no event shall the author be liable to any party for direct, indirect, special, incidental, or consequential damage arising out of the use of this program. CST is self-contained and built on top of other source codes (see the copyright terms therein).

2.Download

- The source code (VS2005 project + GLSL shader program) from the link: [Source Code (376KB RAR file)]

3.Installing & Compiling (Windows + VS2005 + Graphics Card)

- Update your graphics card driver.

- Unpack the rar-zip file to a suitable place and use VS2005 to build the project.

4.Usage

- Put the data files (.obj) in ./Data directory.

- Parameters:

input: .obj file

output: .obj file (LDI images)

Resolution of Sampling: Layer Depth Image resolution.

Level of Detail in conservation (LOD-C): a factor controlling the maximum number of layers that can be outputted.

-Example:
a) Menu > Input Model > Type: sphere.obj
b) Menu > Conservative Sampling > Type: 512 > Type: 1024
c) Save the result: Right click > Output LDI to Obj > a new file named "LDIModel.obj" is generated.
** We allow users to decide whether or not to use geometry shader as a performance enhancement tool.

- Control:
Mouse[Left]: rotate
Mouse[Left+Shift]: dolly
Mouse[Left+Ctrl]: pan
Mouse[Right]: menu

5.File format

- obj file: a general wavefront file with input triangle mesh