source: GTP/trunk/App/Demos/Geom/Shark3D/README.txt @ 2236

Revision 2236, 2.1 KB checked in by gumbau, 18 years ago (diff)
Line 
1Overview
2--------
3
4This demo shows the integration of the LodStrips multiresolution algorithm
5into the Shark3D game engine. The demo features a multiresolution object
6whose level of deail decreases as well as the object moves further away from
7the observer.
8
9Please, read the following to know how to build/run the demo.
10
11
12
13Compiling the modules
14---------------------
15
16In order to run the demo, first the new modules, which implement a mesh file
17loader and a new renderer, must be compiled. This distribution includes the
18precompiled modules so that you do not need to build them. However, you can
19compile them with Visual studio NET 7.1 using the solution file located in:
20
21.\build\win32_vc7x1\SharkGeometryModules.sln
22
23As the Shark3D SDK is not included in this distribution, you need to have it
24properly installed in your system. To compile the solution you must configure
25it so that it can find the Shark3D SDK files. For each project you must:
26- Configure the includes path (using the properties dialog for each project)
27- Configure the libraries path (search for CLODD3D9_LIBDIR in the source code)
28
29Once compiled, resulting DLLs are located in the bin\ directory.
30
31
32
33Building the Demo
34-----------------
35
36Before you can run the demo, it must be built. To build it you simply must
37execute the program:
38
39.\clod_head_demo_win32\win32_editor.bat
40
41and push the 'Make' button. This process takes a while. When the process ends,
42you can run the demo using the 'Run' button.
43
44
45Running the Demo
46----------------
47Then the demo is finally running (see previous section), you will see a head
48floating in the air. That head features a multiresolution object whose level
49of detail changes as well as the camera moves away from it. To be able to move
50the camera, enter in GOD mode (press key 'g') and use the arrow keys. Use the
51mouse while pressing the left button to change the viewing direction.
52When it is far from the viewer, the object decreases its level of detail up to
53a 1%. You can inspect the mesh to see the 'lodding' entering in wireframe mode
54(key 'w').
55
56
Note: See TracBrowser for help on using the repository browser.