Line | |
---|
1 | How to install the Visibility Work Package |
---|
2 | |
---|
3 | |
---|
4 | 1) Requirements: |
---|
5 | WindowsXP |
---|
6 | Ogre 1.03 for vs 7.1 |
---|
7 | Ogre Dependencies |
---|
8 | svn |
---|
9 | |
---|
10 | 2) check out gametools repository |
---|
11 | in the following it is assumed that your repository is located in D:\gametools (not required, just replace your path) |
---|
12 | |
---|
13 | the current stable version is located in D:\gametools\branches\0.3 |
---|
14 | |
---|
15 | 2) add following environment variables: |
---|
16 | OGRE_PATH: directory where ogre.sln is located |
---|
17 | |
---|
18 | 3) copy VUT\work\ogre_changes into OGRE_PATH directory (only applies to version 1.03!!!!) |
---|
19 | |
---|
20 | 4) Set configuration of Ogre soluation to release. add preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to following projects: |
---|
21 | Plugin_OctreeSceneManager |
---|
22 | RenderSystem_GL |
---|
23 | RenderSystem_Direct9 |
---|
24 | RenderSystem_Direct7 |
---|
25 | OgreMain |
---|
26 | example projects |
---|
27 | |
---|
28 | 5) Add following resources to OGRE_PATH\Samples\Common\bin\Release\resource.cfg: |
---|
29 | |
---|
30 | FileSystem=D:\gametools\trunk\VUT\Ogre\resources\materials\scripts |
---|
31 | FileSystem=D:\gametools\trunk\VUT\Ogre\resources\materials\textures |
---|
32 | FileSystem=D:\gametools\trunk\VUT\Ogre\resources\models |
---|
33 | FileSystem=D:\gametools\trunk\VUT\Ogre\resources\models\trees |
---|
34 | FileSystem=D:\gametools\trunk\VUT\Ogre\resources\overlays |
---|
35 | FileSystem=D:\gametools\trunk\VUT\Ogre\resources\media |
---|
36 | |
---|
37 | 6) Add Plugin_VisibilitySceneManager to OGRE_PATH\Samples\Common\bin\Release\Plugins.cfg |
---|
38 | and comment out OctreeSceneManager |
---|
39 | |
---|
40 | 7) Copy D:\gametools\trunk\VUT\Ogre\resources\terrain.cfg into OGRE_PATH\Samples\Common\bin\Release |
---|
41 | |
---|
42 | 8) open scripts\GtpVisibility.sln and compile all |
---|
43 | |
---|
44 | 9) start TerrainExampleApplication for testing |
---|
Note: See
TracBrowser
for help on using the repository browser.