Rev | Line | |
---|
[193] | 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 | |
---|
| 9 | 2) add following environment variables: |
---|
| 10 | OGRE_PATH: directory where ogre.sln is located |
---|
| 11 | GAMETOOLS_PATH: directory where the gametools repository is located (e.g., d:\gametools) |
---|
| 12 | |
---|
| 13 | 3) copy VUT/work/ogre_changes into OGRE_PATH directory |
---|
| 14 | |
---|
| 15 | 4) Set configuration of Ogre soluation to release. add preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to following projects: |
---|
| 16 | Plugin_OctreeSceneManager |
---|
| 17 | RenderSystem_GL |
---|
| 18 | RenderSystem_Direct9 |
---|
| 19 | RenderSystem_Direct7 |
---|
| 20 | OgreMain |
---|
| 21 | example projects |
---|
| 22 | |
---|
[210] | 23 | 5) Add following resources to OGRE_PATH/Samples/Common/bin/Release/resource.cfg (if your repository is located in D:/gametools): |
---|
[193] | 24 | |
---|
| 25 | FileSystem=D:/gametools/trunk/VUT/Ogre/resources/materials/scripts |
---|
| 26 | FileSystem=D:/gametools/trunk/VUT/Ogre/resources/materials/textures |
---|
| 27 | FileSystem=D:/gametools/trunk/VUT/Ogre/resources/models |
---|
| 28 | FileSystem=D:/gametools/trunk/VUT/Ogre/resources/models/trees |
---|
| 29 | FileSystem=D:/gametools/trunk/VUT/Ogre/resources/overlays |
---|
| 30 | FileSystem=D:/gametools/trunk/VUT/Ogre/resources/media |
---|
| 31 | |
---|
| 32 | 6) Add Plugin_VisibilitySceneManager to OGRE_PATH/Samples/Common/bin/Release/Plugins.cfg |
---|
| 33 | and comment out OctreeSceneManager |
---|
| 34 | |
---|
| 35 | 7) Copy D:\gametools\trunk\VUT\Ogre\resources/terrain.cfg into OGRE_PATH/Samples/Common/bin/Release |
---|
| 36 | |
---|
| 37 | 8) start TestCullingTerrain.exe |
---|
Note: See
TracBrowser
for help on using the repository browser.