File: simple.rst

package info (click to toggle)
osgearth 2.7.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 49,960 kB
  • ctags: 18,411
  • sloc: cpp: 253,210; ansic: 43,140; xml: 1,637; objc: 405; makefile: 210; python: 29; sh: 20
file content (22 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Simple Model
=============
This plugin simply loads an external 3D model and optionally places it at
map coordinates.

Example usage::

    <model name = "cow" driver="simple">
        <url>../data/red_flag.osg.100,100,100.scale</url>
        <location>-74.018 40.717 10</location>
    </model>
    
Properties:

    :url:       External model to load
    :location:  Map coordinates at which to place the model. SRS is that of
                the containing map.
    :paged:     If true, the model will be paged in when the camera is within the max range of the location.  If false the model is loaded immediately.

Also see:

    ``simple_model.earth`` sample in the repo