QtQuick Intersections

classic Classic list List threaded Threaded
5 messages Options
DizL DizL
Reply | Threaded
Open this post in threaded view
|

QtQuick Intersections

Hi,

In Qt/osgEarth widget I use IntersectionPicker for picking annotations and it works (I use osgearth 2.7.0, osg 3.4.0, qt 5.7.0).
Now I'm trying the same scene in QtQuick/osgEarth widget but I cannot pick neither with IntersectionPicker and RTTPicker.
Any solutions?

regards,
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: QtQuick Intersections

DizL,
I have never used QtQuick. Maybe there is a problem with event message passing to OSG, but that is just a guess.
Glenn Waldron / Pelican Mapping
DizL DizL
Reply | Threaded
Open this post in threaded view
|

Re: QtQuick Intersections

Hi,

Events passing is ok, only picker doesnt return intersections :/

regards,
DizL
remoe remoe
Reply | Threaded
Open this post in threaded view
|

Re: QtQuick Intersections

Hi,

Try to use latest osgEarth master and the "osgearth_pick" sample and look at this code. It's should be trivial to integrate this in Qt.

Cheers,
Remo Eichenberger, Switzerland, @crocomer
DizL DizL
Reply | Threaded
Open this post in threaded view
|

Re: QtQuick Intersections

Hi,

This is exactly what I use, but it doesn't work.
onHit is never called.

regards,