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

Support particle shape from data

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.3.0 Feature Freeze
    • None
    • Quick: 3D
    • None
    • 5
    • b8f90232b38413a13718644aa3ef45f2ee225e29
    • Qt Quick 3D - 2021 Week 15/16, Qt Quick 3D - 2021 Week 17/18, Qt Quick 3D - 2021 Week 31/32

    Description

      Consider supporting ParticleShape3D class with positions defined in data file. So something like:

       

      ...
      shape: ModelShape3D {
       source: "my_torus.cbor"
       random: false
      }
      ... 
      

      Some thoughts:

      • Format could be CBOR similar to timeline binary keyframes. Just a set of QVector3D positions or something more (sizes, colors etc.)?
      • Have "bool random" property which defines if positions are used randomly or in order of appearance. Supporting in-order gives possibility to sort the data so that emitting happens e.g. from top to bottom, from outside-in etc.
      • What kind of helper app could we provide for generating the data? It could allow generating n amount of points from current shapes or a model mesh. Then as a second step it could allow ordering the data based on some direction & smoothing.
      • Emitting from this kind of shape would be very fast compared to live calculation of positions from more complicated shape/model.

       

      Attachments

        For Gerrit Dashboard: QTBUG-92115
        # Subject Branch Project Status CR V

        Activity

          People

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes