Re: [Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Oleg Evseev
Thanks Sean, There is no any instrument in qt3d animation framework similar to QuaternionAnimation (a PropertyAnimation for quaternions), isn't there? 2017-05-06 22:26 GMT+03:00 Sean Harmer : > Hi, > > On 06/05/2017 19:34, Oleg Evseev wrote: > >> Hi Andy, >> >> Thanks for tips! >> I thought abou

Re: [Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Sean Harmer
Hi, On 06/05/2017 19:34, Oleg Evseev wrote: Hi Andy, Thanks for tips! I thought about standard animation (it's used in planets example by the way) but I suppose it's better to use FrameAction: https://doc.qt.io/qt-5/qt3dlogic-qframeaction.html#details The QFrameAction provides a way to pe

Re: [Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Oleg Evseev
Hi Andy, Thanks for tips! I thought about standard animation (it's used in planets example by the way) but I suppose it's better to use FrameAction: https://doc.qt.io/qt-5/qt3dlogic-qframeaction.html#details > The QFrameAction provides a way to perform tasks each frame in a > synchronized way wi

Re: [Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Andy
Oleg: The way I did it was to implement a QVariantAnimation-derived class that stores the QCamera's start &end positions, view centres, and up vectors. Then I just set the easing curve & the duration I want and call start(). Works great for my use case. I haven't looked at the new Qt3D animation

[Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Oleg Evseev
Hi, I'm looking for solution to get smooth orbit camera in qt3d. That is for example when I need to change angle of observe it doesn't translate camera immediately, but with some delay, just like in games: when vehicle turn camera follow it with delay. Does it make sense to use newest Qt3D animat

Re: [Interest] QWebEngineView + QSurfaceFormat == errors in console

2017-05-06 Thread Andy
Based on this discussion I have created two issue: "QWebEngineView outputs errors when using QSurfaceFormat::CoreProfile" https://bugreports.qt.io/browse/QTBUG-60605 "Qt3DWindow constructor should not call QSurfaceFormat::setDefaultFormat()" https://bugreports.qt.io/browse/QTBUG-60614 --- Andy M

Re: [Interest] Qt App & Web Push Notifications

2017-05-06 Thread Konstantin Tokarev
06.05.2017, 15:33, "Nuno Santos" : > Hey, > > Thanks for your reply. I think you are having a wrong interpretation of the > REST API capabilities. > > OneSignal's server API can be used to: > > - Programmatically deliver notifications from your server or device to > another device. > - Add, upd

Re: [Interest] Qt App & Web Push Notifications

2017-05-06 Thread Nuno Santos
Hey, Thanks for your reply. I think you are having a wrong interpretation of the REST API capabilities. OneSignal's server API can be used to: - Programmatically deliver notifications from your server or device to another device. - Add, update, and fetch data for your users without using our

Re: [Interest] Qt App & Web Push Notifications

2017-05-06 Thread Konstantin Tokarev
06.05.2017, 13:59, "Nuno Santos" : > Hi, > > I’m trying to find a way of having push notifications on a qt based desktop > app taking advantage of web push technology. > > For instance, OneSignal provides a push notification that works for iOS, > Android and desktop (safari, chrome, firefox).

[Interest] Qt App & Web Push Notifications

2017-05-06 Thread Nuno Santos
Hi, I’m trying to find a way of having push notifications on a qt based desktop app taking advantage of web push technology. For instance, OneSignal provides a push notification that works for iOS, Android and desktop (safari, chrome, firefox). I was wondering if I could have something like a