ElDorado
30th August 2015, 15:48
Hi,
I am trying to get into Qt3D 2.0.
Due to this bugreport (https://bugreports.qt.io/browse/QTBUG-24454) billboard tansformation was depricated and replaced with
QLookAtTransform.
I have created plane and trying to make it always face the camera entity. But both
QLookAtTransform::setViewCenter() and
QLookAtTransform::setViewVector() give no result (I pass camera position and have connected camera move signal to this methods). Plane jast disapear from scene. What transformation and how must I use to make plane always face the camera?
Second question is about possibility to render custom widget (in my case qcustomplot (http://www.qcustomplot.com/)) inside Qt3D on plane or as a sprite. Is it possible to make with new Qt3D?
Thanks!
I am trying to get into Qt3D 2.0.
Due to this bugreport (https://bugreports.qt.io/browse/QTBUG-24454) billboard tansformation was depricated and replaced with
QLookAtTransform.
I have created plane and trying to make it always face the camera entity. But both
QLookAtTransform::setViewCenter() and
QLookAtTransform::setViewVector() give no result (I pass camera position and have connected camera move signal to this methods). Plane jast disapear from scene. What transformation and how must I use to make plane always face the camera?
Second question is about possibility to render custom widget (in my case qcustomplot (http://www.qcustomplot.com/)) inside Qt3D on plane or as a sprite. Is it possible to make with new Qt3D?
Thanks!