Details
Description
Raycasting is unstable for many scenes, not reporting hits when it should. This seems to boil down to a missing job dependency:
diff --git a/src/render/renderers/opengl/renderer/renderer.cpp b/src/render/renderers/opengl/renderer/renderer.cpp index b889799a3..5f2505083 100644 --- a/src/render/renderers/opengl/renderer/renderer.cpp +++ b/src/render/renderers/opengl/renderer/renderer.cpp @@ -214,6 +214,7 @@ Renderer::Renderer(QRenderAspect::RenderType type) m_expandBoundingVolumeJob->addDependency(m_updateWorldBoundingVolumeJob); m_updateShaderDataTransformJob->addDependency(m_worldTransformJob); m_pickBoundingVolumeJob->addDependency(m_expandBoundingVolumeJob); + m_rayCastingJob->addDependency(m_expandBoundingVolumeJob); // m_calculateBoundingVolumeJob's dependency on m_updateTreeEnabledJob is set in renderBinJobs // Dirty texture gathering depends on m_syncTextureLoadingJob
Attachments
Issue Links
- is required for
-
QT3DS-1588 Clicks get lost when changing slides
- Closed
-
QT3DS-1785 SampleProject navigation view doesn't work from installer
- Closed
- relates to
-
QT3DS-660 Qt 3D bugs and features required for Runtime 2
- Withdrawn
For Gerrit Dashboard: QTBUG-68580 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
231040,2 | Fix raycasting job dependencies | 5.11 | qt/qt3d | Status: MERGED | +2 | 0 |