From https://github.com/qt/qtquick3d/tree/dev/examples/quick3d/view3d