Changes between Version 8 and Version 9 of osgVisualConfiguration


Ignore:
Timestamp:
Feb 18, 2011, 11:34:12 AM (13 years ago)
Author:
Torben Dannhauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • osgVisualConfiguration

    v8 v9  
    3030Example of a configuration file with module and scenery configuration:
    3131{{{
     32#!xml
    3233<?xml version="1.0" encoding="ISO-8859-1" ?>
    3334<osgvisualconfiguration>
     
    8687Some modules ignore the "enabled" attribute because they are mendatory in osgVisual. If a module is compiled and used in osgVisual but the correpsonding XML entry is not available in the configuration file, the modules will raise an error and remain unconfigured. The behavior of an unconfigured module is unpredictable and hence should be avoided.
    8788
     89The order of the <module> entries is arbitrary, you must only take care of its position in the the hierarchy in the XML file.
    8890Example:
    8991{{{
     
    99101
    100102==== Terrain ====
    101 
    102 Example:
     103It is possible to load one or more terrain databases with the following command:
    103104{{{
    104105#!xml
    105 <terrain filename="d:\my\path\database.ive"></terrain>
     106<terrain filename="relative/or/absolute/path/to/you/database1.ive" filename2="relative/or/absolute/path/to/you/database2.ive"></terrain>
    106107}}}
     108You can add further databases with attributes beginning with "filename", follow by a number (e.g. filename3="")
     109
     110
    107111
    108112==== Sky/Weather ====