Re: [Interest] Picking in Quick3D custom models and mapFrom3DScene() question

2021-06-15 Thread joao morgado via Interest
Hi As stated above, explicit setting the camera in View3D will make mapTo3DScene() work, but it will break the View3D display content. I have created a bug report [QTBUG-94539] mapTo3DScene() will fail when a camera is not explicit assigned - Qt Bug Tracker | | | | [QTBUG-94539] mapTo3DSc

Re: [Interest] Picking in Quick3D custom models and mapFrom3DScene() question

2021-06-10 Thread joao morgado via Interest
Hi  After checking the qt source code, I found that I have to explicit set the camera in View3D: camera: OrthographicCamera{            id: mainCamera            z: 300        } Now it works CheersJoãoEm quinta-feira, 10 de junho de 2021 18:45:29 GMT+1, joao morgado via Interest escreveu:

[Interest] Picking in Quick3D custom models and mapFrom3DScene() question

2021-06-10 Thread joao morgado via Interest
Hi I'm trying to pick a custom model in quick3D, the model is QQuick3DGeometry based with 4 vertexs with primitive TriangleStrip (basically I'm simulating a line with width).  Picking works with regular Models (Sphere, Cube, ...) but fails with my custom model. IIRC picking is still not implemen