Details
Description
Imagine a case where two or more entities share the same vertex and index buffers and attributes, with the only difference being the byteOffset in the index attribute.
Here calculating a bounding volume based solely on the position attribute is wrong since it gives the exact same results for all the entities. Unfortunately this is exactly what calculateLocalBoundingVolume() does.
Ideally everything starting from BoundingVolumeCalculator should take the index attribute into account and, whenever the index attribute is present, vertex traversal should be done accordingly.
Attachments
Issue Links
- relates to
-
QT3DS-660 Qt 3D bugs and features required for Runtime 2
- Withdrawn
For Gerrit Dashboard: QTBUG-65590 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
215951,4 | Revise buffer traversal in bounding volume calculation | dev | qt/qt3d | Status: MERGED | -2 | 0 |
218157,3 | Revise buffer traversal in bounding volume calculation | 5.9 | qt/qt3d | Status: MERGED | +2 | 0 |