Ignore:
Timestamp:
08/25/06 17:44:02 (18 years ago)
Author:
szydlowski
Message:

saving and loading entities to file

File:
1 edited

Legend:

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

    r1274 r1285  
    4848    Append a comment to the logfile. Requires --logfile to have any effect. 
    4949    (see DEMOS). 
     50     
     51  --savesceneto <filename> 
     52        Specifies file name (with .txt extension) to which the positions of all 
     53        entities in the scene will be saved. If the filename is appended to 
     54        the scene parameter in the config file, the entities are loaded at 
     55        startup 
    5056 
    5157  The following options apply only to the KDT and KTE scene managers. They have 
     
    8894    scene:  Select the scene which shall be loaded. 
    8995            If the parameter is empty or missing, the simple test scene is 
    90             loaded (spaceships & robots). 
    91             If the parameter is "terrain", the application attempts to load 
    92             the terrain world geometry, which only works with scene managers 
    93             supporting this kind of geometry (KTE, OCM, TER). Also a file 
    94             named "terrain.cfg" and holding all the necessary options for 
    95             the terrain must be in the same directory. 
    96             All other values are interpreted as a semicolon-separated list of 
    97             scene files to load. For now, only the .iv format is supported. 
     96            loaded (spaceships & robots on a plane). 
     97            Otherwise the parameter is interpreted as a semicolon-separated 
     98            list of scene files to load. So far the application supports the 
     99            following formats: 
     100                .iv, .wrl:      Mesh files like the vienna scene. 
     101                .cfg:                           Config files for terrain creation. You need to specify 
     102                                                                an appropriate scene manager which supports terrain 
     103                                                                world geometry rendering (KTE, OCM, TER). 
     104                .txt:                           Text file created by the application which store 
     105                                                                positions of entites (small movable objects) 
    98106    movespeed, rotatespeed: 
    99107            Set the speed of movement and rotation for the player camera. 
     
    174182    P     Show/Hide player cam position 
    175183    PRINT Save sceen shot 
     184    F7          Save Entities in the scene to file 
    176185 
    177186DEMOS 
Note: See TracChangeset for help on using the changeset viewer.