QML and 3D engine.
-
Hello everyone, now I already have a qml project. However, I still need to render a complex 3D scene. Is there a 3D engine that can help?
I know that ogre engine can be ingerated with qml. The video link is as follows:
https://www.youtube.com/watch?v=b_3xfFuwGOQ
But how to achieve that?
Thanks in advance! -
Hi,
Wouldn't the Qt3D Module fill the bill ?
-
Hi, I would advise you to try an opposite approach. Try rendering QML into texture and then just use that where you please. E.g. not only as an overlay, but also on 3D geometry. Like those screens in "Elite Dangerous" (although I'm still having problems setting up multiple offscreens like that).
First refer to QQuickRenderControl class doc. Then you can investigate my implementation on github. As of now it works correctly for only 1 QML instance, but I'm trying to solve that.