diff --git a/BenchmarkDemoQt6/BenchmarkUI/assets/Model100k.qml b/BenchmarkDemoQt6/BenchmarkUI/assets/Model100k.qml index a9eb11956da1b9db83f8aa5acf8994592a991b9b..cb84101d5989278da4ea6c64c7c019bf0a45aa23 100644 --- a/BenchmarkDemoQt6/BenchmarkUI/assets/Model100k.qml +++ b/BenchmarkDemoQt6/BenchmarkUI/assets/Model100k.qml @@ -226,6 +226,7 @@ Model { scale: Qt.vector3d(0.2, 0.2, 0.2) source: "meshes/city100.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ house_material, propeller_material, @@ -254,6 +255,7 @@ Model { eulerRotation.y: rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -268,6 +270,7 @@ Model { eulerRotation.y: -rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -282,6 +285,7 @@ Model { eulerRotation.y: rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -296,6 +300,7 @@ Model { eulerRotation.y: -rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] diff --git a/BenchmarkDemoQt6/BenchmarkUI/assets/Model10k.qml b/BenchmarkDemoQt6/BenchmarkUI/assets/Model10k.qml index 4acee308c8637817680e216afb3178bcb45794b9..35e4ffa2d5d30670405dec6ea72b1468f5e007b7 100644 --- a/BenchmarkDemoQt6/BenchmarkUI/assets/Model10k.qml +++ b/BenchmarkDemoQt6/BenchmarkUI/assets/Model10k.qml @@ -53,6 +53,7 @@ Node { scale: Qt.vector3d(0.5, 0.5, 0.5) eulerRotation.x: 90 instancing: rootNode.instancing + instanceRoot: rootNode materials: [ smallMachine_material ] @@ -73,6 +74,7 @@ Node { eulerRotation.x: 90 source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -88,6 +90,7 @@ Node { eulerRotation.x: 90 source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -103,6 +106,7 @@ Node { eulerRotation.x: 90 source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -118,6 +122,7 @@ Node { eulerRotation.x: 90 source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] diff --git a/BenchmarkDemoQt6/BenchmarkUI/assets/Model1k.qml b/BenchmarkDemoQt6/BenchmarkUI/assets/Model1k.qml index 1dd81a243b719397ca3cc08416adbdc5aa2bd9e8..b96fe1422d05b72f81696425f6c11a8a60c8ddbb 100644 --- a/BenchmarkDemoQt6/BenchmarkUI/assets/Model1k.qml +++ b/BenchmarkDemoQt6/BenchmarkUI/assets/Model1k.qml @@ -32,6 +32,7 @@ Node { eulerRotation.z: rootNode.gearRotation + 25 source: "meshes/gear.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ parts_material ] @@ -45,6 +46,7 @@ Node { eulerRotation.y: rootNode.gearRotation source: "meshes/gear.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ parts_material ] @@ -56,6 +58,7 @@ Node { eulerRotation.y: -rootNode.gearRotation source: "meshes/gear.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ parts_material ] diff --git a/BenchmarkDemoQt6/BenchmarkUI/assets/Model500k.qml b/BenchmarkDemoQt6/BenchmarkUI/assets/Model500k.qml index ea645952a5ac9c24449eaa676a03bdd8a39ab776..d5d10da61613644c46126a9ab9a1b2265c0c1837 100644 --- a/BenchmarkDemoQt6/BenchmarkUI/assets/Model500k.qml +++ b/BenchmarkDemoQt6/BenchmarkUI/assets/Model500k.qml @@ -226,6 +226,7 @@ Node { scale: Qt.vector3d(0.2, 0.2, 0.2) source: "meshes/city500.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ house_material, propeller_material, @@ -254,6 +255,7 @@ Node { eulerRotation.y: rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -268,6 +270,7 @@ Node { eulerRotation.y: -rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -282,6 +285,7 @@ Node { eulerRotation.y: rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -296,6 +300,7 @@ Node { eulerRotation.y: -rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] diff --git a/BenchmarkDemoQt6/BenchmarkUI/assets/Model50k.qml b/BenchmarkDemoQt6/BenchmarkUI/assets/Model50k.qml index a19060265a3bef25e2ca48283d0c5f8c4a3d9c9e..f36f7efce071898163e60d1c23c8c92aa201818e 100644 --- a/BenchmarkDemoQt6/BenchmarkUI/assets/Model50k.qml +++ b/BenchmarkDemoQt6/BenchmarkUI/assets/Model50k.qml @@ -226,6 +226,7 @@ Node { scale: Qt.vector3d(0.2, 0.2, 0.2) source: "meshes/city50.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ house_material, power_material, @@ -253,6 +254,7 @@ Node { eulerRotation.x: 90 eulerRotation.y: rootNode_1.propellerRotation instancing: rootNode.instancing + instanceRoot: rootNode source: "meshes/propeller.mesh" materials: [ propeller_material @@ -268,6 +270,7 @@ Node { eulerRotation.y: -rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -282,6 +285,7 @@ Node { eulerRotation.y: rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ] @@ -296,6 +300,7 @@ Node { eulerRotation.y: -rootNode_1.propellerRotation source: "meshes/propeller.mesh" instancing: rootNode.instancing + instanceRoot: rootNode materials: [ propeller_material ]