Re: [osg-users] Integrate Qt into OSG - not OSG into Qt osgQt

2019-10-02 Thread Jan Ciger
Hello, On 02/10/2019 15:23, Trajce Nikolov NICK wrote: > Hi community,  > > I am struggling with the design of such a task. And I am a bit > familiar with Qt and other UI frameworks. The task is to embed the > whole Qt framework into OSG - including the event processing and let > OSG render (

Re: [osg-users] Orient a node to face another

2019-10-02 Thread Trajce Nikolov NICK
Hi Paul, you subtract the two input vectors and by this you get the direction from one to the other, then normalize and make the Quaternion to rotate the axis (in the code bellow is Y-forward) to the normalized vector. Something like this: osg::Quat GetRotation(const osg::Vec3& tgtPos, const

[osg-users] Orient a node to face another

2019-10-02 Thread Paul Leopard
Hi, What would be the best approach to solve the following problem where I need one node to be updated through a callback to face another node? I understand how to get a node to face the screen with a billboard but that's not the problem here... Here is the problem: I've got a satellite

[osg-users] Integrate Qt into OSG - not OSG into Qt osgQt

2019-10-02 Thread Trajce Nikolov NICK
Hi community, I am struggling with the design of such a task. And I am a bit familiar with Qt and other UI frameworks. The task is to embed the whole Qt framework into OSG - including the event processing and let OSG render ( through RTT ) the widgets content. Any clue, hints what direction I

Re: [osg-users] Notification

2019-10-02 Thread Robert Osfield
Hi Chris, On Tue, 1 Oct 2019 at 05:08, Chris Hanson wrote: > This happened to this list a few years ago and it took me like a week to > hunt it down because it was actually subscribed through a forwarding > address different from the one that was responding. > Seemed to be a bit more straight