Line | |
---|
1 | How to install the Visibility Work Package |
---|
2 | |
---|
3 | |
---|
4 | ONLINE VISIBILITY (CHC + VIEW CELLS) |
---|
5 | |
---|
6 | 1) Requirements: |
---|
7 | WindowsXP |
---|
8 | svn |
---|
9 | |
---|
10 | 2) check out gametools repository |
---|
11 | in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path) |
---|
12 | |
---|
13 | 3) add following environment variables: |
---|
14 | |
---|
15 | OGRE_PATH: points to directory where ogre.sln is located (i.e., the |
---|
16 | directory OGRE), e.g. D:\svn\gametools\OGRE\trunk\ogrenew |
---|
17 | |
---|
18 | 4) copy the ogre_dependencies and ogre_changes_12 into the ogrenew directory |
---|
19 | |
---|
20 | 5) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use |
---|
21 | |
---|
22 | 5) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all |
---|
23 | |
---|
24 | |
---|
25 | 6) start TerrainExampleApplication for testing |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
34 | |
---|
35 | FOR USING THE PREPROCESSED VIEW CELLS: |
---|
36 | |
---|
37 | the same as above, before step 6) change in the code: |
---|
38 | |
---|
39 | in |
---|
40 | |
---|
41 | D:\svn\gametools\GTP\trunk\App\Demos\Vis\HillyTerrain\OGRE\TestCullingTerrainApplication.cpp |
---|
42 | |
---|
43 | replace |
---|
44 | |
---|
45 | bool TestCullingTerrainApplication::msShowHillyTerrain = true; |
---|
46 | |
---|
47 | with |
---|
48 | |
---|
49 | bool TestCullingTerrainApplication::msShowHillyTerrain = false; |
---|
50 | |
---|
51 | |
---|
52 | Then the vienna model is loaded together with the view cells. The |
---|
53 | usage of the view cells is toggled using key "V". |
---|
Note: See
TracBrowser
for help on using the repository browser.