Ignore:
Timestamp:
05/10/06 18:33:35 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/README_ONLINE_MODULE.txt

    r902 r944  
    44ONLINE VISIBILITY (CHC + VIEW CELLS) 
    55 
    6 1) Requirements:  
    7    WindowsXP 
    8    svn 
     61)  
     7 
     8Requirements:  
     9 
     10WindowsXP 
     11svn 
    912 
    10132) 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    
     15in the following it is assumed that your repository is located in d:\svn\gametools (not required, just replace your path) 
    1216 
    13 3) add following environment variables: 
     173)  
    1418 
    15    OGRE_PATH: points to directory where ogre.sln is located (i.e., the 
     19add following environment variables: 
     20 
     21OGRE_PATH: points to directory where ogre.sln is located (i.e., the 
    1622directory OGRE), e.g. D:\svn\gametools\OGRE\trunk\ogrenew 
    1723 
    18 4) copy the ogre_dependencies and ogre_changes_12 into the ogrenew directory 
     244)  
     25 
     26copy the directories  
     27 
     28D:\svn\gametools\OGRE\trunk\ogre_dependencies  
     29D:\svn\gametools\OGRE\trunk\ogre_changes\Ogre1.2  
     30 
     31into the ogrenew directory.  
     32 
     33Further copy the files 
     34 
     35D:\svn\gametools\OGRE\trunk\resources\terrain.cfg 
     36D:\svn\gametools\OGRE\trunk\resources\terrainCulling.cfg into the  
     37 
     38D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release 
     39 
     40directory.  
     41 
     42The absolute filenames in terrainCulling.cfg must be 
     43changed accordingly 
     44 
     455) add following directories to  
     46 
     47D:\svn\gametools\OGRE\trunk\ogrenew\Samples\Common\bin\Release\resources.cfg 
     48 
     49FileSystem=d:/svn/gametools/OGRE/trunk/resources/materials/textures 
     50FileSystem=d:/svn/gametools/OGRE/trunk/resources/materials/scripts 
     51FileSystem=d:/svn/gametools/OGRE/trunk/resources/overlays 
     52FileSystem=d:/svn/gametools/OGRE/trunk/resources/models 
     53FileSystem=d:/svn/gametools/OGRE/trunk/resources/models/trees 
     54 
    1955 
    20565) Set preprocessor flag GTP_VISIBILITY_MODIFIED_OGRE to the example projects you want to use 
    2157 
    22 5) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all 
     586) open scripts GTP\trunk\Lib\Vis\shared\GtpVisibility.sln and build all 
    2359 
    2460 
    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". 
     617) start TerrainExampleApplication for testing 
Note: See TracChangeset for help on using the changeset viewer.