Changes between Version 8 and Version 9 of osgVisualConfiguration
- Timestamp:
- Feb 18, 2011, 11:34:12 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
osgVisualConfiguration
v8 v9 30 30 Example of a configuration file with module and scenery configuration: 31 31 {{{ 32 #!xml 32 33 <?xml version="1.0" encoding="ISO-8859-1" ?> 33 34 <osgvisualconfiguration> … … 86 87 Some 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. 87 88 89 The order of the <module> entries is arbitrary, you must only take care of its position in the the hierarchy in the XML file. 88 90 Example: 89 91 {{{ … … 99 101 100 102 ==== Terrain ==== 101 102 Example: 103 It is possible to load one or more terrain databases with the following command: 103 104 {{{ 104 105 #!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> 106 107 }}} 108 You can add further databases with attributes beginning with "filename", follow by a number (e.g. filename3="") 109 110 107 111 108 112 ==== Sky/Weather ====