Ignore:
Timestamp:
08/30/06 15:10:48 (18 years ago)
Author:
szydlowski
Message:

view cells load/use implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/KdTreeDemo/README.txt

    r1296 r1300  
    3131  -b, --burnin 
    3232    Run a burn-in demo, i.e. loop the demo until ESC is pressed. Requires 
    33     --demomode. If --logfile is specified, the result of each run will be saved. 
     33    --demomode. When --logfile is specified, the result of each run will be 
     34    saved. 
    3435 
    3536  -s <sm_id>, --scenemgr <sm_id> 
     
    5253    no effect. For supported scene managers, render mode switching is also 
    5354    available ingame (see INGAME COMMANDS). 
     55     
     56  -v [mode], --viewcells [mode] 
     57    Set view cell mode. Applies only to scenes where view cells can be loaded 
     58    (see CONFIG FILE), otherwise has no effect. [mode] is optional. 
     59    Valid values for [mode] are: 
     60      0 ... do not use view cells for visibility (same as ommiting -v) 
     61      1 ... use view cells for visibility (same as -v without parameter) 
     62      2 ... use view cells and visibility filter 
     63    These setting can also be changeg ingame (see INGAME COMMANDS). 
    5464 
    5565  --comment 
     
    107117            following formats: 
    108118              .iv, .wrl:  Mesh files like the vienna scene. 
    109               .cfg:       Config files for terrain creation. You need to specify 
    110                           an appropriate scene manager which supports terrain 
    111                           world geometry rendering (KTE, OCM, TER). 
     119              .cfg:       Config files for terrain creation. You need to 
     120                          specify an appropriate scene manager which supports 
     121                          terrain world geometry rendering (KTE, OCM, TER). 
    112122              .txt:       Text file created by the application which store 
    113123                          positions of entites (small movable objects) 
     
    134144            on enables shadows 
    135145    selectentities: 
    136             Sum up the following numbers to select which entities will appear in 
    137             the scene: 
     146            Sum up the following numbers to select which entities will appear 
     147            in the scene: 
    138148              1  robots in grid 
    139149              2  randomly placed robots 
     
    186196    R     Toggle OpenGL/Direct3D render mode (Full, Line, Point) 
    187197    T     Toggle OpenGL/Direct3D texture filtering (Bilinear, Trilinear, Aniso) 
    188     C     Toggle use view cells from PVS (need to load them first) 
     198    C     Toggle use view cells from PVS (load on demand) 
    189199    X     Toggle use visibility filter (whatever that is) 
    190200 
     
    212222  If the demo shall be permanently stored, the program must be launched with 
    213223  the --outfile option, specifying a file to which the demo will be saved. The 
    214   file name must have on of the above mentioned extensions. If the file allready 
    215   exists and a demo is saved, it will be overwritten. To save a recorded demo, 
    216   simply press F6 to store it in the file. If a demo has been allready stored in 
    217   this session, it will be overwritten. 
     224  file name must have on of the above mentioned extensions. If the file 
     225  allready exists and a demo is saved, it will be overwritten. To save a 
     226  recorded demo, simply press F6 to store it in the file. If a demo has been 
     227  allready stored in this session, it will be overwritten. 
    218228  It is recommended to limit the framerate of the application (e.g. by enabling 
    219229  vsync) when recording a demo, since it will produce smaller files. 
    220230  To load a demo from a file, specify it with the --infile command line option. 
    221231  To run a benchmark, a prerecorded demo must be loaded. Also, a logfile has to 
    222   be specified using the --logfile option. Finally the --demomode option must be 
    223   set. The program starts with disabled user input and no overlays. After an 
     232  be specified using the --logfile option. Finally the --demomode option must 
     233  be set. The program starts with disabled user input and no overlays. After an 
    224234  initial 5 second delay, to stabilize the framerate and preload the scene, the 
    225235  demo is played back and the framerate and other statistics are recored. Then 
     
    237247  If the specified logfile does not exist, it is created including the headers. 
    238248  If a log file with the specified name does exists, it is checked if the demo 
    239   file used in the logfile corresponds with the demo file used in this benchmark 
    240   run. If the names do not match, or if the logfile cannot be read or written 
    241   to, the demo is executed but no stats are written. Additionaly, an error 
    242   message is written in "Ogre.log". However, if the log file exists and the demo 
    243   name matches, the resulst are appended to the existing logfile, allowing for 
    244   easy comparison of different settings and options. 
     249  file used in the logfile corresponds with the demo file used in this 
     250  benchmark run. If the names do not match, or if the logfile cannot be read or 
     251  written to, the demo is executed but no stats are written. Additionaly, an 
     252  error message is written to "Ogre.log". However, if the log file exists and 
     253  the demo name matches, the resulst are appended to the existing logfile, 
     254  allowing for easy comparison of different settings and options. 
    245255 
    246256BUGS 
    247   Kills my PC occasionally when running a long demo with KTE and CHC in the 
    248   terrain scene. Reason completely mysterious. Happend twice so far. 
     257  Mysterious and serious (sometimes bluescreen) crashes due to an error in the 
     258  nVidia display driver (nv4_disp.dll). Occur with the following combination: 
     259  Direct3D Render Manager + terrain rendering with OCM or KTE +  
     260  hardware occlusion culling enabled (CHC, possibly also SWC) + demo playback. 
     261  Not tested on other hardware (e.g. ATI cards). Not exactly repeatable, 
     262  crashes in different places during playback or not at all. 
    249263 
    250264AUTHOR 
Note: See TracChangeset for help on using the changeset viewer.