[902] | 1 | How to install the Visibility Work Package |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | ONLINE VISIBILITY (CHC + VIEW CELLS) |
---|
| 5 | |
---|
[944] | 6 | 1) |
---|
[902] | 7 | |
---|
[944] | 8 | Requirements: |
---|
[902] | 9 | |
---|
[944] | 10 | WindowsXP |
---|
| 11 | svn |
---|
[902] | 12 | |
---|
[944] | 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) |
---|
[902] | 16 | |
---|
[944] | 17 | 3) |
---|
[902] | 18 | |
---|
[944] | 19 | add following environment variables: |
---|
[902] | 20 | |
---|
[944] | 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 |
---|
[902] | 23 | |
---|
[944] | 24 | 4) |
---|
[902] | 25 | |
---|
[944] | 26 | copy the directories |
---|
[902] | 27 | |
---|
[944] | 28 | D:\svn\gametools\OGRE\trunk\ogre_dependencies |
---|
| 29 | D:\svn\gametools\OGRE\trunk\ogre_changes\Ogre1.2 |
---|
[902] | 30 | |
---|
[944] | 31 | into the ogrenew directory. |
---|
[902] | 32 | |
---|
[944] | 33 | Further copy the files |
---|
[902] | 34 | |
---|
[944] | 35 | D:\svn\gametools\OGRE\trunk\resources\terrain.cfg |
---|
| 36 | D:\svn\gametools\OGRE\trunk\resources\terrainCulling.cfg into the |
---|
[902] | 37 | |
---|
[944] | 38 | D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release |
---|
[902] | 39 | |
---|
[944] | 40 | directory. |
---|
[902] | 41 | |
---|
[944] | 42 | The absolute filenames in terrainCulling.cfg must be |
---|
| 43 | changed accordingly |
---|
[902] | 44 | |
---|
[944] | 45 | 5) add following directories to |
---|
[902] | 46 | |
---|
[944] | 47 | D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release\resources.cfg |
---|
[902] | 48 | |
---|
[944] | 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 |
---|
[902] | 54 | |
---|
| 55 | |
---|
[944] | 56 | 5) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use |
---|
[902] | 57 | |
---|
[944] | 58 | 6) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all |
---|
[902] | 59 | |
---|
| 60 | |
---|
[944] | 61 | 7) start TerrainExampleApplication for testing |
---|