1 | How to install the Visibility Work Package |
---|
2 | |
---|
3 | |
---|
4 | ONLINE VISIBILITY (CHC + VIEW CELLS) |
---|
5 | |
---|
6 | 1) |
---|
7 | |
---|
8 | Requirements: |
---|
9 | |
---|
10 | WindowsXP |
---|
11 | svn |
---|
12 | |
---|
13 | 2) check out gametools repository |
---|
14 | |
---|
15 | in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path) |
---|
16 | |
---|
17 | 3) |
---|
18 | |
---|
19 | add following environment variables: |
---|
20 | |
---|
21 | OGRE_PATH: points to directory where ogre.sln is located (i.e., the |
---|
22 | directory OGRE), e.g. D:\svn\gametools\OGRE\trunk\ogrenew |
---|
23 | |
---|
24 | 4) |
---|
25 | |
---|
26 | copy the directories |
---|
27 | |
---|
28 | D:\svn\gametools\OGRE\trunk\ogre_dependencies |
---|
29 | D:\svn\gametools\OGRE\trunk\ogre_changes\Ogre1.2 |
---|
30 | |
---|
31 | into the ogrenew directory. |
---|
32 | |
---|
33 | Further copy the files |
---|
34 | |
---|
35 | D:\svn\gametools\OGRE\trunk\resources\terrain.cfg |
---|
36 | D:\svn\gametools\OGRE\trunk\resources\terrainCulling.cfg into the |
---|
37 | |
---|
38 | D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release |
---|
39 | |
---|
40 | directory. |
---|
41 | |
---|
42 | The absolute filenames in terrainCulling.cfg must be |
---|
43 | changed accordingly |
---|
44 | |
---|
45 | 5) add following directories to |
---|
46 | |
---|
47 | D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release\resources.cfg |
---|
48 | |
---|
49 | FileSystem=d:/svn/gametools/OGRE/trunk/resources/materials/textures |
---|
50 | FileSystem=d:/svn/gametools/OGRE/trunk/resources/materials/scripts |
---|
51 | FileSystem=d:/svn/gametools/OGRE/trunk/resources/overlays |
---|
52 | FileSystem=d:/svn/gametools/OGRE/trunk/resources/models |
---|
53 | FileSystem=d:/svn/gametools/OGRE/trunk/resources/models/trees |
---|
54 | |
---|
55 | |
---|
56 | 5) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use |
---|
57 | |
---|
58 | 6) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all |
---|
59 | |
---|
60 | |
---|
61 | 7) start TerrainExampleApplication for testing |
---|