Details
-
Task
-
Resolution: Done
-
P1: Critical
-
None
-
None
-
38f278a4fdc434bc28e8288d6e30bc4925c98a77 (qt/qtquick3d/5.14)
Description
The existing picking implementation has several problems:
1. It's synchronous, but crosses thread boundaries.
2. The data used to find the nodes that intersects with the picking ray are ephemeral (per frame).
3. With overlapping views only one of the views will work (ephemeral data differs between views).
For the first two items there are two possible solutions. The easiest solution would be to make the picking async, meaning picking is done on the render thread and the result from the picking is sent back through a callback. The second solution is to build up the data need for picking and separate it from the frame data, some synchronization mechanism is most like going to be needed unless we can work purely on the data from the front-end nodes.
Attachments
Issue Links
- resulted in
-
QTBUG-78938 Picking: Expose the model's bounding volume to the front-end
- Closed
-
QTBUG-78944 Picking: Add finer grained picking
- Closed
For Gerrit Dashboard: QTBUG-78785 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
275497,7 | Improve sync picking | 5.14 | qt/qtquick3d | Status: MERGED | +2 | 0 |