Skip to content
Snippets Groups Projects
  1. Jun 16, 2020
  2. Jun 15, 2020
  3. Jun 12, 2020
  4. Jun 11, 2020
  5. Jun 10, 2020
    • Christian Strømme's avatar
      Move the vertex pipeline in a more sensible place · 49b0f54c
      Christian Strømme authored
      
      We might want to re-use or re-create this class elsewhere, so move
      the declaration a place where we can access it. It also makes sense that
      the vertex implementation is in the qssgvertexpipelineimpl file and the
      render bits in qssgrenderer.
      
      Change-Id: I565b39e732aff48195cbac2687843ba22709db1c
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      49b0f54c
    • Christian Strømme's avatar
      Refactor the QSSGMaterialShaderGenerator class · e2c98adf
      Christian Strømme authored
      
      We want this code to be self contained as much as possible, as we want
      to decouple it from the to the point where it's usable out side the
      engine itself. With this change there's no longer a relationship
      between the custom material generator and the "default" generator.
      The generator itself also contains no state, which should make it
      easier to interface with. While most of the state the generator
      kept was complete nonsense, there was some caching mechanisms to speed
      up uniform name look-ups  etc., those problems have been taken into
      consideration (should hopefully be even faster). The generated
      sampler names are also now more sensibly named now (based on the type).
      
      While the generator now is less coupled with the rest of the engine,
      further work is needed to decouple the pipeline and its sub-components
      to make the whole infrastructure usable outside the engine.
      
      Task-number: QTBUG-84770
      Change-Id: I3b364c02ff0729ab45a835df8b39601f65f24a35
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      e2c98adf
    • Christian Strømme's avatar
      Add a convenience function for calling updateSpatialNode() · cef5dad6
      Christian Strømme authored
      
      ... from outside a QQuick3DObject. This is convenient for usage in
      tests or in other cases where we need to force the creation of the
      render node.
      
      Change-Id: Ib22caff04657066144c60b81162df9436d5111a5
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      cef5dad6
    • Christian Strømme's avatar
      Remove the shadow manager handler in the shader generator · ee8c65cc
      Christian Strømme authored
      
      We don't use this handle, as it's already provided elsewhere.
      
      Change-Id: I8c382bee9f72eb5bdf1da2ffbed0f9910528bcbd
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      ee8c65cc
    • Christian Strømme's avatar
      Move generated uvcoords state to QSSGRenderableImage · 3aaffa33
      Christian Strømme authored
      
      This state was stored in the shader generator, but storing it in the
      QSSGRenderableImage class gives us more flexibility, as there's no need
      to keep a separate table to track each image or adjust it to match the
      different types we at any time support. The image type enum was also
      moved into QSSGRenderableImage's scope, for clarity, and the size was
      change to not affect the size of QSSGRenderableImage. Note that the
      state of the uvcoords generation is naturally reset on each frame.
      
      Change-Id: Ie4d34dc7901063c48ebf0686bcf77ba83c866778
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      3aaffa33
    • Christian Strømme's avatar
      Remove context interface as member of the generators · d8696935
      Christian Strømme authored
      
      This is the first step in making the generators more self-contained
      
      Change-Id: Ie339967c436adad60b8ea7a00b654c08a1de77ac
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      d8696935
    • Inho Lee's avatar
      Support the vertex color attribute · d18b04fb
      Inho Lee authored
      
      default material and principle material should support
      the vertex color attribue.
      
      Task-number: QTBUG-78841
      Change-Id: Ib08f0cfd2052f8ffc2a3381852abff24b9785c3a
      Reviewed-by: default avatarChristian Strømme <christian.stromme@qt.io>
      d18b04fb
  6. Jun 09, 2020
  7. Jun 08, 2020
  8. Jun 05, 2020
  9. Jun 04, 2020
Loading