Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100352

Crash in QBoundingVolume::updateImplicitBounds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.2.2
    • Qt3D
    • None
    • Linux/X11

    Description

      Hi,

      I'm getting some crashiness in QBoundingVolume::updateImplicitBounds() after manually calling renderer->updateImplicitBounds() due to raycasting not working for some imported assets.

      In core/jobs/calcboundingvolumejob.cpp -> BoundingVolumeComputeData::fromView -> findBoundingVolumeComputeData

      you are returning BoundingVolumeComputeResult::provider as a nullptr here -> return { nullptr, nullptr, positionAttribute, indexAttribute, drawVertexCount };

      a bit later you are using it in data.compute -> provider -> view() -> primitiveRestartEnabled()

      Any other way to nudge QT3d to provide bbox information?

       

      For another time: It would be good to have bounding values for 2.5D objects like planes and patchgrids too.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            spez Ku Tee
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes