[Q3D] Object picking backend
-
Good day, eveyone!
I'm implementing some measurement stuff in 3D model. The best way I've found is using ObjectPicker to get 3D coordinates of a point and process it's later.
But before i do the actual ray casting i need to transform the image and the user click according to some algorithm.
The question is how excactly the ray casting is implemented in the backend? Does it use OpenGL to find intersection or it's all implenented on CPU with classical line/plane intersection check?
Can I write my own object picker by extending QAbstractObjectPicker? If yes then is there any instructions how to do it apart from studing the whole Q3D code?
The best desription on the topic I've found is https://www.kdab.com/new-in-qt-3d-5-11-generalized-ray-casting/.
Any information is appreciated!Thanks!