Revision 643,
1.6 KB
checked in by mattausch, 19 years ago
(diff) |
made demo running
|
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 e:\svn\gametools (not required, just replace your path) |
---|
12 | |
---|
13 | deprecated: 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 e:\svn\gametools\OGRE\trunk\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 | GuiRenderer |
---|
27 | |
---|
28 | Also add the flag to the example projects you want to use |
---|
29 | |
---|
30 | 5) Add following resources to OGRE_PATH\Samples\Common\bin\Release\resource.cfg: |
---|
31 | |
---|
32 | FileSystem=e:\svn\gametools\OGRE\trunk\resources\materials\scripts |
---|
33 | FileSystem=e:\svn\gametools\OGRE\trunk\resources\materials\textures |
---|
34 | FileSystem=e:\svn\gametools\OGRE\trunk\resources\models |
---|
35 | FileSystem=e:\svn\gametools\OGRE\trunk\resources\models\trees |
---|
36 | FileSystem=e:\svn\gametools\OGRE\trunk\resources\overlays |
---|
37 | FileSystem=e:\svn\gametools\OGRE\trunk\resources\media |
---|
38 | |
---|
39 | 6) Add Plugin_VisibilitySceneManager to OGRE_PATH\Samples\Common\bin\Release\Plugins.cfg |
---|
40 | and comment out OctreeSceneManager |
---|
41 | |
---|
42 | 7) Copy D:\gametools\trunk\VUT\Ogre\resources\terrain.cfg into OGRE_PATH\Samples\Common\bin\Release |
---|
43 | |
---|
44 | 8) open scripts\GtpVisibility.sln and compile all |
---|
45 | |
---|
46 | 9) start TerrainExampleApplication for testing |
---|
Note: See
TracBrowser
for help on using the repository browser.