Changeset 944 for GTP/trunk/Lib/Vis/README_ONLINE_MODULE.txt
- Timestamp:
- 05/10/06 18:33:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/README_ONLINE_MODULE.txt
r902 r944 4 4 ONLINE VISIBILITY (CHC + VIEW CELLS) 5 5 6 1) Requirements: 7 WindowsXP 8 svn 6 1) 7 8 Requirements: 9 10 WindowsXP 11 svn 9 12 10 13 2) check out gametools repository 11 in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path) 14 15 in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path) 12 16 13 3) add following environment variables:17 3) 14 18 15 OGRE_PATH: points to directory where ogre.sln is located (i.e., the 19 add following environment variables: 20 21 OGRE_PATH: points to directory where ogre.sln is located (i.e., the 16 22 directory OGRE), e.g. D:\svn\gametools\OGRE\trunk\ogrenew 17 23 18 4) copy the ogre_dependencies and ogre_changes_12 into the ogrenew directory 24 4) 25 26 copy the directories 27 28 D:\svn\gametools\OGRE\trunk\ogre_dependencies 29 D:\svn\gametools\OGRE\trunk\ogre_changes\Ogre1.2 30 31 into the ogrenew directory. 32 33 Further copy the files 34 35 D:\svn\gametools\OGRE\trunk\resources\terrain.cfg 36 D:\svn\gametools\OGRE\trunk\resources\terrainCulling.cfg into the 37 38 D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release 39 40 directory. 41 42 The absolute filenames in terrainCulling.cfg must be 43 changed accordingly 44 45 5) add following directories to 46 47 D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release\resources.cfg 48 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 54 19 55 20 56 5) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use 21 57 22 5) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all58 6) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all 23 59 24 60 25 6) start TerrainExampleApplication for testing 26 27 28 29 30 31 32 33 //////////////////////////////////////////////////////////////////////////////////////////////////////////////// 34 35 FOR USING THE PREPROCESSED VIEW CELLS: 36 37 the same as above, before step 6) change in the code: 38 39 in 40 41 D:\svn\gametools\GTP\trunk\App\Demos\Vis\HillyTerrain\OGRE\TestCullingTerrainApplication.cpp 42 43 replace 44 45 bool TestCullingTerrainApplication::msShowHillyTerrain = true; 46 47 with 48 49 bool TestCullingTerrainApplication::msShowHillyTerrain = false; 50 51 52 Then the vienna model is loaded together with the view cells. The 53 usage of the view cells is toggled using key "V". 61 7) start TerrainExampleApplication for testing
Note: See TracChangeset
for help on using the changeset viewer.