Re: [osg-users] [3rdparty] class osgEarth::Map has no member named 'addImageLayer'

2019-01-03 Thread François Cami
Hi, On Thu, Jan 3, 2019 at 10:21 AM Eran Cohen wrote: > > > Rodrigo wrote: > > Hi, > > > > I'm following the example from here > > (http://docs.osgearth.org/en/latest/developer/maps.html#programmatic-map-creation). > > This line, however: > > > > > > Code: > > map->addImageLayer( layer ); > >

Re: [osg-users] Selecting a mesh of 3d model (say 3ds model)

2019-01-03 Thread Eran Cohen
ceranco wrote: > > nebsar wrote: > > Hi, > > > > I know how to select a point on a model. Is there anyway to select a > > particular mesh on the 3d model? > > > > Thank you! > > > > Cheers, > > Nebi > > > Hi Nebi, > If I'm not mistaken the layer API changed in 2.9 to be more generic, and

Re: [osg-users] Selecting a mesh of 3d model (say 3ds model)

2019-01-03 Thread Eran Cohen
nebsar wrote: > Hi, > > I know how to select a point on a model. Is there anyway to select a > particular mesh on the 3d model? > > Thank you! > > Cheers, > Nebi Hi Nebi, If I'm not mistaken the layer API changed in 2.9 to be more generic, and you should simply use: Code:

Re: [osg-users] [3rdparty] class osgEarth::Map has no member named 'addImageLayer'

2019-01-03 Thread Eran Cohen
Rodrigo wrote: > Hi, > > I'm following the example from here > (http://docs.osgearth.org/en/latest/developer/maps.html#programmatic-map-creation). > This line, however: > > > Code: > map->addImageLayer( layer ); > > > > won't compile. g++ says: > > > > error: ‘class osgEarth::Map’ has

Re: [osg-users] Selecting a mesh of 3d model (say 3ds model)

2019-01-03 Thread Robert Osfield
Hi Nebi, The OSG provide low level features that allow you to determine the vertices and mesh associated with an ray or polytopes intersection, but doesn't provide high level features of how you want to represent these. Have a look at the osgpick example. Cheers, Robert. On Wed, 2 Jan 2019 at