Changeset 1246 for GTP/trunk/Lib/Vis
- Timestamp:
- 08/21/06 03:36:07 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/README.txt
r1226 r1246 2 2 3 3 4 ONLINE VISIBILITY (CHC + VIEW CELLS)4 This readŽme explains the usage of the Ogre visibility example application (for online culling and preprocessed visibiltiy) 5 5 6 1)7 6 8 Requirements:7 1) Requirements: 9 8 10 9 WindowsXP 11 10 svn 11 12 12 13 13 2) check out gametools repository … … 15 15 in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path) 16 16 17 3)18 17 19 add following environment variables:18 3) Add following environment variables: 20 19 21 20 OGRE_PATH: points to directory where ogre.sln is located (i.e., the 22 21 directory OGRE), e.g. D:\svn\gametools\OGRE\trunk\ogrenew 23 22 24 4) 23 24 4) Add the changes to the Ogre source 25 25 26 26 copy the directories … … 31 31 into the ogrenew directory. 32 32 33 Further copy the files34 33 35 D:\svn\gametools\OGRE\trunk\resources\terrain.cfg 36 D:\svn\gametools\OGRE\trunk\resources\terrainCulling.cfg into the 34 5) Copy the config files for the demo application (TerrainCulling.exe) into the Ogre release directory: 37 35 38 36 D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release 39 37 40 directory.41 38 42 The absolute filenames in terrainCulling.cfg must be 43 changed accordingly 39 They are located in D:\svn\gametools\GTP\trunk\Lib\Vis\OnlineCullingCHC\scripts 44 40 45 5) add following directories to 41 terrainCulling.cfg: defines the scene and the visibility environment 42 terrain.cfg: defines the terrain structures for the terrain scene 43 resources.cfg: adds models and texture definitions to the Ogre resource path 44 Plugins.cfg: the Plugin_VisibilitySceneManager has to be registered there 46 45 47 D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release\resources.cfg48 46 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 47 6) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use 54 48 55 6) add VisisibilitySceneManager as PlugIn in Plugins.cfg in56 49 57 D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release 50 7) open scripts GTP\trunk\Lib\Vis\GtpVisibility.sln and build all 58 51 59 7) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use60 52 61 8) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all 62 63 9) start TerrainExampleApplication for testing 53 8) start TerrainExampleApplication for testing
Note: See TracChangeset
for help on using the changeset viewer.