Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.79 KB

Coordinate-Systems.md

File metadata and controls

39 lines (27 loc) · 1.79 KB

Coordinate Systems

Qt3D handle your coordinate transform with internal types like Transform and Camera, where Transform gives model matrices and Camera generate view and projection matrices, to add Transform to an object, add it into components:

Entity {
  Transform {
    id: transform
  }
  components: [transform]
}
  1. Qt3D is by default enabled depth test, to disable it we need explicit declare an empty RenderStateSet, when we need depth test, add DepthTest into it:

  1. It is really cool to use QML model delegate, just the same with Repeater, NodeInstantiator helps you create mass objects in your scene, we just need to bind different transforms with same geometry and shaders: