source: GTP/trunk/Lib/Vis/README_ONLINE.txt @ 897

Revision 897, 1.3 KB checked in by mattausch, 19 years ago (diff)

updated to ogre 1.2

RevLine 
[193]1How to install the Visibility Work Package
2
3
[897]4ONLINE VISIBILITY (CHC + VIEW CELLS)
5
[193]61) Requirements:
7   WindowsXP
[226]8   svn
9
102) check out gametools repository
[897]11   in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path)
[226]12
[657]133) add following environment variables:
[193]14
[897]15   OGRE_PATH: points to directory where ogre.sln is located (i.e., the
16directory OGRE), e.g. D:\svn\gametools\OGRE\trunk\ogrenew
[193]17
[897]184) copy the ogre_dependencies and ogre_changes_12 into the ogrenew directory
19
205) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use
21
[673]225) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all
[193]23
[897]24
256) start TerrainExampleApplication for testing
26
27
28
29
30
31
32
33////////////////////////////////////////////////////////////////////////////////////////////////////////////////
34
35FOR USING THE PREPROCESSED VIEW CELLS:
36
37the same as above, before step 6) change in the code:
38
39in
40
41D:\svn\gametools\GTP\trunk\App\Demos\Vis\HillyTerrain\OGRE\TestCullingTerrainApplication.cpp
42
43replace
44
45bool TestCullingTerrainApplication::msShowHillyTerrain = true;
46
47with
48
49bool TestCullingTerrainApplication::msShowHillyTerrain = false;
50
51
52Then the vienna model is loaded together with the view cells. The
53usage of the view cells is toggled using key "V".
Note: See TracBrowser for help on using the repository browser.