diff --git a/.gitattributes b/.gitattributes
index 1cff6e96..11340e45 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -36,7 +36,7 @@ thermion_dart/native/lib/macos/debug/libmatlang.a filter=lfs diff=lfs merge=lfs
thermion_dart/native/lib/macos/debug/libibl.a filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/macos/debug/libmikktspace.a filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/macos/libmatdbg_combined.a filter=lfs diff=lfs merge=lfs -text
-thermion_dart/native/lib/macos/swift/ThermionDartTexture.h filter=lfs diff=lfs merge=lfs -text
+thermion_dart/native/lib/macos/swift/ThermionTexture.h filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/macos/debug/libfilamat_combined.a filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/macos/debug/libfilament.a filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/macos/libibl.a filter=lfs diff=lfs merge=lfs -text
@@ -153,10 +153,7 @@ thermion_dart/native/lib/ios/libibl-lite.a filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/ios/libimageio.a filter=lfs diff=lfs merge=lfs -text
materials/Makefile filter=lfs diff=lfs merge=lfs -text
materials/gizmo.filamat filter=lfs diff=lfs merge=lfs -text
-materials/gizmo.mat filter=lfs diff=lfs merge=lfs -text
materials/image.filamat filter=lfs diff=lfs merge=lfs -text
-materials/image.mat filter=lfs diff=lfs merge=lfs -text
-materials/unlit_fade.mat filter=lfs diff=lfs merge=lfs -text
materials/unlit_opaque.mat filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/android/arm64-v8a/libktxreader.a filter=lfs diff=lfs merge=lfs -text
thermion_dart/native/lib/android/armeabi-v7a/libcamutils.a filter=lfs diff=lfs merge=lfs -text
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f31ef909..798aea1e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,587 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## 2024-10-14
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.8`](#thermion_dart---v021-dev008)
+ - [`thermion_flutter_web` - `v0.1.0+9`](#thermion_flutter_web---v0109)
+ - [`thermion_flutter` - `v0.2.1-dev.7`](#thermion_flutter---v021-dev7)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.7`](#thermion_flutter_platform_interface---v021-dev7)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.7`](#thermion_flutter_ffi---v021-dev7)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+9`
+ - `thermion_flutter` - `v0.2.1-dev.7`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.7`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.7`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.8`
+
+ - **FIX**: move ThermionWin32.h to include.
+
+
+## 2024-10-14
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.7`](#thermion_dart---v021-dev007)
+ - [`thermion_flutter_web` - `v0.1.0+8`](#thermion_flutter_web---v0108)
+ - [`thermion_flutter` - `v0.2.1-dev.6`](#thermion_flutter---v021-dev6)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.6`](#thermion_flutter_platform_interface---v021-dev6)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.6`](#thermion_flutter_ffi---v021-dev6)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+8`
+ - `thermion_flutter` - `v0.2.1-dev.6`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.6`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.6`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.7`
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.7`.
+
+
+## 2024-10-10
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.6`](#thermion_dart---v021-dev006)
+ - [`thermion_flutter_web` - `v0.1.0+7`](#thermion_flutter_web---v0107)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.5`](#thermion_flutter_platform_interface---v021-dev5)
+ - [`thermion_flutter` - `v0.2.1-dev.5`](#thermion_flutter---v021-dev5)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.5`](#thermion_flutter_ffi---v021-dev5)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+7`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.5`
+ - `thermion_flutter` - `v0.2.1-dev.5`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.5`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.6`
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.6`.
+
+
+## 2024-10-10
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.5`](#thermion_dart---v021-dev005)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.4`](#thermion_flutter_platform_interface---v021-dev4)
+ - [`thermion_flutter_web` - `v0.1.0+6`](#thermion_flutter_web---v0106)
+ - [`thermion_flutter` - `v0.2.1-dev.4`](#thermion_flutter---v021-dev4)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.4`](#thermion_flutter_ffi---v021-dev4)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.4`
+ - `thermion_flutter_web` - `v0.1.0+6`
+ - `thermion_flutter` - `v0.2.1-dev.4`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.4`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.5`
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.5`.
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.4`](#thermion_dart---v021-dev004)
+ - [`thermion_flutter_web` - `v0.1.0+5`](#thermion_flutter_web---v0105)
+ - [`thermion_flutter` - `v0.2.1-dev.3`](#thermion_flutter---v021-dev3)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.3`](#thermion_flutter_platform_interface---v021-dev3)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.3`](#thermion_flutter_ffi---v021-dev3)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+5`
+ - `thermion_flutter` - `v0.2.1-dev.3`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.3`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.3`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.4`
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.3`](#thermion_dart---v021-dev003)
+ - [`thermion_flutter_web` - `v0.1.0+4`](#thermion_flutter_web---v0104)
+ - [`thermion_flutter` - `v0.2.1-dev.2`](#thermion_flutter---v021-dev2)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.2`](#thermion_flutter_platform_interface---v021-dev2)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.2`](#thermion_flutter_ffi---v021-dev2)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+4`
+ - `thermion_flutter` - `v0.2.1-dev.2`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.2`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.2`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.3`
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.3`.
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.2`](#thermion_dart---v021-dev002)
+ - [`thermion_flutter_web` - `v0.1.0+3`](#thermion_flutter_web---v0103)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.1`](#thermion_flutter_ffi---v021-dev1)
+ - [`thermion_flutter` - `v0.2.1-dev.1`](#thermion_flutter---v021-dev1)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.1`](#thermion_flutter_platform_interface---v021-dev1)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+3`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.1`
+ - `thermion_flutter` - `v0.2.1-dev.1`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.1`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.2`
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.1`](#thermion_dart---v021-dev001)
+ - [`thermion_flutter_web` - `v0.1.0+2`](#thermion_flutter_web---v0102)
+ - [`thermion_flutter` - `v0.2.1-dev.0`](#thermion_flutter---v021-dev0)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.0`](#thermion_flutter_platform_interface---v021-dev0)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.0`](#thermion_flutter_ffi---v021-dev0)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+2`
+ - `thermion_flutter` - `v0.2.1-dev.0`
+ - `thermion_flutter_platform_interface` - `v0.2.1-dev.0`
+ - `thermion_flutter_ffi` - `v0.2.1-dev.0`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.1`
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.1-dev.0.0.0`](#thermion_dart---v021-dev000)
+ - [`thermion_flutter` - `v0.2.1-dev.0.0.0`](#thermion_flutter---v021-dev000)
+ - [`thermion_flutter_ffi` - `v0.2.1-dev.0.0.0`](#thermion_flutter_ffi---v021-dev000)
+ - [`thermion_flutter_platform_interface` - `v0.2.1-dev.0.0.0`](#thermion_flutter_platform_interface---v021-dev000)
+ - [`thermion_flutter_web` - `v0.1.0+1`](#thermion_flutter_web---v0101)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0+1`
+
+---
+
+#### `thermion_dart` - `v0.2.1-dev.0.0.0`
+
+ - y
+
+#### `thermion_flutter` - `v0.2.1-dev.0.0.0`
+
+ - y
+
+#### `thermion_flutter_ffi` - `v0.2.1-dev.0.0.0`
+
+ - y
+
+#### `thermion_flutter_platform_interface` - `v0.2.1-dev.0.0.0`
+
+ - y
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.2.0`](#thermion_dart---v020)
+ - [`thermion_flutter` - `v0.2.0`](#thermion_flutter---v020)
+ - [`thermion_flutter_ffi` - `v0.2.0`](#thermion_flutter_ffi---v020)
+ - [`thermion_flutter_platform_interface` - `v0.2.0`](#thermion_flutter_platform_interface---v020)
+ - [`thermion_flutter_web` - `v0.1.0`](#thermion_flutter_web---v010)
+
+Packages graduated to a stable release (see pre-releases prior to the stable version for changelog entries):
+
+ - `thermion_dart` - `v0.2.0`
+ - `thermion_flutter` - `v0.2.0`
+ - `thermion_flutter_ffi` - `v0.2.0`
+ - `thermion_flutter_platform_interface` - `v0.2.0`
+ - `thermion_flutter_web` - `v0.1.0`
+
+---
+
+#### `thermion_dart` - `v0.2.0`
+
+#### `thermion_flutter` - `v0.2.0`
+
+#### `thermion_flutter_ffi` - `v0.2.0`
+
+#### `thermion_flutter_platform_interface` - `v0.2.0`
+
+#### `thermion_flutter_web` - `v0.1.0`
+
+
+## 2024-10-02
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - [`thermion_dart` - `v0.2.0-dev.8.0.0`](#thermion_dart---v020-dev800)
+ - [`thermion_flutter_ffi` - `v0.2.0-dev.8.0.0`](#thermion_flutter_ffi---v020-dev800)
+
+Packages with other changes:
+
+ - [`thermion_flutter` - `v0.2.0-dev.8.0.0`](#thermion_flutter---v020-dev800)
+ - [`thermion_flutter_platform_interface` - `v0.2.0-dev.8.0.0`](#thermion_flutter_platform_interface---v020-dev800)
+ - [`thermion_flutter_web` - `v0.1.0-dev.8.0.0`](#thermion_flutter_web---v010-dev800)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter_web` - `v0.1.0-dev.8.0.0`
+
+---
+
+#### `thermion_dart` - `v0.2.0-dev.8.0.0`
+
+ - **REFACTOR**: continual refactor to support multiple render targets.
+ - **FEAT**: camera and resizing improvements.
+ - **FEAT**: support multiple ThermionWidget on Android.
+ - **FEAT**: use imported texture on iOS.
+ - **FEAT**: working implementation of multiple widgets on macos.
+ - **FEAT**: more work on multiple views/swapchains.
+ - **FEAT**: add setParameterFloat2 method.
+ - **FEAT**: add setParameterFloat2 method.
+ - **FEAT**: add uvScale to unlit material.
+ - **FEAT**: add ThirdPersonCameraDelegate.
+ - **FEAT**: set camera model matrix directly.
+ - **FEAT**: expose more camera methods.
+ - **BREAKING** **REFACTOR**: refactor to support multiple Views/Render Targets.
+ - **BREAKING** **REFACTOR**: remove RenderThread methods no longer needed.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FEAT**: big refactor to support multiple swapchains.
+ - **BREAKING** **FEAT**: set baseColorIndex to -1 by default in unlit materialss.
+
+#### `thermion_flutter_ffi` - `v0.2.0-dev.8.0.0`
+
+ - **REFACTOR**: continual refactor to support multiple render targets.
+ - **FEAT**: support multiple ThermionWidget on Android.
+ - **FEAT**: use imported texture on iOS.
+ - **FEAT**: working implementation of multiple widgets on macos.
+ - **BREAKING** **REFACTOR**: refactor to support multiple Views/Render Targets.
+ - **BREAKING** **FEAT**: big refactor to support multiple swapchains.
+
+#### `thermion_flutter` - `v0.2.0-dev.8.0.0`
+
+ - **REFACTOR**: continual refactor to support multiple render targets.
+ - **FEAT**: camera and resizing improvements.
+ - **FEAT**: support multiple ThermionWidget on Android.
+ - **FEAT**: use imported texture on iOS.
+ - **FEAT**: working implementation of multiple widgets on macos.
+ - **FEAT**: add rendering check to ThermionWidget ticker.
+
+#### `thermion_flutter_platform_interface` - `v0.2.0-dev.8.0.0`
+
+ - **REFACTOR**: continual refactor to support multiple render targets.
+ - **FEAT**: support multiple ThermionWidget on Android.
+ - **FEAT**: working implementation of multiple widgets on macos.
+
+# Change Log
+
+v0.2.0
+
+- **BREAKING** Dart SDK 3.6.0 required
+- **BREAKING** Libraries have been restructured so you should only need to import `package:thermion_dart/thermion_dart.dart`, `package:thermion_flutter/thermion_flutter.dart`
+- **BREAKING** The former GestureDetector widgets and EntityControllerMouseWidget/EntityTransformController have been removed and replaced with ThermionListenerWidget. that accepts an InputHandler.
+- **BREAKING** The former debugging widgets and Scene class have been removed.
+- **REFACTOR** The creation of the main camera has been refactored; the default projection & near/far planes should not have changed, but pay close attention.
+- **REFACTOR**: add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer.
+- **FEAT**: Translation gizmo, stencil highlight & overlays.
+- **FEAT**: new setLightDirection and setLightPosition.
+- **FEAT**: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector.
+ - **FEAT**: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight.
+ - **FEAT**: add setGizmoVisibility/pickGizmo methods to ThermionViewer.
+ - **FEAT**: remove gizmo view references, exclude gizmo entities from picking, add createIbl.
+ - **FEAT**: set stencil highlight on gizmo attach.
+ - **FEAT**: add getAncestor method.
+ - **FEAT**: expose API methods for create_ibl, pick/set gizmo visibility.
+ - **FEAT**: create transparent overlay for gizmo for easier picking.
+ - **FEAT**: rescale gizmo based on distance from camera.
+ - **FEAT**: rescale gizmo based on distance from camera.
+ - **FEAT**: add getAncestor method.
+ - **FEAT**: add startOffset parameter to gltf playAnimation.
+ - **FEAT**: layers, grid.
+ - **FEAT**: layers, grid.
+ - **FEAT**: ignore grid overlay and gizmo center when picking, implement highlighting.
+ - **FEAT**: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld.
+ - **FEAT**: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h.
+ - **FEAT**: add getCameraFov to FilamentViewer.
+ - **FEAT**: add new grid overlay files to web CmakeLists.
+ - **FEAT**: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity.
+ - **FEAT**: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView.
+ - **FEAT**: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection.
+ - **FEAT**: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG).
+ - **FEAT**: (web) allow table growth in emscripten module for passing C-style callback function pointers.
+ - **FEAT**: (web) add capture() method and missing camera navigation controls.
+ - **FEAT**: createIbl.
+ - **BREAKING** **FEAT**: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML).
+ - **BREAKING** **FEAT**: update web/http dependencies.
+ - **FIX**: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class.
+ - **FIX**: (flutter/web) use window.devicePixelRatio for viewport.
+ - **FIX**: (flutter) desktop gesture detector changes for new Gizmo methods.
+ - **FEAT**: allow passing null options to ThermionWidget.
+ - **FEAT**: (flutter) (web) if importCanvasAsWidget is false, render transparency.
+ - **FEAT**: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated.
+ - **FEAT**: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated.
+ - **FEAT**: highlight gizmo on hover.
+ - **BREAKING** **FIX**: (flutter) pass pixelRatio to createTexture.
+ - **BREAKING** **FIX**: (flutter) pass pixelRatio to createTexture.
+ - **BREAKING** **FEAT**: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML).
+ - **BREAKING** **FEAT**: resize canvas on web.
+ - **BREAKING** **CHORE**: rename controller to viewer in gesture detector widgets.
+ - **FEAT**: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI.
+ - **BREAKING** **FIX**: (flutter) pass pixelRatio to createTexture.
+ - **FEAT**: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated.
+ - **FEAT**: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture.
+ - **BREAKING** **FIX**: (flutter) pass pixelRatio to createTexture.
+ - **FIX**: (flutter/web) use window.devicePixelRatio for viewport.
+ - **FEAT**: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset.
+ - **FEAT**: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture.
+ - **BREAKING** **FEAT**: (flutter) (web) upgrade package:web dep to 1.0.0.
+ - **BREAKING** **FEAT**: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML).
+ - **BREAKING** **FEAT**: resize canvas on web.
+
+
+## v0.1.3
+ - **FIX**: manually remove leading slash for compiler path on Windows when building for Android.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: shadow JS<->WASM bridge methods.
+ - **FIX**: manually remove leading slash for compiler path on Windows when building for Android.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: shadow JS<->WASM bridge methods.
+ - **FEAT**: add clearMorphAnimationData function.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+
+#### `thermion_flutter_ffi` - `v0.1.0+12`
+
+ - **FIX**: add logging dependency.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: add logging dependency.
+ - **FIX**: web/JS bool checks need to compare to int.
+
+#### `thermion_flutter_web` - `v0.0.3`
+
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+
+
+## 2024-07-11
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_flutter_ffi` - `v0.1.0+11`](#thermion_flutter_ffi---v01011)
+ - [`thermion_flutter` - `v0.1.1+12`](#thermion_flutter---v01112)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter` - `v0.1.1+12`
+
+---
+
+#### `thermion_flutter_ffi` - `v0.1.0+11`
+
+ - **FIX**: add logging dependency.
+
+
+## 2024-07-11
+
+### Changes
+
+---
+
+Packages with breaking changes:
+
+ - There are no breaking changes in this release.
+
+Packages with other changes:
+
+ - [`thermion_dart` - `v0.1.2`](#thermion_dart---v012)
+ - [`thermion_flutter_ffi` - `v0.1.0+10`](#thermion_flutter_ffi---v01010)
+ - [`thermion_flutter_web` - `v0.0.2`](#thermion_flutter_web---v002)
+ - [`thermion_flutter` - `v0.1.1+11`](#thermion_flutter---v01111)
+ - [`thermion_flutter_platform_interface` - `v0.1.0+10`](#thermion_flutter_platform_interface---v01010)
+
+Packages with dependency updates only:
+
+> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
+
+ - `thermion_flutter` - `v0.1.1+11`
+ - `thermion_flutter_platform_interface` - `v0.1.0+10`
+
+---
+
+#### `thermion_dart` - `v0.1.2`
+
+ - **FIX**: manually remove leading slash for compiler path on Windows when building for Android.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: shadow JS<->WASM bridge methods.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+
+#### `thermion_flutter_ffi` - `v0.1.0+10`
+
+ - **FIX**: web/JS bool checks need to compare to int.
+
+#### `thermion_flutter_web` - `v0.0.2`
+
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+
+
## 2024-07-04
### Changes
diff --git a/Makefile b/Makefile
index 2534cd72..3c85a7be 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ flutter-example-web: dart-web-clean dart-web
flutter-example-macos:
cd thermion_flutter_federated/thermion_flutter/example/web && flutter run -d macos
swift-bindings:
+ swiftc -c thermion_flutter/thermion_flutter/macos/Classes/ThermionTexture.swift -module-name swift_module -emit-objc-header-path thermion_dart/native/include/generated/ThermionTextureSwiftObjCAPI.h -emit-library -o thermion_dart/test/libThermionTextureSwift.dylib
cd thermion_dart/ && dart --enable-experiment=native-assets run ffigen --config ffigen/swift.yaml
bindings:
cd thermion_dart/ && dart --enable-experiment=native-assets run ffigen --config ffigen/native.yaml
@@ -22,10 +23,13 @@ bindings:
#
materials: FORCE
@echo "Using Filament build from ${FILAMENT_PATH}"
- ${FILAMENT_PATH}/matc -a opengl -a metal -o materials/image.filamat materials/image.mat
- $(FILAMENT_PATH)/resgen -c -p image -x ios/include/material/ materials/image.filamat
- $(FILAMENT_PATH)/matc -a opengl -a metal -o materials/gizmo.filamat materials/gizmo.mat
- $(FILAMENT_PATH)/resgen -c -p gizmo -x ios/include/material/ materials/gizmo.filamat
+ @for material in unlit image gizmo grid; do \
+ ${FILAMENT_PATH}/matc -a opengl -a metal -o materials/$$material.filamat materials/$$material.mat; \
+ $(FILAMENT_PATH)/resgen -c -p $$material -x thermion_dart/native/include/material/ materials/$$material.filamat; \
+ echo '#include "'$$material'.h"' | cat - thermion_dart/native/include/material/$$material.c > thermion_dart/native/include/material/$$material.c.new; \
+ mv thermion_dart/native/include/material/$$material.c.new thermion_dart/native/include/material/$$material.c; \
+ done
+
#rm materials/*.filamat
FORCE: ;
diff --git a/README.md b/README.md
index ef21a44f..12955bf2 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,58 @@
- camera/entity manipulation with mouse (desktop) and gestures (mobile)
- skinning + morph animations
+### Quickstart (Flutter)
+
+```
+flutter channel master
+flutter upgrade
+```
+
+```
+_thermionViewer = await ThermionFlutterPlugin.createViewer();
+
+// Geometry and models are represented as "entities". Here, we load a glTF
+// file containing a plain cube.
+// By default, all paths are treated as asset paths. To load from a file
+// instead, use file:// URIs.
+var entity =
+ await _thermionViewer!.loadGlb("assets/cube.glb", keepData: true);
+
+// Thermion uses a right-handed coordinate system where +Y is up and -Z is
+// "into" the screen.
+// By default, the camera is located at (0,0,0) looking at (0,0,-1); this
+// would place it directly inside the cube we just loaded.
+//
+// Let's move the camera to (0,0,10) to ensure the cube is visible in the
+// viewport.
+await _thermionViewer!.setCameraPosition(0, 0, 10);
+
+// Without a light source, your scene will be totally black. Let's load a skybox
+// (a cubemap image that is rendered behind everything else in the scene)
+// and an image-based indirect light that has been precomputed from the same
+// skybox.
+await _thermionViewer!.loadSkybox("assets/default_env_skybox.ktx");
+await _thermionViewer!.loadIbl("assets/default_env_ibl.ktx");
+
+// Finally, you need to explicitly enable rendering. Setting rendering to
+// false is designed to allow you to pause rendering to conserve battery life
+await _thermionViewer!.setRendering(true);
+```
+
+and then in your Flutter application:
+```
+ @override
+ Widget build(BuildContext context) {
+ return Stack(children: [
+ if (_thermionViewer != null)
+ Positioned.fill(
+ child: ThermionWidget(
+ viewer: _thermionViewer!,
+ )),
+ ]);
+ }
+```
+
### Sponsors, Contributors & Acknowledgments
Thermion uses the [Filament](https://github.com/google/filament) Physically Based Rendering engine under the hood.
diff --git a/docs.json b/docs.json
index deee03f5..a25b3003 100644
--- a/docs.json
+++ b/docs.json
@@ -12,7 +12,7 @@
],
["Misc.", [
["Playground", "https://dartpad.thermion.dev"],
- ["Examples", "/examples"],
+ ["Showcase", "/showcase"],
["Windows", "/windows"],
["Android", "/android"],
["Contributing", "/contributing"],
diff --git a/docs/android.mdx b/docs/android.mdx
index 4020b554..1279b9dc 100644
--- a/docs/android.mdx
+++ b/docs/android.mdx
@@ -1,5 +1,19 @@
## Android
+### Min SDK version
+
+Thermion requires Android SDK version 22, so change your `app/android/build.gradle` to match this version or higher:
+
+```groovy
+ defaultConfig {
+ ...
+ minSdk = 22
+ ...
+ }
+```
+
+### Shrink/Minify Resources
+
In release mode, you must add the following to your `app/build.gradle`:
```
diff --git a/docs/examples.mdx b/docs/showcase.mdx
similarity index 78%
rename from docs/examples.mdx
rename to docs/showcase.mdx
index 6a5b18e8..4cc9de77 100644
--- a/docs/examples.mdx
+++ b/docs/showcase.mdx
@@ -6,6 +6,13 @@ A custom DartPad that lets you experiment with Thermion from your browser (curre
[](https://dartpad.thermion.dev)
+## mixreel (Flutter/Web)
+
+Create 3D worlds and translate to AI video.
+
+[](https://mixreel.ai)
+
+
## Nick Fisher
My personal website, where I create an interactive clone of myself with Avaturn & Cartesia (no Flutter, made with Thermion and the [Jaspr Dart UI framework](https://github.com/schultek/jaspr)).
diff --git a/docs/windows.mdx b/docs/windows.mdx
index 86637bf2..4e00cbd9 100644
--- a/docs/windows.mdx
+++ b/docs/windows.mdx
@@ -13,21 +13,6 @@ Delete the `/WX`:
`target_compile_options(${TARGET} PRIVATE /W4 /wd"4100")`
-## pubspec.yaml
-
-On Windows, you will need to add a custom version of `native_toolchain_c` to your `dependency_overrides`. This is currently needed to link static libraries when building a DLL.
-
-```
-dependency_overrides:
- native_toolchain_c:
- git:
- url: https://github.com/nmfisher/native.git
- path: pkgs/native_toolchain_c
- ref: windows_dll_fix
-```
-
-This will eventually be fixed upstream in the `native_toolchain_c` package, so this should be a short-term/temporary issue only.
-
## ANGLE build (not currently working)
To support embedding GPU textures in Flutter (rather than copying to a CPU pixel buffer on every frame), we need to build a slightly customized version of Filament that uses GLES on Windows (rather than the default, which uses OpenGL).
diff --git a/examples/README.md b/examples/README.md
new file mode 100644
index 00000000..56aa35fc
--- /dev/null
+++ b/examples/README.md
@@ -0,0 +1,5 @@
+# Thermion Examples
+
+This repository contains example Dart and Flutter projects for the Thermion rendering toolkit.
+
+
diff --git a/examples/assets/BusterDrone/scene.bin b/examples/assets/BusterDrone/scene.bin
new file mode 100644
index 00000000..2f55da9e
Binary files /dev/null and b/examples/assets/BusterDrone/scene.bin differ
diff --git a/examples/assets/BusterDrone/scene.gltf b/examples/assets/BusterDrone/scene.gltf
new file mode 100644
index 00000000..a6370a1a
--- /dev/null
+++ b/examples/assets/BusterDrone/scene.gltf
@@ -0,0 +1,11876 @@
+{
+ "accessors": [
+ {
+ "bufferView": 0,
+ "byteOffset": 490368,
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 2.603024959564209,
+ 2.6610217094421387,
+ 0.004141807556152344
+ ],
+ "min": [
+ -2.603024959564209,
+ -2.6610217094421387,
+ -0.004141807556152344
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 490524,
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.000011948728570132516,
+ 0.000011688098311424255,
+ 1.1920928955078125e-7
+ ],
+ "min": [
+ -0.000011948726751143113,
+ -0.00001168833114206791,
+ -1.1920928955078125e-7
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 490680,
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5079542994499207,
+ 0.44970205426216125,
+ 0.0007009506225585938
+ ],
+ "min": [
+ -0.5079542994499207,
+ -0.44970205426216125,
+ -0.0007009506225585938
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 0,
+ "byteOffset": 490836,
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.000027996353310300037,
+ 0.000027456902898848057,
+ 1.1920928955078125e-7
+ ],
+ "min": [
+ -0.000027996351491310634,
+ -0.00002745713572949171,
+ -5.960464477539063e-8
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "componentType": 5126,
+ "count": 291,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR",
+ "byteOffset": 0
+ },
+ {
+ "bufferView": 2,
+ "componentType": 5126,
+ "count": 291,
+ "max": [
+ 0.766411542892456,
+ -100,
+ 34.548770904541016
+ ],
+ "min": [
+ 0,
+ -100,
+ -92.53174591064453
+ ],
+ "type": "VEC3",
+ "byteOffset": 0
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1164,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 3492,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 1172,
+ "componentType": 5126,
+ "count": 528,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "componentType": 5126,
+ "count": 528,
+ "max": [
+ 3.018394628351309e-17,
+ 0.4277789890766144,
+ 1.0350706219500598e-16,
+ 1
+ ],
+ "min": [
+ -5.146233374338227e-17,
+ -0.4226182699203491,
+ -8.386759746129016e-17,
+ 0.9038833975791931
+ ],
+ "type": "VEC4",
+ "byteOffset": 0
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 3284,
+ "componentType": 5126,
+ "count": 1025,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 3516,
+ "componentType": 5126,
+ "count": 1025,
+ "max": [
+ 1.0658141036401503e-14,
+ 0.00003388613185961731,
+ 0.000014036095308256336
+ ],
+ "min": [
+ -7.105427357601002e-15,
+ 0.00003388613185961731,
+ 0.000014036095308256336
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7384,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 15816,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 7392,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 8448,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 0.5891698598861694,
+ 9.724578803145729e-17,
+ 1.0542189266883763e-16,
+ 0.9999997019767761
+ ],
+ "min": [
+ -0.10293252021074295,
+ -1.8182581299328222e-16,
+ -1.0802358083610882e-16,
+ 0.8080092072486877
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 11956,
+ "componentType": 5126,
+ "count": 199,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 15840,
+ "componentType": 5126,
+ "count": 199,
+ "max": [
+ -0.01574668288230896,
+ -7.34735107421875,
+ 0.081717349588871
+ ],
+ "min": [
+ -0.01574668288230896,
+ -11.282759666442871,
+ 0.081717349588871
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 12752,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 18228,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 12760,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 26704,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 8.326672684688674e-17,
+ 8.326672684688674e-17,
+ 9.71445146547012e-17,
+ 1
+ ],
+ "min": [
+ -1.3877787807814457e-16,
+ -1.1102230246251565e-16,
+ -5.898059818321144e-17,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 17324,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 18252,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0,
+ 0,
+ 0
+ ],
+ "min": [
+ 0,
+ 0,
+ 0
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 17332,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 18276,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 17340,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 44960,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 6.941919929111294e-16,
+ 0.9612559676170349,
+ 0.8191520571708679,
+ 1.4523389702766784e-16
+ ],
+ "min": [
+ -7.690622409705619e-16,
+ -0.6991849541664124,
+ -0.6942344903945923,
+ -1.3729081909501104e-16
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 21904,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 18300,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.00007688588812015951,
+ -22.9158935546875,
+ 0.02676698938012123
+ ],
+ "min": [
+ 0.00007688588812015951,
+ -22.9158935546875,
+ 0.02676698938012123
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 21912,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 18324,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 21920,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 63216,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ -3.559834546828236e-23,
+ -4.1108839354819793e-7,
+ 4.2806183109312906e-17,
+ 1
+ ],
+ "min": [
+ -3.357394022152527e-16,
+ -0.130526602268219,
+ -2.134869384146925e-16,
+ 0.9914448261260986
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 26484,
+ "componentType": 5126,
+ "count": 1016,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 18348,
+ "componentType": 5126,
+ "count": 1016,
+ "max": [
+ 1.4210854715202004e-14,
+ -0.00004080753933521919,
+ 7.105427357601002e-15
+ ],
+ "min": [
+ -7.105427357601002e-15,
+ -0.00004080753933521919,
+ -3.552713678800501e-15
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 30548,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 30540,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 30556,
+ "componentType": 5126,
+ "count": 1132,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 81472,
+ "componentType": 5126,
+ "count": 1132,
+ "max": [
+ 0.4777144193649292,
+ 0.696681559085846,
+ -0.12097440659999847,
+ 0.696681559085846
+ ],
+ "min": [
+ 0.12097441405057907,
+ 0.5213338136672974,
+ -0.4777144193649292,
+ 0.5213338136672974
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 35084,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 30564,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.006630018353462219,
+ -5.510501384735107,
+ -0.09275053441524506
+ ],
+ "min": [
+ 0.006630018353462219,
+ -5.510501384735107,
+ -0.09275053441524506
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 35092,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 30588,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 35100,
+ "componentType": 5126,
+ "count": 1094,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 99584,
+ "componentType": 5126,
+ "count": 1094,
+ "max": [
+ 3.45120668043819e-7,
+ 0.755711019039154,
+ 3.411899740513036e-7,
+ 0.7933533191680908
+ ],
+ "min": [
+ -3.018524452613747e-8,
+ 0.6087614297866821,
+ -3.14133004053474e-8,
+ 0.6549052000045776
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 39476,
+ "componentType": 5126,
+ "count": 1058,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 30612,
+ "componentType": 5126,
+ "count": 1058,
+ "max": [
+ -9.947598300641403e-14,
+ -0.000002192010470025707,
+ -9.079604410544562e-7
+ ],
+ "min": [
+ -1.2789769243681803e-13,
+ -0.000002192010470025707,
+ -9.07960497897875e-7
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 43708,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 43308,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 43716,
+ "componentType": 5126,
+ "count": 1140,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 117088,
+ "componentType": 5126,
+ "count": 1140,
+ "max": [
+ 0.648327112197876,
+ 3.148856819734647e-8,
+ -2.9930738776329235e-8,
+ 1
+ ],
+ "min": [
+ -0.02535569667816162,
+ 3.4723754982479704e-9,
+ -4.330498626359258e-8,
+ 0.7613618969917297
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 48276,
+ "componentType": 5126,
+ "count": 199,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 43332,
+ "componentType": 5126,
+ "count": 199,
+ "max": [
+ 0.010783359408378601,
+ -7.360301494598389,
+ 0.08223113417625427
+ ],
+ "min": [
+ 0.010783359408378601,
+ -11.28590202331543,
+ 0.08223113417625427
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 49072,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45720,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 49080,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 135328,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 0.0000031865668006503256,
+ 1.1102240834163406e-16,
+ 8.326664082010304e-17,
+ 1
+ ],
+ "min": [
+ 0.0000031865668006503256,
+ -1.3877787807814457e-16,
+ -1.1102234216718506e-16,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 53644,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45744,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.004904936067759991,
+ 0.0029711532406508923,
+ -0.0014322279021143913
+ ],
+ "min": [
+ 0.004904936067759991,
+ 0.0029711532406508923,
+ -0.0014322279021143913
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 53652,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45768,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 53660,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 153584,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 2.946721479681508e-16,
+ 0.9721843600273132,
+ 0.7976794838905334,
+ 1.0801055108709988e-16
+ ],
+ "min": [
+ -3.3080178246791135e-16,
+ -0.7050051093101501,
+ -0.706916868686676,
+ -1.4904984662949747e-16
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 58224,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45792,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.002689761109650135,
+ -22.916383743286133,
+ 0.02693275175988674
+ ],
+ "min": [
+ 0.002689761109650135,
+ -22.916383743286133,
+ 0.02693275175988674
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 58232,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45816,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 58240,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 171840,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 5.287900693557693e-16,
+ 0.0033429425675421953,
+ 1.98237960436973e-15,
+ 1
+ ],
+ "min": [
+ 2.0879800224670911e-16,
+ -0.13052618503570557,
+ -1.0767316595280767e-15,
+ 0.9914448857307434
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 62804,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45840,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0,
+ 0,
+ 0
+ ],
+ "min": [
+ 0,
+ 0,
+ 0
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 62812,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45864,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 62820,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 190096,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 0.6187881231307983,
+ 1.357208038226058e-16,
+ 1.405753349317774e-16,
+ 0.9999972581863403
+ ],
+ "min": [
+ 0.0023439584765583277,
+ -1.4041348546440282e-16,
+ -1.441803997995203e-16,
+ 0.7855579257011414
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 67384,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45888,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 2.4154791831970215,
+ -4.842290878295898,
+ -0.006652138661593199
+ ],
+ "min": [
+ 2.4154791831970215,
+ -4.842290878295898,
+ -0.006652138661593199
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 67392,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45912,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 67400,
+ "componentType": 5126,
+ "count": 1074,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 208352,
+ "componentType": 5126,
+ "count": 1074,
+ "max": [
+ 2.2694037404499823e-13,
+ 0.7933533191680908,
+ 5.5178372315072347e-14,
+ 0.7933533191680908
+ ],
+ "min": [
+ -5.5019523144276064e-14,
+ 0.6087614297866821,
+ -2.269895290609933e-13,
+ 0.6087614297866821
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 71696,
+ "componentType": 5126,
+ "count": 23,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 45936,
+ "componentType": 5126,
+ "count": 23,
+ "max": [
+ 0.6785002946853638,
+ -0.37506112456321716,
+ 4.957866191864014
+ ],
+ "min": [
+ 0.6785002946853638,
+ -0.37506112456321716,
+ 1.9578661918640137
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 71788,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 46212,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 71796,
+ "componentType": 5126,
+ "count": 1058,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 225536,
+ "componentType": 5126,
+ "count": 1058,
+ "max": [
+ 1.3877787807814457e-16,
+ 2.62250594573743e-8,
+ 7.2789162079351655e-25,
+ 1
+ ],
+ "min": [
+ -1.614377034830916e-16,
+ 2.62250594573743e-8,
+ -1.942890293094024e-16,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 76028,
+ "componentType": 5126,
+ "count": 23,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 46236,
+ "componentType": 5126,
+ "count": 23,
+ "max": [
+ -19.23712730407715,
+ -26.57673454284668,
+ -0.748199999332428
+ ],
+ "min": [
+ -26.78019905090332,
+ -31.10906982421875,
+ -0.748199999332428
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 76120,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 46512,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 76128,
+ "componentType": 5126,
+ "count": 913,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 242464,
+ "componentType": 5126,
+ "count": 913,
+ "max": [
+ 0.1889660805463791,
+ -0.6813896298408508,
+ 0.1889660656452179,
+ 0.6813896298408508
+ ],
+ "min": [
+ 0.1889660805463791,
+ -0.6813896298408508,
+ 0.1889660656452179,
+ 0.6813896298408508
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 79780,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 46536,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.01226816326379776,
+ 0.00024394220963586122,
+ 0.0002562310837674886
+ ],
+ "min": [
+ 0.01226816326379776,
+ 0.00024394220963586122,
+ 0.0002562310837674886
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 79788,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 46560,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 79796,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 257072,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 0.7071067690849304,
+ 2.4532694660665106e-16,
+ 2.0842673711801571e-16,
+ 0.9999963045120239
+ ],
+ "min": [
+ -0.03856799378991127,
+ -1.783470619137986e-16,
+ -1.6837262692005858e-16,
+ 0.7071067690849304
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 84360,
+ "componentType": 5126,
+ "count": 199,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 46584,
+ "componentType": 5126,
+ "count": 199,
+ "max": [
+ 0.1428087055683136,
+ -7.303253173828125,
+ 0.08181961625814438
+ ],
+ "min": [
+ 0.05688011273741722,
+ -11.236658096313477,
+ 0.08181961625814438
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 85156,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 48972,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 85164,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 275328,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 0.000012702583262580447,
+ 0.000003925847522623371,
+ -0.010920972563326359,
+ 0.9999403357505798
+ ],
+ "min": [
+ 0.000012702583262580447,
+ 0.000003925847522623371,
+ -0.010920972563326359,
+ 0.9999403357505798
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 89728,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 48996,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ -0.004460121039301157,
+ 0.000007818744961696211,
+ 0.00005186478665564209
+ ],
+ "min": [
+ -0.004460121039301157,
+ 0.000007818744961696211,
+ 0.00005186478665564209
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 89736,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49020,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 89744,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 293584,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 3.20862724334609e-16,
+ 0.9717717170715332,
+ 0.7435351014137268,
+ 1.614297890189907e-16
+ ],
+ "min": [
+ -5.413126573875361e-16,
+ -0.705666184425354,
+ -0.6964223980903625,
+ -8.255817716906362e-17
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 94308,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49044,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.0002644560590852052,
+ -22.915939331054688,
+ 0.026753252372145653
+ ],
+ "min": [
+ 0.0002644560590852052,
+ -22.915939331054688,
+ 0.026753252372145653
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 94316,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49068,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 94324,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 311840,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 1.195374466078647e-9,
+ 0.1054544672369957,
+ 2.520133251659052e-14,
+ 1
+ ],
+ "min": [
+ -3.591690217505763e-16,
+ -0.13052618503570557,
+ -3.68308051971241e-15,
+ 0.9914448857307434
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 98888,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49092,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0,
+ 0,
+ 0
+ ],
+ "min": [
+ 0,
+ 0,
+ 0
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 98896,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49116,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 98904,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 330096,
+ "componentType": 5126,
+ "count": 1141,
+ "max": [
+ 0.5984764695167542,
+ 1.7411764252628359e-9,
+ 1.0605889453239737e-16,
+ 1
+ ],
+ "min": [
+ -0.014889945276081562,
+ -8.390695802355788e-17,
+ -2.3159511641779318e-8,
+ 0.8011403679847717
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 103468,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49140,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ -2.415479898452759,
+ -4.84229040145874,
+ -0.006640426814556122
+ ],
+ "min": [
+ -2.415479898452759,
+ -4.84229040145874,
+ -0.006640426814556122
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 103476,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49164,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 103484,
+ "componentType": 5126,
+ "count": 1078,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 348352,
+ "componentType": 5126,
+ "count": 1078,
+ "max": [
+ 3.052628814873351e-14,
+ -0.6410675048828125,
+ 3.0506660701279734e-14,
+ 0.7674844861030579
+ ],
+ "min": [
+ -6.372444347375883e-14,
+ -0.7933533191680908,
+ -6.362619442814091e-14,
+ 0.6087614297866821
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 107796,
+ "componentType": 5126,
+ "count": 29,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49188,
+ "componentType": 5126,
+ "count": 29,
+ "max": [
+ -0.6784976124763489,
+ -0.3758923411369324,
+ 4.957706451416016
+ ],
+ "min": [
+ -0.6784976124763489,
+ -0.37716609239578247,
+ 1.9577068090438843
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 107912,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49536,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 107920,
+ "componentType": 5126,
+ "count": 1058,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 365600,
+ "componentType": 5126,
+ "count": 1058,
+ "max": [
+ 0.0002122838923241943,
+ 2.747205307684908e-8,
+ -5.831902235436948e-12,
+ 1
+ ],
+ "min": [
+ 0.0002122838923241943,
+ 2.747205307684908e-8,
+ -5.832034074421122e-12,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 112152,
+ "componentType": 5126,
+ "count": 23,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49560,
+ "componentType": 5126,
+ "count": 23,
+ "max": [
+ 26.78019905090332,
+ -26.57673454284668,
+ -0.748199999332428
+ ],
+ "min": [
+ 19.23712730407715,
+ -31.10906982421875,
+ -0.748199999332428
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 112244,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49836,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 112252,
+ "componentType": 5126,
+ "count": 966,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 382528,
+ "componentType": 5126,
+ "count": 966,
+ "max": [
+ 0.1889660805463791,
+ 0.6813896298408508,
+ -0.1889660656452179,
+ 0.6813896298408508
+ ],
+ "min": [
+ 0.1889660805463791,
+ 0.6813896298408508,
+ -0.1889660656452179,
+ 0.6813896298408508
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 116116,
+ "componentType": 5126,
+ "count": 27,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 49860,
+ "componentType": 5126,
+ "count": 27,
+ "max": [
+ -22.55685806274414,
+ -8.625173568725586,
+ 0.14466851949691772
+ ],
+ "min": [
+ -28.345199584960938,
+ -10.20475959777832,
+ 0.14466851949691772
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 116224,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 50184,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 116232,
+ "componentType": 5126,
+ "count": 958,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 397984,
+ "componentType": 5126,
+ "count": 958,
+ "max": [
+ 0.09390988200902939,
+ -0.7008429765701294,
+ 0.09390988200902939,
+ 0.7008430361747742
+ ],
+ "min": [
+ 0.09390988200902939,
+ -0.7008429765701294,
+ 0.09390988200902939,
+ 0.7008430361747742
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 120064,
+ "componentType": 5126,
+ "count": 27,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 50208,
+ "componentType": 5126,
+ "count": 27,
+ "max": [
+ 28.230527877807617,
+ -9.64864730834961,
+ -0.07694999873638153
+ ],
+ "min": [
+ 22.442184448242188,
+ -11.228233337402344,
+ -0.07694999873638153
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 120172,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 50532,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 120180,
+ "componentType": 5126,
+ "count": 971,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 413312,
+ "componentType": 5126,
+ "count": 971,
+ "max": [
+ 0.09390988200902939,
+ 0.7008429765701294,
+ -0.09390988200902939,
+ 0.7008430361747742
+ ],
+ "min": [
+ 0.09390988200902939,
+ 0.7008429765701294,
+ -0.09390988200902939,
+ 0.7008430361747742
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 124064,
+ "componentType": 5126,
+ "count": 859,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 50556,
+ "componentType": 5126,
+ "count": 859,
+ "max": [
+ 5.329070518200751e-15,
+ 38.9765510559082,
+ -3.073050022125244
+ ],
+ "min": [
+ -7.105427357601002e-15,
+ 33.4765510559082,
+ -3.073050022125244
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 127500,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 60864,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 127508,
+ "componentType": 5126,
+ "count": 998,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 428848,
+ "componentType": 5126,
+ "count": 998,
+ "max": [
+ 5.551115123125783e-17,
+ 1.1102230246251565e-16,
+ 5.551115123125783e-17,
+ 1
+ ],
+ "min": [
+ -6.938893903907228e-17,
+ -8.326672684688674e-17,
+ -5.551115123125783e-17,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 131500,
+ "componentType": 5126,
+ "count": 824,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 60888,
+ "componentType": 5126,
+ "count": 824,
+ "max": [
+ 3.552713678800501e-15,
+ -0.018226023763418198,
+ -8.908537864685059
+ ],
+ "min": [
+ -7.105427357601002e-15,
+ -0.018226023763418198,
+ -8.908537864685059
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 134796,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70776,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 134804,
+ "componentType": 5126,
+ "count": 1142,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 444816,
+ "componentType": 5126,
+ "count": 1142,
+ "max": [
+ 0.002140095690265298,
+ 1,
+ 0.04749816656112671,
+ 0.08700844645500183
+ ],
+ "min": [
+ -0.002407652325928211,
+ 0.9933873414993286,
+ -0.02874644845724106,
+ -0.11379626393318176
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 139372,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70800,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ -0.000021889296476729214,
+ -36.155147552490234,
+ -10.966755867004395
+ ],
+ "min": [
+ -0.000021889296476729214,
+ -36.155147552490234,
+ -10.966755867004395
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 139380,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70824,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 139388,
+ "componentType": 5126,
+ "count": 1216,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 463088,
+ "componentType": 5126,
+ "count": 1216,
+ "max": [
+ 0.8032023310661316,
+ 0.6148953437805176,
+ 0.8032018542289734,
+ 0.614924967288971
+ ],
+ "min": [
+ -0.5634948015213013,
+ -0.4302464425563812,
+ -0.5672827363014221,
+ -0.4291868805885315
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 144252,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70848,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 19.973400115966797,
+ 24.55685043334961,
+ -6.007046699523926
+ ],
+ "min": [
+ 19.973400115966797,
+ 24.55685043334961,
+ -6.007046699523926
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 144260,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70872,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 144268,
+ "componentType": 5126,
+ "count": 1174,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 482544,
+ "componentType": 5126,
+ "count": 1174,
+ "max": [
+ 0.6970846056938171,
+ 0.6561663746833801,
+ 0.6592297554016113,
+ 0.6099482774734497
+ ],
+ "min": [
+ -0.6526466608047485,
+ -0.652332067489624,
+ -0.6243375539779663,
+ -0.49005988240242004
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 148964,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70896,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 0.000051651491958182305,
+ -36.1551513671875,
+ -10.966744422912598
+ ],
+ "min": [
+ 0.000051651491958182305,
+ -36.1551513671875,
+ -10.966744422912598
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 148972,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70920,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 148980,
+ "componentType": 5126,
+ "count": 1216,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 501328,
+ "componentType": 5126,
+ "count": 1216,
+ "max": [
+ 0.8032023310661316,
+ 0.6148953437805176,
+ 0.8032018542289734,
+ 0.614924967288971
+ ],
+ "min": [
+ -0.5647227764129639,
+ -0.45769572257995605,
+ -0.567910373210907,
+ -0.431105375289917
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 153844,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70944,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ -19.973400115966797,
+ 24.556848526000977,
+ -6.007049560546875
+ ],
+ "min": [
+ -19.973400115966797,
+ 24.556848526000977,
+ -6.007049560546875
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 153852,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70968,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 153860,
+ "componentType": 5126,
+ "count": 1174,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 520784,
+ "componentType": 5126,
+ "count": 1174,
+ "max": [
+ 0.697971761226654,
+ 0.5453841686248779,
+ 0.6412535309791565,
+ 0.6099480986595154
+ ],
+ "min": [
+ -0.49868083000183105,
+ -0.5850634574890137,
+ -0.5260052680969238,
+ -0.4971546530723572
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 158556,
+ "componentType": 5126,
+ "count": 1044,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 70992,
+ "componentType": 5126,
+ "count": 1044,
+ "max": [
+ 0.30994635820388794,
+ 88.4124526977539,
+ 3.357822895050049
+ ],
+ "min": [
+ 0,
+ 0.11856790632009506,
+ -12.910046577453613
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 162732,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 83520,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 162740,
+ "componentType": 5126,
+ "count": 1059,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 539568,
+ "componentType": 5126,
+ "count": 1059,
+ "max": [
+ 0.8156683444976807,
+ 0.10349708050489426,
+ 0.07732612639665604,
+ 0.7898205518722534
+ ],
+ "min": [
+ 0.6133379936218262,
+ -0.15155479311943054,
+ -0.13645820319652557,
+ 0.5717355012893677
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 166976,
+ "componentType": 5126,
+ "count": 279,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 83544,
+ "componentType": 5126,
+ "count": 279,
+ "max": [
+ 0,
+ 0,
+ 21.310029983520508
+ ],
+ "min": [
+ 0,
+ 0,
+ -42.39506530761719
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 168092,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 2,
+ "byteOffset": 86892,
+ "componentType": 5126,
+ "count": 2,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ 1,
+ 1,
+ 1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 168100,
+ "componentType": 5126,
+ "count": 367,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 3,
+ "byteOffset": 556512,
+ "componentType": 5126,
+ "count": 367,
+ "max": [
+ 8.359196102885279e-17,
+ 0.9999496340751648,
+ 8.359196102885279e-17,
+ 1
+ ],
+ "min": [
+ -8.659445459885287e-17,
+ -0.8649336099624634,
+ -8.659445459885287e-17,
+ -0.4979607164859772
+ ],
+ "type": "VEC4"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 169568,
+ "componentType": 5126,
+ "count": 509,
+ "max": [
+ 25
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "bufferView": 1,
+ "byteOffset": 171604,
+ "componentType": 5126,
+ "count": 1018,
+ "max": [
+ 1
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5125,
+ "count": 18,
+ "max": [
+ 6
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 7,
+ "max": [
+ 0,
+ 0,
+ -1
+ ],
+ "min": [
+ 0,
+ 0,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 7,
+ "max": [
+ 180,
+ 155.8845672607422,
+ 0
+ ],
+ "min": [
+ -180,
+ -155.8845672607422,
+ 0
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 7,
+ "max": [
+ 1,
+ 6.123234262925839e-17,
+ 0,
+ 1
+ ],
+ "min": [
+ 1,
+ 0,
+ 0,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 7,
+ "max": [
+ 1,
+ 0.9330127239227295
+ ],
+ "min": [
+ 0,
+ 0.06698727607727051
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 7,
+ "max": [
+ 1,
+ 0.9330127239227295
+ ],
+ "min": [
+ 0,
+ 0.06698727607727051
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 6624,
+ "max": [
+ 1597
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 0.9999938607215881,
+ 1,
+ 1
+ ],
+ "min": [
+ -0.9999938607215881,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 24.47800064086914,
+ 40.60210037231445,
+ 43.78879928588867
+ ],
+ "min": [
+ -24.47800064086914,
+ -39.97100067138672,
+ -32.2958984375
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 0.9494781494140625,
+ 0.9984400272369385
+ ],
+ "min": [
+ 0.050515174865722656,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 0.9494781494140625,
+ 0.9984400272369385
+ ],
+ "min": [
+ 0.050515174865722656,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 0.9494781494140625,
+ 0.9984400272369385
+ ],
+ "min": [
+ 0.050515174865722656,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 0.9494781494140625,
+ 0.9984400272369385
+ ],
+ "min": [
+ 0.050515174865722656,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1598,
+ "max": [
+ 0.9494781494140625,
+ 0.9984400272369385
+ ],
+ "min": [
+ 0.050515174865722656,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 192,
+ "max": [
+ 59
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9462724328041077,
+ 0.00002637715806486085,
+ 0.9238796234130859
+ ],
+ "min": [
+ -0.9462687969207764,
+ -0.9339421987533569,
+ -0.9238765835762024
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 3.158555030822754,
+ 0,
+ 2.7355499267578125
+ ],
+ "min": [
+ -3.158555030822754,
+ -4.489299774169922,
+ -2.7355499267578125
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.6912197470664978,
+ 0.8588380813598633,
+ 0.9905509352684021,
+ 1
+ ],
+ "min": [
+ -0.6913442611694336,
+ -1,
+ -0.6705939173698425,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9791259765625,
+ 0.6324005126953125
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.229583740234375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9791259765625,
+ 0.6324005126953125
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.229583740234375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9791259765625,
+ 0.6324005126953125
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.229583740234375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9791259765625,
+ 0.6324005126953125
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.229583740234375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.8378965854644775,
+ 2.837851047515869,
+ 3.1812357902526855
+ ],
+ "min": [
+ -2.8378965854644775,
+ -2.837851047515869,
+ -3.1812357902526855
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9705880284309387,
+ 0.970474362373352,
+ 0.9334462881088257,
+ 1
+ ],
+ "min": [
+ -0.9705855250358582,
+ -0.9705935716629028,
+ -0.9999987483024597,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.98150634765625,
+ 0.9824953079223633
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.98150634765625,
+ 0.9824953079223633
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.98150634765625,
+ 0.9824953079223633
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.98150634765625,
+ 0.9824953079223633
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4872,
+ "max": [
+ 1512
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 3.8741042613983154,
+ 1.7617741823196411,
+ 3.0504395961761475
+ ],
+ "min": [
+ -3.9423036575317383,
+ -22.016210556030273,
+ -4.033937454223633
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 1,
+ 0.9999995827674866,
+ 0.9992985129356384,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -0.9996975660324097,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980460405349731
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980460405349731
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980460405349731
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980460405349731
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.805872678756714,
+ 2.503127098083496,
+ 2.5030744075775146
+ ],
+ "min": [
+ -2.8058857917785645,
+ -2.503126382827759,
+ -2.5030744075775146
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9999423027038574,
+ 0.9715058207511902,
+ 0.9705548882484436,
+ 1
+ ],
+ "min": [
+ -0.9334924221038818,
+ -0.970590353012085,
+ -0.970612645149231,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.8618621826171875,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.03627777099609375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.8618621826171875,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.03627777099609375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.8618621826171875,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.03627777099609375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.8618621826171875,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.03627777099609375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4128,
+ "max": [
+ 1189
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 6.140176773071289,
+ 7.9751200675964355,
+ 9.091413497924805
+ ],
+ "min": [
+ -6.138557434082031,
+ -12.837050437927246,
+ -2.774056911468506
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9986715912818909,
+ 1,
+ 0.932191789150238,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -0.9457818865776062,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9821929931640625,
+ 0.9979920387268066
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9821929931640625,
+ 0.9979920387268066
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9821929931640625,
+ 0.9979920387268066
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9821929931640625,
+ 0.9979920387268066
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 192,
+ "max": [
+ 59
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9462646245956421,
+ 0.00006607881368836388,
+ 0.9043453931808472
+ ],
+ "min": [
+ -0.9462745189666748,
+ -0.9273982048034668,
+ -0.904350757598877
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 2.1719820499420166,
+ -4.440892098500626e-16,
+ 2.284182071685791
+ ],
+ "min": [
+ -2.1719820499420166,
+ -8.425638198852539,
+ -2.284182071685791
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.6912132501602173,
+ 0.8564750552177429,
+ 0.9907793998718262,
+ 1
+ ],
+ "min": [
+ -0.6912415623664856,
+ -1,
+ -0.6705775260925293,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.5562744140625,
+ 0.8839511871337891
+ ],
+ "min": [
+ 0.24591445922851562,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.5562744140625,
+ 0.8839511871337891
+ ],
+ "min": [
+ 0.24591445922851562,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.5562744140625,
+ 0.8839511871337891
+ ],
+ "min": [
+ 0.24591445922851562,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.5562744140625,
+ 0.8839511871337891
+ ],
+ "min": [
+ 0.24591445922851562,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.805861473083496,
+ 2.503016948699951,
+ 2.503002166748047
+ ],
+ "min": [
+ -2.8058581352233887,
+ -2.5030174255371094,
+ -2.503002166748047
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9334709048271179,
+ 0.9943826198577881,
+ 0.9705744981765747,
+ 1
+ ],
+ "min": [
+ -0.9999973773956299,
+ -0.9915933012962341,
+ -0.9705973267555237,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9977874755859375,
+ 0.9978030323982239
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0384979248046875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9977874755859375,
+ 0.9978030323982239
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0384979248046875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9977874755859375,
+ 0.9978030323982239
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0384979248046875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9977874755859375,
+ 0.9978030323982239
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0384979248046875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 3792,
+ "max": [
+ 1128
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -0.7994152307510376,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 6.352692127227783,
+ 7.272726058959961,
+ 6.740703105926514
+ ],
+ "min": [
+ -6.337584495544434,
+ -25.38535499572754,
+ -2.6904826164245605
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.9445861577987671,
+ 1,
+ 0.9917267560958862,
+ 1
+ ],
+ "min": [
+ -0.999998927116394,
+ -1,
+ -0.9903827905654907,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.99798583984375,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.054290771484375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.99798583984375,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.054290771484375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.99798583984375,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.054290771484375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.99798583984375,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.054290771484375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 858,
+ "max": [
+ 209
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.9999997615814209,
+ 0.9804182648658752,
+ 0.9717621207237244
+ ],
+ "min": [
+ -0.9999998211860657,
+ -0.9752709269523621,
+ -0.9717718958854675
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 22.505199432373047,
+ 16.118268966674805,
+ 0.014730009250342846
+ ],
+ "min": [
+ -19.017000198364258,
+ -16.7448787689209,
+ -12.467525482177734
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.7160800695419312,
+ 0.9986988306045532,
+ 0.9983847141265869,
+ 1
+ ],
+ "min": [
+ -0.9804638028144836,
+ -0.9959992170333862,
+ -0.9985447525978088,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.3270263671875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.013447999954223633,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.3270263671875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.013447999954223633,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.3270263671875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.013447999954223633,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.3270263671875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.013447999954223633,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.3270263671875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.013447999954223633,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 684,
+ "max": [
+ 181
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9812500476837158,
+ 0.98042231798172,
+ 0.9717556834220886
+ ],
+ "min": [
+ -0.9812499284744263,
+ -0.9752631783485413,
+ -0.9804222583770752
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 22.49679946899414,
+ 16.087291717529297,
+ 0.015429569408297539
+ ],
+ "min": [
+ -22.48870086669922,
+ -16.78112030029297,
+ -7.136616230010986
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.6957566142082214,
+ 0.9961112141609192,
+ 0.9974663853645325,
+ 1
+ ],
+ "min": [
+ -0.7036730647087097,
+ -0.9936772584915161,
+ -0.9909072518348694,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.34142303466796875,
+ 0.9984639883041382
+ ],
+ "min": [
+ 0.04077434539794922,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.34142303466796875,
+ 0.9984639883041382
+ ],
+ "min": [
+ 0.04077434539794922,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.34142303466796875,
+ 0.9984639883041382
+ ],
+ "min": [
+ 0.04077434539794922,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.34142303466796875,
+ 0.9984639883041382
+ ],
+ "min": [
+ 0.04077434539794922,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.34142303466796875,
+ 0.9984639883041382
+ ],
+ "min": [
+ 0.04077434539794922,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 192,
+ "max": [
+ 59
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9203706383705139,
+ 0.08052149415016174,
+ 0.9462553858757019
+ ],
+ "min": [
+ -0.9203649163246155,
+ -0.9591649174690247,
+ -0.9462553858757019
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 5.528401851654053,
+ 0.8937630653381348,
+ 3.1585500240325928
+ ],
+ "min": [
+ -0.07819413393735886,
+ -3.9569084644317627,
+ -3.1585500240325928
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.6124923825263977,
+ 0.8991279602050781,
+ 0.6859615445137024,
+ -1
+ ],
+ "min": [
+ -0.9984928965568542,
+ -0.9968492984771729,
+ -0.6886578798294067,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.511199951171875,
+ 0.9978490471839905
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.511199951171875,
+ 0.9978490471839905
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.511199951171875,
+ 0.9978490471839905
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.511199951171875,
+ 0.9978490471839905
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 3.1813101768493652,
+ 2.837909698486328,
+ 2.837886095046997
+ ],
+ "min": [
+ -3.181349039077759,
+ -2.837909698486328,
+ -2.837886095046997
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9334935545921326,
+ 0.9705367088317871,
+ 0.9705860018730164,
+ -1
+ ],
+ "min": [
+ -0.9999493956565857,
+ -0.9706282615661621,
+ -0.9704942107200623,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9978485107421875,
+ 0.9978020191192627
+ ],
+ "min": [
+ 0.005537986755371094,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9978485107421875,
+ 0.9978020191192627
+ ],
+ "min": [
+ 0.005537986755371094,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9978485107421875,
+ 0.9978020191192627
+ ],
+ "min": [
+ 0.005537986755371094,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9978485107421875,
+ 0.9978020191192627
+ ],
+ "min": [
+ 0.005537986755371094,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4872,
+ "max": [
+ 1512
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 3.944369077682495,
+ 1.761652946472168,
+ 3.050240993499756
+ ],
+ "min": [
+ -3.873849868774414,
+ -22.01688575744629,
+ -4.03395414352417
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 1,
+ 0.9999986886978149,
+ 0.9997035264968872,
+ -1
+ ],
+ "min": [
+ -1,
+ -1,
+ -0.999306321144104,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1513,
+ "max": [
+ 0.998046875,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.8058583736419678,
+ 2.503086566925049,
+ 2.5030324459075928
+ ],
+ "min": [
+ -2.8059232234954834,
+ -2.5030837059020996,
+ -2.5030324459075928
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9334862232208252,
+ 0.9717816710472107,
+ 0.9705871343612671,
+ -1
+ ],
+ "min": [
+ -0.9999354481697083,
+ -0.9705882668495178,
+ -0.9704800844192505,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9752960205078125,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.04209327697753906,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9752960205078125,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.04209327697753906,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9752960205078125,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.04209327697753906,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9752960205078125,
+ 0.997859001159668
+ ],
+ "min": [
+ 0.04209327697753906,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4128,
+ "max": [
+ 1189
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 6.134866237640381,
+ 7.972114086151123,
+ 9.091575622558594
+ ],
+ "min": [
+ -6.143898010253906,
+ -12.839866638183594,
+ -2.773728847503662
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 1,
+ 1,
+ 0.9237611889839172,
+ -1
+ ],
+ "min": [
+ -0.9987005591392517,
+ -1,
+ -0.9384349584579468,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9978179931640625,
+ 0.9980350136756897
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9978179931640625,
+ 0.9980350136756897
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9978179931640625,
+ 0.9980350136756897
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9978179931640625,
+ 0.9980350136756897
+ ],
+ "min": [
+ 0.011077880859375,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 192,
+ "max": [
+ 59
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9462710022926331,
+ 0.00001421624983777292,
+ 0.9043461680412292
+ ],
+ "min": [
+ -0.9462725520133972,
+ -0.9274078011512756,
+ -0.9043479561805725
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 2.1718454360961914,
+ -3.3487545825520645e-14,
+ 2.2841246128082275
+ ],
+ "min": [
+ -2.1718454360961914,
+ -8.425505638122559,
+ -2.2841246128082275
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.6912213563919067,
+ 0.8617174625396729,
+ 0.9907815456390381,
+ -1
+ ],
+ "min": [
+ -0.6912751197814941,
+ -1,
+ -0.6705557703971863,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.39041900634765625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.029907703399658203,
+ 0.2353973388671875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.39041900634765625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.029907703399658203,
+ 0.2353973388671875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.39041900634765625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.029907703399658203,
+ 0.2353973388671875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.39041900634765625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.029907703399658203,
+ 0.2353973388671875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.805884599685669,
+ 2.503038167953491,
+ 2.5029942989349365
+ ],
+ "min": [
+ -2.8058927059173584,
+ -2.503038167953491,
+ -2.5029942989349365
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9334784746170044,
+ 0.9944380521774292,
+ 0.9705901741981506,
+ -1
+ ],
+ "min": [
+ -0.9999455809593201,
+ -0.9916284084320068,
+ -0.9705632925033569,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9980010986328125,
+ 0.9980420470237732
+ ],
+ "min": [
+ 0.023261547088623047,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9980010986328125,
+ 0.9980420470237732
+ ],
+ "min": [
+ 0.023261547088623047,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9980010986328125,
+ 0.9980420470237732
+ ],
+ "min": [
+ 0.023261547088623047,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9980010986328125,
+ 0.9980420470237732
+ ],
+ "min": [
+ 0.023261547088623047,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 3792,
+ "max": [
+ 1128
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.9999979138374329,
+ 0.9999978542327881,
+ 1
+ ],
+ "min": [
+ -0.9999978542327881,
+ -0.8000316023826599,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 6.356159210205078,
+ 7.2811970710754395,
+ 6.741055011749268
+ ],
+ "min": [
+ -6.334109306335449,
+ -25.386653900146484,
+ -2.690229654312134
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.9999987483024597,
+ 0.9999978542327881,
+ 0.9899260401725769,
+ -1
+ ],
+ "min": [
+ -0.9441795349121094,
+ -0.9999979138374329,
+ -0.9884353280067444,
+ -1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.97637939453125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.97637939453125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.97637939453125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.97637939453125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 858,
+ "max": [
+ 209
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.9999998211860657,
+ 0.9804549217224121,
+ 0.9718173146247864
+ ],
+ "min": [
+ -0.9999997615814209,
+ -0.9752144813537598,
+ -0.9718270897865295
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 19.017000198364258,
+ 16.119686126708984,
+ 0.017575301229953766
+ ],
+ "min": [
+ -22.505199432373047,
+ -16.74315071105957,
+ -12.473467826843262
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.7163847088813782,
+ 0.9960353970527649,
+ 0.9985222220420837,
+ 1
+ ],
+ "min": [
+ -0.9804637432098389,
+ -0.9986840486526489,
+ -0.9983941912651062,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.986541748046875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.6729278564453125,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.986541748046875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.6729278564453125,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.986541748046875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.6729278564453125,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.986541748046875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.6729278564453125,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 210,
+ "max": [
+ 0.986541748046875,
+ 0.9985079765319824
+ ],
+ "min": [
+ 0.6729278564453125,
+ 0.1425018310546875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 684,
+ "max": [
+ 181
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9812499284744263,
+ 0.9804224371910095,
+ 0.9717556834220886
+ ],
+ "min": [
+ -0.9812500476837158,
+ -0.9752631783485413,
+ -0.9804222583770752
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 22.488698959350586,
+ 16.08729362487793,
+ 0.015429651364684105
+ ],
+ "min": [
+ -22.49679946899414,
+ -16.7811222076416,
+ -7.136616230010986
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.7016284465789795,
+ 0.993878185749054,
+ 0.9915738105773926,
+ 1
+ ],
+ "min": [
+ -0.7065384984016418,
+ -0.9980297684669495,
+ -0.9960659742355347,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9592132568359375,
+ 0.9984700083732605
+ ],
+ "min": [
+ 0.6585693359375,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9592132568359375,
+ 0.9984700083732605
+ ],
+ "min": [
+ 0.6585693359375,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9592132568359375,
+ 0.9984700083732605
+ ],
+ "min": [
+ 0.6585693359375,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9592132568359375,
+ 0.9984700083732605
+ ],
+ "min": [
+ 0.6585693359375,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 182,
+ "max": [
+ 0.9592132568359375,
+ 0.9984700083732605
+ ],
+ "min": [
+ 0.6585693359375,
+ 0.16192626953125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 192,
+ "max": [
+ 59
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9203649163246155,
+ 0.08052149415016174,
+ 0.9462553858757019
+ ],
+ "min": [
+ -0.9203706383705139,
+ -0.9591649174690247,
+ -0.9462553858757019
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.07819413393735886,
+ 0.8937630653381348,
+ 3.1585500240325928
+ ],
+ "min": [
+ -5.528401851654053,
+ -3.9569084644317627,
+ -3.1585500240325928
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9984928965568542,
+ 0.900946855545044,
+ 0.6860498189926147,
+ 1
+ ],
+ "min": [
+ -0.6124934554100037,
+ -0.9968502521514893,
+ -0.6886581778526306,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.997955322265625,
+ 0.9978790283203125
+ ],
+ "min": [
+ 0.14649581909179688,
+ 0.2284698486328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.997955322265625,
+ 0.9978790283203125
+ ],
+ "min": [
+ 0.14649581909179688,
+ 0.2284698486328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.997955322265625,
+ 0.9978790283203125
+ ],
+ "min": [
+ 0.14649581909179688,
+ 0.2284698486328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.997955322265625,
+ 0.9978790283203125
+ ],
+ "min": [
+ 0.14649581909179688,
+ 0.2284698486328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 3.181283950805664,
+ 2.837909698486328,
+ 2.837886095046997
+ ],
+ "min": [
+ -3.181283950805664,
+ -2.837909698486328,
+ -2.837886095046997
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9999459981918335,
+ 0.9705654978752136,
+ 0.9705774784088135,
+ 1
+ ],
+ "min": [
+ -0.9334567785263062,
+ -0.9705967903137207,
+ -0.9705893993377686,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9878692626953125,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.037108421325683594,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9878692626953125,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.037108421325683594,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9878692626953125,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.037108421325683594,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9878692626953125,
+ 0.9980520009994507
+ ],
+ "min": [
+ 0.037108421325683594,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4872,
+ "max": [
+ 1456
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 3.8742127418518066,
+ 1.7617069482803345,
+ 3.050255298614502
+ ],
+ "min": [
+ -3.9421558380126953,
+ -22.016254425048828,
+ -4.034045219421387
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 1,
+ 0.9999988079071045,
+ 0.999301552772522,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -0.9996956586837769,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 0.998046875,
+ 0.997937023639679
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 0.998046875,
+ 0.997937023639679
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 0.998046875,
+ 0.997937023639679
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1457,
+ "max": [
+ 0.998046875,
+ 0.997937023639679
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 1,
+ 0.9987014532089233,
+ 0.9986981749534607
+ ],
+ "min": [
+ -1,
+ -0.9987033605575562,
+ -0.9986976981163025
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.805882692337036,
+ 2.4998340606689453,
+ 2.4997761249542236
+ ],
+ "min": [
+ -2.805903196334839,
+ -2.4998345375061035,
+ -2.4997763633728027
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9999436140060425,
+ 0.9696629643440247,
+ 0.969977080821991,
+ 1
+ ],
+ "min": [
+ -0.9334853291511536,
+ -0.9695192575454712,
+ -0.9701146483421326,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9880218505859375,
+ 0.9815201759338379
+ ],
+ "min": [
+ 0.03489208221435547,
+ 0.0645294189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9880218505859375,
+ 0.9815201759338379
+ ],
+ "min": [
+ 0.03489208221435547,
+ 0.0645294189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9880218505859375,
+ 0.9815201759338379
+ ],
+ "min": [
+ 0.03489208221435547,
+ 0.0645294189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9880218505859375,
+ 0.9815201759338379
+ ],
+ "min": [
+ 0.03489208221435547,
+ 0.0645294189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4128,
+ "max": [
+ 1189
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 1,
+ 1,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 6.144484043121338,
+ 7.975264549255371,
+ 9.09143352508545
+ ],
+ "min": [
+ -6.134279727935791,
+ -12.836573600769043,
+ -2.7741191387176514
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.9986706972122192,
+ 1,
+ 0.9321260452270508,
+ 1
+ ],
+ "min": [
+ -1,
+ -1,
+ -0.9456865191459656,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.969451904296875,
+ 0.9978950023651123
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.969451904296875,
+ 0.9978950023651123
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.969451904296875,
+ 0.9978950023651123
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1190,
+ "max": [
+ 0.969451904296875,
+ 0.9978950023651123
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 192,
+ "max": [
+ 59
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.9460511803627014,
+ 0.020673329010605812,
+ 0.9043437838554382
+ ],
+ "min": [
+ -0.9460495114326477,
+ -0.9307563900947571,
+ -0.9043524265289307
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 2.2373239994049072,
+ -5.258825228852005e-15,
+ 2.284106492996216
+ ],
+ "min": [
+ -2.2373239994049072,
+ -8.501056671142578,
+ -2.284106492996216
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.7061308026313782,
+ 0.8601000308990479,
+ 0.9907819628715515,
+ 1
+ ],
+ "min": [
+ -0.6760434508323669,
+ -0.9998863935470581,
+ -0.6705630421638489,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.882232666015625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.14953994750976562,
+ 0.4477996826171875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.882232666015625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.14953994750976562,
+ 0.4477996826171875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.882232666015625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.14953994750976562,
+ 0.4477996826171875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 60,
+ "max": [
+ 0.882232666015625,
+ 0.9979940056800842
+ ],
+ "min": [
+ 0.14953994750976562,
+ 0.4477996826171875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 2736,
+ "max": [
+ 668
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9997609853744507,
+ 0.9997621774673462,
+ 1
+ ],
+ "min": [
+ -0.9997605681419373,
+ -0.9997619986534119,
+ -1
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 2.814361095428467,
+ 2.5024404525756836,
+ 2.5029942989349365
+ ],
+ "min": [
+ -2.814356803894043,
+ -2.5024402141571045,
+ -2.5029942989349365
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.9410112500190735,
+ 0.9957802891731262,
+ 0.9705701470375061,
+ 1
+ ],
+ "min": [
+ -0.9999746680259705,
+ -0.9924947619438171,
+ -0.9705852270126343,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.950103759765625,
+ 0.9767532348632812
+ ],
+ "min": [
+ 0.005815982818603516,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.950103759765625,
+ 0.9767532348632812
+ ],
+ "min": [
+ 0.005815982818603516,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.950103759765625,
+ 0.9767532348632812
+ ],
+ "min": [
+ 0.005815982818603516,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 669,
+ "max": [
+ 0.950103759765625,
+ 0.9767532348632812
+ ],
+ "min": [
+ 0.005815982818603516,
+ 0.0011138916015625
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 3792,
+ "max": [
+ 1128
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.9997616410255432,
+ 0.9998812675476074,
+ 0.9998799562454224
+ ],
+ "min": [
+ -0.9997621774673462,
+ -0.8040514588356018,
+ -0.9998816251754761
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 6.410318374633789,
+ 7.331780910491943,
+ 6.804128170013428
+ ],
+ "min": [
+ -6.276950359344482,
+ -25.39360809326172,
+ -2.7138583660125732
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.9514473676681519,
+ 0.9999784231185913,
+ 0.9934725165367126,
+ 1
+ ],
+ "min": [
+ -0.9999739527702332,
+ -0.9999784827232361,
+ -0.9883590936660767,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.971954345703125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0448760986328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.971954345703125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0448760986328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.971954345703125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0448760986328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1129,
+ "max": [
+ 0.971954345703125,
+ 0.9980530142784119
+ ],
+ "min": [
+ 0.0011079907417297363,
+ 0.0448760986328125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 198,
+ "max": [
+ 47
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.9800400733947754,
+ 0.9815039038658142,
+ 0.9692381620407104
+ ],
+ "min": [
+ -0.9800400733947754,
+ -0.9815108776092529,
+ -0.009044792503118515
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 22.25983238220215,
+ 3.6992530785930143e-16,
+ 5.172183990478516
+ ],
+ "min": [
+ -22.703067779541016,
+ -2.035116672515869,
+ -4.854550361633301
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.711862325668335,
+ 0.009239021688699722,
+ 1,
+ 1
+ ],
+ "min": [
+ -0.7126688957214355,
+ -0.9862862229347229,
+ -0.9999582171440125,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.34128570556640625,
+ 0.3702392578125
+ ],
+ "min": [
+ 0.2750701904296875,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.34128570556640625,
+ 0.3702392578125
+ ],
+ "min": [
+ 0.2750701904296875,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.34128570556640625,
+ 0.3702392578125
+ ],
+ "min": [
+ 0.2750701904296875,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.34128570556640625,
+ 0.3702392578125
+ ],
+ "min": [
+ 0.2750701904296875,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.34128570556640625,
+ 0.3702392578125
+ ],
+ "min": [
+ 0.2750701904296875,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 198,
+ "max": [
+ 47
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.9800400733947754,
+ 0.9815039038658142,
+ 0.9692381620407104
+ ],
+ "min": [
+ -0.9800400733947754,
+ -0.9815108776092529,
+ -0.00904479343444109
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 22.481449127197266,
+ 1.0175585746765137,
+ 5.013367176055908
+ ],
+ "min": [
+ -22.481449127197266,
+ -1.0175585746765137,
+ -5.013367176055908
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.7118115425109863,
+ 0.9863398671150208,
+ 0.999962568283081,
+ 1
+ ],
+ "min": [
+ -0.7124660015106201,
+ -0.0099171232432127,
+ -0.9999998807907104,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.72491455078125,
+ 0.37017822265625
+ ],
+ "min": [
+ 0.658599853515625,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.72491455078125,
+ 0.37017822265625
+ ],
+ "min": [
+ 0.658599853515625,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.72491455078125,
+ 0.37017822265625
+ ],
+ "min": [
+ 0.658599853515625,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.72491455078125,
+ 0.37017822265625
+ ],
+ "min": [
+ 0.658599853515625,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 48,
+ "max": [
+ 0.72491455078125,
+ 0.37017822265625
+ ],
+ "min": [
+ 0.658599853515625,
+ 0.1679534912109375
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 198,
+ "max": [
+ 51
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 0.980785071849823,
+ 0.963556170463562,
+ 0.980782151222229
+ ],
+ "min": [
+ -0.980785071849823,
+ 0,
+ -0.9807981252670288
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 5.742680072784424,
+ 7.674149990081787,
+ 16.58354949951172
+ ],
+ "min": [
+ -5.742680072784424,
+ -7.674149990081787,
+ -16.58354949951172
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ -0.000021119056327734143,
+ 1,
+ 0.7062842845916748,
+ 1
+ ],
+ "min": [
+ -0.9896541237831116,
+ -1,
+ -0.7070288062095642,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 0.27196502685546875,
+ 0.6553955078125
+ ],
+ "min": [
+ 0.14226150512695312,
+ 0.457794189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 0.27196502685546875,
+ 0.6553955078125
+ ],
+ "min": [
+ 0.14226150512695312,
+ 0.457794189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 0.27196502685546875,
+ 0.6553955078125
+ ],
+ "min": [
+ 0.14226150512695312,
+ 0.457794189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 0.27196502685546875,
+ 0.6553955078125
+ ],
+ "min": [
+ 0.14226150512695312,
+ 0.457794189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 52,
+ "max": [
+ 0.27196502685546875,
+ 0.6553955078125
+ ],
+ "min": [
+ 0.14226150512695312,
+ 0.457794189453125
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 324,
+ "max": [
+ 60
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 0.9253151416778564,
+ 0.9224124550819397,
+ 0.9999999403953552
+ ],
+ "min": [
+ -0.9253151416778564,
+ -0.922246515750885,
+ 0.3791990280151367
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 3.422339916229248,
+ 3.4983837604522705,
+ 1.0367803573608398
+ ],
+ "min": [
+ -3.422339916229248,
+ -3.4988362789154053,
+ -0.0045692152343690395
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ -0.37807369232177734,
+ 0.16984163224697113,
+ 0.923377513885498,
+ 1
+ ],
+ "min": [
+ -1,
+ -0.25828370451927185,
+ -0.922590970993042,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 0.5171157717704773,
+ 0.4423835277557373
+ ],
+ "min": [
+ 0.48266905546188354,
+ 0.4072730541229248
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 0.5171157717704773,
+ 0.4423835277557373
+ ],
+ "min": [
+ 0.48266905546188354,
+ 0.4072730541229248
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 0.5171157717704773,
+ 0.4423835277557373
+ ],
+ "min": [
+ 0.48266905546188354,
+ 0.4072730541229248
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 0.5171157717704773,
+ 0.4423835277557373
+ ],
+ "min": [
+ 0.48266905546188354,
+ 0.4072730541229248
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 61,
+ "max": [
+ 0.5171157717704773,
+ 0.4423835277557373
+ ],
+ "min": [
+ 0.48266905546188354,
+ 0.4072730541229248
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 36,
+ "max": [
+ 12
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.00007492514851037413,
+ -0.0015094821574166417,
+ -0.9999987483024597
+ ],
+ "min": [
+ -0.00007492515578633174,
+ -0.0015759739326313138,
+ -0.999998927116394
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5206102132797241,
+ 0.5319043397903442,
+ -9.52561092376709
+ ],
+ "min": [
+ -0.5205997824668884,
+ -0.5325044393539429,
+ -9.527267456054688
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 1,
+ 0.0016572648892179132,
+ 0.00007750481745461002,
+ 1
+ ],
+ "min": [
+ 0.9999986290931702,
+ -0.001644145231693983,
+ -0.000077527787652798,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5069850087165833,
+ 0.45840930938720703
+ ],
+ "min": [
+ 0.492599755525589,
+ 0.44371509552001953
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5069850087165833,
+ 0.45840930938720703
+ ],
+ "min": [
+ 0.492599755525589,
+ 0.44371509552001953
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5069850087165833,
+ 0.45840930938720703
+ ],
+ "min": [
+ 0.492599755525589,
+ 0.44371509552001953
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5069850087165833,
+ 0.45840930938720703
+ ],
+ "min": [
+ 0.492599755525589,
+ 0.44371509552001953
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 13,
+ "max": [
+ 0.5069850087165833,
+ 0.45840930938720703
+ ],
+ "min": [
+ 0.492599755525589,
+ 0.44371509552001953
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 6768,
+ "max": [
+ 1394
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 1,
+ 0.9952672719955444,
+ 0.9951035976409912
+ ],
+ "min": [
+ -1,
+ -0.9998235106468201,
+ -0.999494731426239
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 37.781776428222656,
+ 7.368798732757568,
+ 5.318163871765137
+ ],
+ "min": [
+ -37.78172302246094,
+ -72.43864440917969,
+ -26.958742141723633
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9951720833778381,
+ 0.9952999949455261,
+ 0.9998140335083008,
+ 1
+ ],
+ "min": [
+ -0.9951794147491455,
+ -0.9994944930076599,
+ -0.9952681660652161,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9985809326171875,
+ 0.998432993888855
+ ],
+ "min": [
+ 0.587646484375,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9985809326171875,
+ 0.998432993888855
+ ],
+ "min": [
+ 0.587646484375,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9985809326171875,
+ 0.998432993888855
+ ],
+ "min": [
+ 0.587646484375,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9985809326171875,
+ 0.998432993888855
+ ],
+ "min": [
+ 0.587646484375,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9985809326171875,
+ 0.998432993888855
+ ],
+ "min": [
+ 0.587646484375,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4896,
+ "max": [
+ 1187
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985098242759705,
+ 1,
+ 0.9985183477401733
+ ],
+ "min": [
+ -0.9985097050666809,
+ -1,
+ -0.9985119104385376
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 32.348899841308594,
+ 5.063899993896484,
+ 32.348899841308594
+ ],
+ "min": [
+ -32.348899841308594,
+ -5.063899993896484,
+ -32.34890365600586
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9971701502799988,
+ 0.9981505870819092,
+ 1,
+ 1
+ ],
+ "min": [
+ -0.9971259236335754,
+ -0.9981384873390198,
+ -1,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985198974609375,
+ 0.9985760450363159
+ ],
+ "min": [
+ 0.5195770263671875,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985198974609375,
+ 0.9985760450363159
+ ],
+ "min": [
+ 0.5195770263671875,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985198974609375,
+ 0.9985760450363159
+ ],
+ "min": [
+ 0.5195770263671875,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985198974609375,
+ 0.9985760450363159
+ ],
+ "min": [
+ 0.5195770263671875,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985198974609375,
+ 0.9985760450363159
+ ],
+ "min": [
+ 0.5195770263671875,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 6768,
+ "max": [
+ 1394
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 1,
+ 0.9952672719955444,
+ 0.9951035976409912
+ ],
+ "min": [
+ -1,
+ -0.9998235702514648,
+ -0.999494731426239
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 37.78175354003906,
+ 7.36879825592041,
+ 5.3181657791137695
+ ],
+ "min": [
+ -37.7817497253418,
+ -72.43864440917969,
+ -26.958721160888672
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.9951218962669373,
+ 0.9994943141937256,
+ 0.9952681660652161,
+ 1
+ ],
+ "min": [
+ -0.9952056407928467,
+ -0.9952999949455261,
+ -0.9998233318328857,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.4123382568359375,
+ 0.9985350370407104
+ ],
+ "min": [
+ 0.001408994197845459,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.4123382568359375,
+ 0.9985350370407104
+ ],
+ "min": [
+ 0.001408994197845459,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.4123382568359375,
+ 0.9985350370407104
+ ],
+ "min": [
+ 0.001408994197845459,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.4123382568359375,
+ 0.9985350370407104
+ ],
+ "min": [
+ 0.001408994197845459,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1395,
+ "max": [
+ 0.4123382568359375,
+ 0.9985350370407104
+ ],
+ "min": [
+ 0.001408994197845459,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5125,
+ "count": 4896,
+ "max": [
+ 1187
+ ],
+ "min": [
+ 0
+ ],
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9985119104385376,
+ 1,
+ 0.9985097646713257
+ ],
+ "min": [
+ -0.9985182881355286,
+ -1,
+ -0.9985126256942749
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 32.348899841308594,
+ 5.063899993896484,
+ 32.348899841308594
+ ],
+ "min": [
+ -32.348899841308594,
+ -5.063899993896484,
+ -32.348899841308594
+ ],
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.9999992251396179,
+ 0.9981393814086914,
+ 0.9971155524253845,
+ 1
+ ],
+ "min": [
+ -0.9999951124191284,
+ -0.998076856136322,
+ -0.9971383810043335,
+ 1
+ ],
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.48041534423828125,
+ 0.9985830187797546
+ ],
+ "min": [
+ 0.001475989818572998,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.48041534423828125,
+ 0.9985830187797546
+ ],
+ "min": [
+ 0.001475989818572998,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.48041534423828125,
+ 0.9985830187797546
+ ],
+ "min": [
+ 0.001475989818572998,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.48041534423828125,
+ 0.9985830187797546
+ ],
+ "min": [
+ 0.001475989818572998,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 1188,
+ "max": [
+ 0.48041534423828125,
+ 0.9985830187797546
+ ],
+ "min": [
+ 0.001475989818572998,
+ 0.00115966796875
+ ],
+ "type": "VEC2"
+ }
+ ],
+ "animations": [
+ {
+ "channels": [
+ {
+ "sampler": 0,
+ "target": {
+ "node": 10,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 1,
+ "target": {
+ "node": 10,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 2,
+ "target": {
+ "node": 10,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 3,
+ "target": {
+ "node": 33,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 4,
+ "target": {
+ "node": 33,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 5,
+ "target": {
+ "node": 33,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 6,
+ "target": {
+ "node": 29,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 7,
+ "target": {
+ "node": 29,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 8,
+ "target": {
+ "node": 29,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 9,
+ "target": {
+ "node": 27,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 10,
+ "target": {
+ "node": 27,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 11,
+ "target": {
+ "node": 27,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 12,
+ "target": {
+ "node": 25,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 13,
+ "target": {
+ "node": 25,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 14,
+ "target": {
+ "node": 25,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 15,
+ "target": {
+ "node": 23,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 16,
+ "target": {
+ "node": 23,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 17,
+ "target": {
+ "node": 23,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 18,
+ "target": {
+ "node": 21,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 19,
+ "target": {
+ "node": 21,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 20,
+ "target": {
+ "node": 21,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 21,
+ "target": {
+ "node": 53,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 22,
+ "target": {
+ "node": 53,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 23,
+ "target": {
+ "node": 53,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 24,
+ "target": {
+ "node": 49,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 25,
+ "target": {
+ "node": 49,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 26,
+ "target": {
+ "node": 49,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 27,
+ "target": {
+ "node": 47,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 28,
+ "target": {
+ "node": 47,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 29,
+ "target": {
+ "node": 47,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 30,
+ "target": {
+ "node": 45,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 31,
+ "target": {
+ "node": 45,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 32,
+ "target": {
+ "node": 45,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 33,
+ "target": {
+ "node": 43,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 34,
+ "target": {
+ "node": 43,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 35,
+ "target": {
+ "node": 43,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 36,
+ "target": {
+ "node": 41,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 37,
+ "target": {
+ "node": 41,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 38,
+ "target": {
+ "node": 41,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 39,
+ "target": {
+ "node": 37,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 40,
+ "target": {
+ "node": 37,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 41,
+ "target": {
+ "node": 37,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 42,
+ "target": {
+ "node": 35,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 43,
+ "target": {
+ "node": 35,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 44,
+ "target": {
+ "node": 35,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 45,
+ "target": {
+ "node": 73,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 46,
+ "target": {
+ "node": 73,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 47,
+ "target": {
+ "node": 73,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 48,
+ "target": {
+ "node": 69,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 49,
+ "target": {
+ "node": 69,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 50,
+ "target": {
+ "node": 69,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 51,
+ "target": {
+ "node": 67,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 52,
+ "target": {
+ "node": 67,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 53,
+ "target": {
+ "node": 67,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 54,
+ "target": {
+ "node": 65,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 55,
+ "target": {
+ "node": 65,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 56,
+ "target": {
+ "node": 65,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 57,
+ "target": {
+ "node": 63,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 58,
+ "target": {
+ "node": 63,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 59,
+ "target": {
+ "node": 63,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 60,
+ "target": {
+ "node": 61,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 61,
+ "target": {
+ "node": 61,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 62,
+ "target": {
+ "node": 61,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 63,
+ "target": {
+ "node": 57,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 64,
+ "target": {
+ "node": 57,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 65,
+ "target": {
+ "node": 57,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 66,
+ "target": {
+ "node": 55,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 67,
+ "target": {
+ "node": 55,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 68,
+ "target": {
+ "node": 55,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 69,
+ "target": {
+ "node": 75,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 70,
+ "target": {
+ "node": 75,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 71,
+ "target": {
+ "node": 75,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 72,
+ "target": {
+ "node": 77,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 73,
+ "target": {
+ "node": 77,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 74,
+ "target": {
+ "node": 77,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 75,
+ "target": {
+ "node": 79,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 76,
+ "target": {
+ "node": 79,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 77,
+ "target": {
+ "node": 79,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 78,
+ "target": {
+ "node": 83,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 79,
+ "target": {
+ "node": 83,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 80,
+ "target": {
+ "node": 83,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 81,
+ "target": {
+ "node": 87,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 82,
+ "target": {
+ "node": 87,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 83,
+ "target": {
+ "node": 87,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 84,
+ "target": {
+ "node": 85,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 85,
+ "target": {
+ "node": 85,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 86,
+ "target": {
+ "node": 85,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 87,
+ "target": {
+ "node": 91,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 88,
+ "target": {
+ "node": 91,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 89,
+ "target": {
+ "node": 91,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 90,
+ "target": {
+ "node": 89,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 91,
+ "target": {
+ "node": 89,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 92,
+ "target": {
+ "node": 89,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 93,
+ "target": {
+ "node": 13,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 94,
+ "target": {
+ "node": 13,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 95,
+ "target": {
+ "node": 13,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 96,
+ "target": {
+ "node": 9,
+ "path": "translation"
+ }
+ },
+ {
+ "sampler": 97,
+ "target": {
+ "node": 9,
+ "path": "scale"
+ }
+ },
+ {
+ "sampler": 98,
+ "target": {
+ "node": 9,
+ "path": "rotation"
+ }
+ },
+ {
+ "sampler": 99,
+ "target": {
+ "node": 84,
+ "path": "weights"
+ }
+ }
+ ],
+ "name": "CINEMA_4D_Basis",
+ "samplers": [
+ {
+ "input": 4,
+ "interpolation": "LINEAR",
+ "output": 5
+ },
+ {
+ "input": 6,
+ "interpolation": "LINEAR",
+ "output": 7
+ },
+ {
+ "input": 8,
+ "interpolation": "LINEAR",
+ "output": 9
+ },
+ {
+ "input": 10,
+ "interpolation": "LINEAR",
+ "output": 11
+ },
+ {
+ "input": 12,
+ "interpolation": "LINEAR",
+ "output": 13
+ },
+ {
+ "input": 14,
+ "interpolation": "LINEAR",
+ "output": 15
+ },
+ {
+ "input": 16,
+ "interpolation": "LINEAR",
+ "output": 17
+ },
+ {
+ "input": 18,
+ "interpolation": "LINEAR",
+ "output": 19
+ },
+ {
+ "input": 20,
+ "interpolation": "LINEAR",
+ "output": 21
+ },
+ {
+ "input": 22,
+ "interpolation": "LINEAR",
+ "output": 23
+ },
+ {
+ "input": 24,
+ "interpolation": "LINEAR",
+ "output": 25
+ },
+ {
+ "input": 26,
+ "interpolation": "LINEAR",
+ "output": 27
+ },
+ {
+ "input": 28,
+ "interpolation": "LINEAR",
+ "output": 29
+ },
+ {
+ "input": 30,
+ "interpolation": "LINEAR",
+ "output": 31
+ },
+ {
+ "input": 32,
+ "interpolation": "LINEAR",
+ "output": 33
+ },
+ {
+ "input": 34,
+ "interpolation": "LINEAR",
+ "output": 35
+ },
+ {
+ "input": 36,
+ "interpolation": "LINEAR",
+ "output": 37
+ },
+ {
+ "input": 38,
+ "interpolation": "LINEAR",
+ "output": 39
+ },
+ {
+ "input": 40,
+ "interpolation": "LINEAR",
+ "output": 41
+ },
+ {
+ "input": 42,
+ "interpolation": "LINEAR",
+ "output": 43
+ },
+ {
+ "input": 44,
+ "interpolation": "LINEAR",
+ "output": 45
+ },
+ {
+ "input": 46,
+ "interpolation": "LINEAR",
+ "output": 47
+ },
+ {
+ "input": 48,
+ "interpolation": "LINEAR",
+ "output": 49
+ },
+ {
+ "input": 50,
+ "interpolation": "LINEAR",
+ "output": 51
+ },
+ {
+ "input": 52,
+ "interpolation": "LINEAR",
+ "output": 53
+ },
+ {
+ "input": 54,
+ "interpolation": "LINEAR",
+ "output": 55
+ },
+ {
+ "input": 56,
+ "interpolation": "LINEAR",
+ "output": 57
+ },
+ {
+ "input": 58,
+ "interpolation": "LINEAR",
+ "output": 59
+ },
+ {
+ "input": 60,
+ "interpolation": "LINEAR",
+ "output": 61
+ },
+ {
+ "input": 62,
+ "interpolation": "LINEAR",
+ "output": 63
+ },
+ {
+ "input": 64,
+ "interpolation": "LINEAR",
+ "output": 65
+ },
+ {
+ "input": 66,
+ "interpolation": "LINEAR",
+ "output": 67
+ },
+ {
+ "input": 68,
+ "interpolation": "LINEAR",
+ "output": 69
+ },
+ {
+ "input": 70,
+ "interpolation": "LINEAR",
+ "output": 71
+ },
+ {
+ "input": 72,
+ "interpolation": "LINEAR",
+ "output": 73
+ },
+ {
+ "input": 74,
+ "interpolation": "LINEAR",
+ "output": 75
+ },
+ {
+ "input": 76,
+ "interpolation": "LINEAR",
+ "output": 77
+ },
+ {
+ "input": 78,
+ "interpolation": "LINEAR",
+ "output": 79
+ },
+ {
+ "input": 80,
+ "interpolation": "LINEAR",
+ "output": 81
+ },
+ {
+ "input": 82,
+ "interpolation": "LINEAR",
+ "output": 83
+ },
+ {
+ "input": 84,
+ "interpolation": "LINEAR",
+ "output": 85
+ },
+ {
+ "input": 86,
+ "interpolation": "LINEAR",
+ "output": 87
+ },
+ {
+ "input": 88,
+ "interpolation": "LINEAR",
+ "output": 89
+ },
+ {
+ "input": 90,
+ "interpolation": "LINEAR",
+ "output": 91
+ },
+ {
+ "input": 92,
+ "interpolation": "LINEAR",
+ "output": 93
+ },
+ {
+ "input": 94,
+ "interpolation": "LINEAR",
+ "output": 95
+ },
+ {
+ "input": 96,
+ "interpolation": "LINEAR",
+ "output": 97
+ },
+ {
+ "input": 98,
+ "interpolation": "LINEAR",
+ "output": 99
+ },
+ {
+ "input": 100,
+ "interpolation": "LINEAR",
+ "output": 101
+ },
+ {
+ "input": 102,
+ "interpolation": "LINEAR",
+ "output": 103
+ },
+ {
+ "input": 104,
+ "interpolation": "LINEAR",
+ "output": 105
+ },
+ {
+ "input": 106,
+ "interpolation": "LINEAR",
+ "output": 107
+ },
+ {
+ "input": 108,
+ "interpolation": "LINEAR",
+ "output": 109
+ },
+ {
+ "input": 110,
+ "interpolation": "LINEAR",
+ "output": 111
+ },
+ {
+ "input": 112,
+ "interpolation": "LINEAR",
+ "output": 113
+ },
+ {
+ "input": 114,
+ "interpolation": "LINEAR",
+ "output": 115
+ },
+ {
+ "input": 116,
+ "interpolation": "LINEAR",
+ "output": 117
+ },
+ {
+ "input": 118,
+ "interpolation": "LINEAR",
+ "output": 119
+ },
+ {
+ "input": 120,
+ "interpolation": "LINEAR",
+ "output": 121
+ },
+ {
+ "input": 122,
+ "interpolation": "LINEAR",
+ "output": 123
+ },
+ {
+ "input": 124,
+ "interpolation": "LINEAR",
+ "output": 125
+ },
+ {
+ "input": 126,
+ "interpolation": "LINEAR",
+ "output": 127
+ },
+ {
+ "input": 128,
+ "interpolation": "LINEAR",
+ "output": 129
+ },
+ {
+ "input": 130,
+ "interpolation": "LINEAR",
+ "output": 131
+ },
+ {
+ "input": 132,
+ "interpolation": "LINEAR",
+ "output": 133
+ },
+ {
+ "input": 134,
+ "interpolation": "LINEAR",
+ "output": 135
+ },
+ {
+ "input": 136,
+ "interpolation": "LINEAR",
+ "output": 137
+ },
+ {
+ "input": 138,
+ "interpolation": "LINEAR",
+ "output": 139
+ },
+ {
+ "input": 140,
+ "interpolation": "LINEAR",
+ "output": 141
+ },
+ {
+ "input": 142,
+ "interpolation": "LINEAR",
+ "output": 143
+ },
+ {
+ "input": 144,
+ "interpolation": "LINEAR",
+ "output": 145
+ },
+ {
+ "input": 146,
+ "interpolation": "LINEAR",
+ "output": 147
+ },
+ {
+ "input": 148,
+ "interpolation": "LINEAR",
+ "output": 149
+ },
+ {
+ "input": 150,
+ "interpolation": "LINEAR",
+ "output": 151
+ },
+ {
+ "input": 152,
+ "interpolation": "LINEAR",
+ "output": 153
+ },
+ {
+ "input": 154,
+ "interpolation": "LINEAR",
+ "output": 155
+ },
+ {
+ "input": 156,
+ "interpolation": "LINEAR",
+ "output": 157
+ },
+ {
+ "input": 158,
+ "interpolation": "LINEAR",
+ "output": 159
+ },
+ {
+ "input": 160,
+ "interpolation": "LINEAR",
+ "output": 161
+ },
+ {
+ "input": 162,
+ "interpolation": "LINEAR",
+ "output": 163
+ },
+ {
+ "input": 164,
+ "interpolation": "LINEAR",
+ "output": 165
+ },
+ {
+ "input": 166,
+ "interpolation": "LINEAR",
+ "output": 167
+ },
+ {
+ "input": 168,
+ "interpolation": "LINEAR",
+ "output": 169
+ },
+ {
+ "input": 170,
+ "interpolation": "LINEAR",
+ "output": 171
+ },
+ {
+ "input": 172,
+ "interpolation": "LINEAR",
+ "output": 173
+ },
+ {
+ "input": 174,
+ "interpolation": "LINEAR",
+ "output": 175
+ },
+ {
+ "input": 176,
+ "interpolation": "LINEAR",
+ "output": 177
+ },
+ {
+ "input": 178,
+ "interpolation": "LINEAR",
+ "output": 179
+ },
+ {
+ "input": 180,
+ "interpolation": "LINEAR",
+ "output": 181
+ },
+ {
+ "input": 182,
+ "interpolation": "LINEAR",
+ "output": 183
+ },
+ {
+ "input": 184,
+ "interpolation": "LINEAR",
+ "output": 185
+ },
+ {
+ "input": 186,
+ "interpolation": "LINEAR",
+ "output": 187
+ },
+ {
+ "input": 188,
+ "interpolation": "LINEAR",
+ "output": 189
+ },
+ {
+ "input": 190,
+ "interpolation": "LINEAR",
+ "output": 191
+ },
+ {
+ "input": 192,
+ "interpolation": "LINEAR",
+ "output": 193
+ },
+ {
+ "input": 194,
+ "interpolation": "LINEAR",
+ "output": 195
+ },
+ {
+ "input": 196,
+ "interpolation": "LINEAR",
+ "output": 197
+ },
+ {
+ "input": 198,
+ "interpolation": "LINEAR",
+ "output": 199
+ },
+ {
+ "input": 200,
+ "interpolation": "LINEAR",
+ "output": 201
+ },
+ {
+ "input": 202,
+ "interpolation": "LINEAR",
+ "output": 203
+ }
+ ]
+ }
+ ],
+ "asset": {
+ "extras": {
+ "author": "LaVADraGoN (https://sketchfab.com/lavadragon)",
+ "license": "CC-BY-NC-4.0 (http://creativecommons.org/licenses/by-nc/4.0/)",
+ "source": "https://sketchfab.com/3d-models/buster-drone-294e79652f494130ad2ab00a13fdbafd",
+ "title": "Buster Drone"
+ },
+ "generator": "Sketchfab-7.38.0",
+ "version": "2.0"
+ },
+ "bufferViews": [
+ {
+ "buffer": 0,
+ "byteLength": 614976,
+ "byteOffset": 0,
+ "byteStride": 12,
+ "name": "floatBufferViews",
+ "target": 34962
+ },
+ {
+ "buffer": 0,
+ "byteLength": 175676,
+ "byteOffset": 614976,
+ "name": "floatBufferViews"
+ },
+ {
+ "buffer": 0,
+ "byteLength": 86916,
+ "byteOffset": 790652,
+ "byteStride": 12,
+ "name": "floatBufferViews"
+ },
+ {
+ "buffer": 0,
+ "byteLength": 562384,
+ "byteOffset": 877568,
+ "byteStride": 16,
+ "name": "floatBufferViews"
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1439952,
+ "byteLength": 354
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1440308,
+ "byteLength": 24007
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1464316,
+ "byteLength": 1381
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1465700,
+ "byteLength": 9138
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1474840,
+ "byteLength": 20853
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1495696,
+ "byteLength": 9029
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1504728,
+ "byteLength": 16918
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1521648,
+ "byteLength": 1435
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1523084,
+ "byteLength": 9013
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1532100,
+ "byteLength": 15509
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1547612,
+ "byteLength": 4226
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1551840,
+ "byteLength": 3250
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1555092,
+ "byteLength": 1382
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1556476,
+ "byteLength": 9352
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1565828,
+ "byteLength": 21051
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1586880,
+ "byteLength": 9282
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1596164,
+ "byteLength": 16939
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1613104,
+ "byteLength": 1384
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1614488,
+ "byteLength": 9284
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1623772,
+ "byteLength": 15464
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1639236,
+ "byteLength": 4109
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1643348,
+ "byteLength": 3147
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1646496,
+ "byteLength": 1396
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1647892,
+ "byteLength": 9088
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1656980,
+ "byteLength": 20226
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1677208,
+ "byteLength": 9096
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1686304,
+ "byteLength": 16935
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1703240,
+ "byteLength": 1378
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1704620,
+ "byteLength": 9040
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1713660,
+ "byteLength": 15560
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1729220,
+ "byteLength": 1310
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1730532,
+ "byteLength": 1346
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1731880,
+ "byteLength": 1325
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1733208,
+ "byteLength": 1847
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1735056,
+ "byteLength": 719
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1735776,
+ "byteLength": 18693
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1754472,
+ "byteLength": 17770
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1772244,
+ "byteLength": 20941
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 1793188,
+ "byteLength": 17590
+ }
+ ],
+ "buffers": [
+ {
+ "name": "scene",
+ "byteLength": 1810780,
+ "uri": "scene.bin"
+ }
+ ],
+ "images": [
+ {
+ "name": "Boden_baseColor",
+ "uri": "textures/Boden_baseColor.jpg"
+ },
+ {
+ "name": "Boden_metallicRoughness",
+ "uri": "textures/Boden_metallicRoughness.jpg"
+ },
+ {
+ "name": "Boden_normal",
+ "uri": "textures/Boden_normal.jpg"
+ },
+ {
+ "name": "body_baseColor",
+ "uri": "textures/body_baseColor.jpg"
+ },
+ {
+ "name": "body_metallicRoughness",
+ "uri": "textures/body_metallicRoughness.jpg"
+ },
+ {
+ "name": "body_emissive",
+ "uri": "textures/body_emissive.jpg"
+ },
+ {
+ "name": "body_normal",
+ "uri": "textures/body_normal.jpg"
+ },
+ {
+ "name": "material_baseColor",
+ "uri": "textures/material_baseColor.jpg"
+ },
+ {
+ "name": "material_metallicRoughness",
+ "uri": "textures/material_metallicRoughness.jpg"
+ },
+ {
+ "name": "material_normal",
+ "uri": "textures/material_normal.jpg"
+ }
+ ],
+ "materials": [
+ {
+ "doubleSided": false,
+ "name": "Boden",
+ "normalTexture": {
+ "index": 2,
+ "scale": 1,
+ "texCoord": 0
+ },
+ "pbrMetallicRoughness": {
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "baseColorTexture": {
+ "index": 0,
+ "texCoord": 0
+ },
+ "metallicFactor": 1,
+ "metallicRoughnessTexture": {
+ "index": 1,
+ "texCoord": 0
+ },
+ "roughnessFactor": 1
+ },
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ "doubleSided": false,
+ "emissiveFactor": [
+ 1,
+ 1,
+ 1
+ ],
+ "emissiveTexture": {
+ "index": 5,
+ "texCoord": 0
+ },
+ "name": "body",
+ "normalTexture": {
+ "index": 6,
+ "scale": 1,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 4,
+ "strength": 1,
+ "texCoord": 0
+ },
+ "pbrMetallicRoughness": {
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "baseColorTexture": {
+ "index": 3,
+ "texCoord": 0
+ },
+ "metallicFactor": 1,
+ "metallicRoughnessTexture": {
+ "index": 4,
+ "texCoord": 0
+ },
+ "roughnessFactor": 1
+ }
+ },
+ {
+ "doubleSided": false,
+ "name": "material",
+ "normalTexture": {
+ "index": 9,
+ "scale": 1,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 8,
+ "strength": 1,
+ "texCoord": 0
+ },
+ "pbrMetallicRoughness": {
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "baseColorTexture": {
+ "index": 7,
+ "texCoord": 0
+ },
+ "metallicFactor": 1,
+ "metallicRoughnessTexture": {
+ "index": 8,
+ "texCoord": 0
+ },
+ "roughnessFactor": 1
+ },
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ],
+ "alphaMode": "OPAQUE"
+ }
+ ],
+ "meshes": [
+ {
+ "name": "Scheibe_Boden_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 205,
+ "POSITION": 206,
+ "TANGENT": 207,
+ "TEXCOORD_0": 208,
+ "TEXCOORD_1": 209
+ },
+ "indices": 204,
+ "material": 0,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 4,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Body_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 211,
+ "POSITION": 212,
+ "TANGENT": 213,
+ "TEXCOORD_0": 214,
+ "TEXCOORD_1": 215,
+ "TEXCOORD_2": 216,
+ "TEXCOORD_3": 217,
+ "TEXCOORD_4": 218
+ },
+ "indices": 210,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 5,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_leg_F_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 220,
+ "POSITION": 221,
+ "TANGENT": 222,
+ "TEXCOORD_0": 223,
+ "TEXCOORD_1": 224,
+ "TEXCOORD_2": 225,
+ "TEXCOORD_3": 226
+ },
+ "indices": 219,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 6,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P1_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 228,
+ "POSITION": 229,
+ "TANGENT": 230,
+ "TEXCOORD_0": 231,
+ "TEXCOORD_1": 232,
+ "TEXCOORD_2": 233,
+ "TEXCOORD_3": 234
+ },
+ "indices": 227,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 7,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P2_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 236,
+ "POSITION": 237,
+ "TANGENT": 238,
+ "TEXCOORD_0": 239,
+ "TEXCOORD_1": 240,
+ "TEXCOORD_2": 241,
+ "TEXCOORD_3": 242
+ },
+ "indices": 235,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 8,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P3_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 244,
+ "POSITION": 245,
+ "TANGENT": 246,
+ "TEXCOORD_0": 247,
+ "TEXCOORD_1": 248,
+ "TEXCOORD_2": 249,
+ "TEXCOORD_3": 250
+ },
+ "indices": 243,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 9,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P4_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 252,
+ "POSITION": 253,
+ "TANGENT": 254,
+ "TEXCOORD_0": 255,
+ "TEXCOORD_1": 256,
+ "TEXCOORD_2": 257,
+ "TEXCOORD_3": 258
+ },
+ "indices": 251,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 10,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P5_M_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 260,
+ "POSITION": 261,
+ "TANGENT": 262,
+ "TEXCOORD_0": 263,
+ "TEXCOORD_1": 264,
+ "TEXCOORD_2": 265,
+ "TEXCOORD_3": 266
+ },
+ "indices": 259,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 11,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P6_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 268,
+ "POSITION": 269,
+ "TANGENT": 270,
+ "TEXCOORD_0": 271,
+ "TEXCOORD_1": 272,
+ "TEXCOORD_2": 273,
+ "TEXCOORD_3": 274
+ },
+ "indices": 267,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 12,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "F_P7_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 276,
+ "POSITION": 277,
+ "TANGENT": 278,
+ "TEXCOORD_0": 279,
+ "TEXCOORD_1": 280,
+ "TEXCOORD_2": 281,
+ "TEXCOORD_3": 282
+ },
+ "indices": 275,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 13,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 284,
+ "POSITION": 285,
+ "TANGENT": 286,
+ "TEXCOORD_0": 287,
+ "TEXCOORD_1": 288,
+ "TEXCOORD_2": 289,
+ "TEXCOORD_3": 290,
+ "TEXCOORD_4": 291
+ },
+ "indices": 283,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 14,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Panel_R_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 293,
+ "POSITION": 294,
+ "TANGENT": 295,
+ "TEXCOORD_0": 296,
+ "TEXCOORD_1": 297,
+ "TEXCOORD_2": 298,
+ "TEXCOORD_3": 299,
+ "TEXCOORD_4": 300
+ },
+ "indices": 292,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 15,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_leg_R_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 302,
+ "POSITION": 303,
+ "TANGENT": 304,
+ "TEXCOORD_0": 305,
+ "TEXCOORD_1": 306,
+ "TEXCOORD_2": 307,
+ "TEXCOORD_3": 308
+ },
+ "indices": 301,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 16,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P1_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 310,
+ "POSITION": 311,
+ "TANGENT": 312,
+ "TEXCOORD_0": 313,
+ "TEXCOORD_1": 314,
+ "TEXCOORD_2": 315,
+ "TEXCOORD_3": 316
+ },
+ "indices": 309,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 17,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P2_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 318,
+ "POSITION": 319,
+ "TANGENT": 320,
+ "TEXCOORD_0": 321,
+ "TEXCOORD_1": 322,
+ "TEXCOORD_2": 323,
+ "TEXCOORD_3": 324
+ },
+ "indices": 317,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 18,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P3_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 326,
+ "POSITION": 327,
+ "TANGENT": 328,
+ "TEXCOORD_0": 329,
+ "TEXCOORD_1": 330,
+ "TEXCOORD_2": 331,
+ "TEXCOORD_3": 332
+ },
+ "indices": 325,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 19,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P4_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 334,
+ "POSITION": 335,
+ "TANGENT": 336,
+ "TEXCOORD_0": 337,
+ "TEXCOORD_1": 338,
+ "TEXCOORD_2": 339,
+ "TEXCOORD_3": 340
+ },
+ "indices": 333,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 20,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P5_M_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 342,
+ "POSITION": 343,
+ "TANGENT": 344,
+ "TEXCOORD_0": 345,
+ "TEXCOORD_1": 346,
+ "TEXCOORD_2": 347,
+ "TEXCOORD_3": 348
+ },
+ "indices": 341,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 21,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P6_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 350,
+ "POSITION": 351,
+ "TANGENT": 352,
+ "TEXCOORD_0": 353,
+ "TEXCOORD_1": 354,
+ "TEXCOORD_2": 355,
+ "TEXCOORD_3": 356
+ },
+ "indices": 349,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 22,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "R_P7_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 358,
+ "POSITION": 359,
+ "TANGENT": 360,
+ "TEXCOORD_0": 361,
+ "TEXCOORD_1": 362,
+ "TEXCOORD_2": 363,
+ "TEXCOORD_3": 364
+ },
+ "indices": 357,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 23,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Gen_L_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 366,
+ "POSITION": 367,
+ "TANGENT": 368,
+ "TEXCOORD_0": 369,
+ "TEXCOORD_1": 370,
+ "TEXCOORD_2": 371,
+ "TEXCOORD_3": 372,
+ "TEXCOORD_4": 373
+ },
+ "indices": 365,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 24,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Panel_L_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 375,
+ "POSITION": 376,
+ "TANGENT": 377,
+ "TEXCOORD_0": 378,
+ "TEXCOORD_1": 379,
+ "TEXCOORD_2": 380,
+ "TEXCOORD_3": 381,
+ "TEXCOORD_4": 382
+ },
+ "indices": 374,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 25,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_leg_L_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 384,
+ "POSITION": 385,
+ "TANGENT": 386,
+ "TEXCOORD_0": 387,
+ "TEXCOORD_1": 388,
+ "TEXCOORD_2": 389,
+ "TEXCOORD_3": 390
+ },
+ "indices": 383,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 26,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P1_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 392,
+ "POSITION": 393,
+ "TANGENT": 394,
+ "TEXCOORD_0": 395,
+ "TEXCOORD_1": 396,
+ "TEXCOORD_2": 397,
+ "TEXCOORD_3": 398
+ },
+ "indices": 391,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 27,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P2_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 400,
+ "POSITION": 401,
+ "TANGENT": 402,
+ "TEXCOORD_0": 403,
+ "TEXCOORD_1": 404,
+ "TEXCOORD_2": 405,
+ "TEXCOORD_3": 406
+ },
+ "indices": 399,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 28,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P3_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 408,
+ "POSITION": 409,
+ "TANGENT": 410,
+ "TEXCOORD_0": 411,
+ "TEXCOORD_1": 412,
+ "TEXCOORD_2": 413,
+ "TEXCOORD_3": 414
+ },
+ "indices": 407,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 29,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P4_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 416,
+ "POSITION": 417,
+ "TANGENT": 418,
+ "TEXCOORD_0": 419,
+ "TEXCOORD_1": 420,
+ "TEXCOORD_2": 421,
+ "TEXCOORD_3": 422
+ },
+ "indices": 415,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 30,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P5_M_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 424,
+ "POSITION": 425,
+ "TANGENT": 426,
+ "TEXCOORD_0": 427,
+ "TEXCOORD_1": 428,
+ "TEXCOORD_2": 429,
+ "TEXCOORD_3": 430
+ },
+ "indices": 423,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 31,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P6_G_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 432,
+ "POSITION": 433,
+ "TANGENT": 434,
+ "TEXCOORD_0": 435,
+ "TEXCOORD_1": 436,
+ "TEXCOORD_2": 437,
+ "TEXCOORD_3": 438
+ },
+ "indices": 431,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 32,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "L_P7_leg_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 440,
+ "POSITION": 441,
+ "TANGENT": 442,
+ "TEXCOORD_0": 443,
+ "TEXCOORD_1": 444,
+ "TEXCOORD_2": 445,
+ "TEXCOORD_3": 446
+ },
+ "indices": 439,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 33,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_UPanel_R_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 448,
+ "POSITION": 449,
+ "TANGENT": 450,
+ "TEXCOORD_0": 451,
+ "TEXCOORD_1": 452,
+ "TEXCOORD_2": 453,
+ "TEXCOORD_3": 454,
+ "TEXCOORD_4": 455
+ },
+ "indices": 447,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 34,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_UPanel_L_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 457,
+ "POSITION": 458,
+ "TANGENT": 459,
+ "TEXCOORD_0": 460,
+ "TEXCOORD_1": 461,
+ "TEXCOORD_2": 462,
+ "TEXCOORD_3": 463,
+ "TEXCOORD_4": 464
+ },
+ "indices": 456,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 35,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_UPart_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 466,
+ "POSITION": 467,
+ "TANGENT": 468,
+ "TEXCOORD_0": 469,
+ "TEXCOORD_1": 470,
+ "TEXCOORD_2": 471,
+ "TEXCOORD_3": 472,
+ "TEXCOORD_4": 473
+ },
+ "indices": 465,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 36,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_ILens_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 475,
+ "POSITION": 476,
+ "TANGENT": 477,
+ "TEXCOORD_0": 478,
+ "TEXCOORD_1": 479,
+ "TEXCOORD_2": 480,
+ "TEXCOORD_3": 481,
+ "TEXCOORD_4": 482
+ },
+ "indices": 474,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 37,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "1",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 484,
+ "POSITION": 485,
+ "TANGENT": 486,
+ "TEXCOORD_0": 487,
+ "TEXCOORD_1": 488,
+ "TEXCOORD_2": 489,
+ "TEXCOORD_3": 490,
+ "TEXCOORD_4": 491
+ },
+ "indices": 483,
+ "material": 1,
+ "mode": 4,
+ "targets": [
+ {
+ "NORMAL": 1,
+ "POSITION": 0
+ },
+ {
+ "NORMAL": 3,
+ "POSITION": 2
+ }
+ ],
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 38,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ],
+ "weights": [
+ 0,
+ 0
+ ]
+ },
+ {
+ "name": "Drone_Turb_M_L_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 493,
+ "POSITION": 494,
+ "TANGENT": 495,
+ "TEXCOORD_0": 496,
+ "TEXCOORD_1": 497,
+ "TEXCOORD_2": 498,
+ "TEXCOORD_3": 499,
+ "TEXCOORD_4": 500
+ },
+ "indices": 492,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 39,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Turb_Blade_L_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 502,
+ "POSITION": 503,
+ "TANGENT": 504,
+ "TEXCOORD_0": 505,
+ "TEXCOORD_1": 506,
+ "TEXCOORD_2": 507,
+ "TEXCOORD_3": 508,
+ "TEXCOORD_4": 509
+ },
+ "indices": 501,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 40,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Turb_M_R_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 511,
+ "POSITION": 512,
+ "TANGENT": 513,
+ "TEXCOORD_0": 514,
+ "TEXCOORD_1": 515,
+ "TEXCOORD_2": 516,
+ "TEXCOORD_3": 517,
+ "TEXCOORD_4": 518
+ },
+ "indices": 510,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 41,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "Drone_Turb_Blade_R_body_0",
+ "primitives": [
+ {
+ "attributes": {
+ "NORMAL": 520,
+ "POSITION": 521,
+ "TANGENT": 522,
+ "TEXCOORD_0": 523,
+ "TEXCOORD_1": 524,
+ "TEXCOORD_2": 525,
+ "TEXCOORD_3": 526,
+ "TEXCOORD_4": 527
+ },
+ "indices": 519,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 42,
+ "attributes": {
+ "NORMAL": 0,
+ "POSITION": 1,
+ "TANGENT": 2,
+ "TEXCOORD_0": 3,
+ "TEXCOORD_1": 4,
+ "TEXCOORD_2": 5,
+ "TEXCOORD_3": 6,
+ "TEXCOORD_4": 7
+ }
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "nodes": [
+ {
+ "children": [
+ 1
+ ],
+ "name": "RootNode (gltf orientation matrix)",
+ "rotation": [
+ -0.7071067811865475,
+ 0,
+ 0,
+ 0.7071067811865476
+ ],
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 2
+ ],
+ "name": "RootNode (model correction matrix)"
+ },
+ {
+ "children": [
+ 3
+ ],
+ "matrix": [
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ -1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "name": "BusterDrone.fbx"
+ },
+ {
+ "children": [
+ 4
+ ],
+ "name": ""
+ },
+ {
+ "children": [
+ 5,
+ 9
+ ],
+ "name": "RootNode"
+ },
+ {
+ "children": [
+ 6,
+ 8
+ ],
+ "name": "Env"
+ },
+ {
+ "children": [
+ 7
+ ],
+ "name": "Scheibe",
+ "rotation": [
+ 0.5,
+ 0.5,
+ -0.5,
+ 0.5
+ ],
+ "translation": [
+ 0,
+ -99,
+ 6.1232337864698064e-15
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 0,
+ "name": "Scheibe_Boden_0"
+ },
+ {
+ "name": "Himmel"
+ },
+ {
+ "children": [
+ 10,
+ 13
+ ],
+ "name": "Drone_Controller",
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 11,
+ 12
+ ],
+ "name": "Turbine_Controller",
+ "translation": [
+ 0,
+ -100,
+ -5
+ ],
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "name": "Turbine_R",
+ "rotation": [
+ 0.7071068286895752,
+ 0,
+ 0,
+ 0.7071068286895752
+ ],
+ "translation": [
+ 12.244799613952637,
+ 0,
+ -1.0070199966430664
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "name": "Turbine_L",
+ "rotation": [
+ 0.7071068286895752,
+ 0,
+ 0,
+ 0.7071068286895752
+ ],
+ "translation": [
+ -12.244799613952637,
+ 0,
+ -1.0070199966430664
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 14,
+ 16
+ ],
+ "name": "U_MassPoint",
+ "rotation": [
+ 0.6133379936218262,
+ 0,
+ 0,
+ 0.789820671081543
+ ],
+ "translation": [
+ 0,
+ 0.11856790632009506,
+ -12.910046577453613
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 15
+ ],
+ "name": "Eye_Controller",
+ "rotation": [
+ 0.017331130802631378,
+ 0,
+ 0,
+ 0.9998499155044556
+ ],
+ "translation": [
+ 0,
+ 143.0728759765625,
+ 58.6367301940918
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "name": "Eye_Pupil",
+ "rotation": [
+ -0.7071068286895752,
+ 0,
+ 0,
+ 0.7071068286895752
+ ],
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 17
+ ],
+ "name": "D_MassPoint",
+ "translation": [
+ 0,
+ -1.7763568394002505e-15,
+ 77.5
+ ],
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 18,
+ 19,
+ 35,
+ 55,
+ 75,
+ 77,
+ 79,
+ 81,
+ 85,
+ 89
+ ],
+ "name": "Drone_Body",
+ "rotation": [
+ -0.7071068286895752,
+ 0,
+ 0,
+ 0.7071068286895752
+ ],
+ "translation": [
+ 0,
+ 0,
+ -37.5
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 1,
+ "name": "Drone_Body_body_0"
+ },
+ {
+ "children": [
+ 20,
+ 21
+ ],
+ "name": "Drone_leg_F",
+ "translation": [
+ 0,
+ -38.68080139160156,
+ 20.01194953918457
+ ],
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 2,
+ "name": "Drone_leg_F_leg_0"
+ },
+ {
+ "children": [
+ 22,
+ 23
+ ],
+ "name": "F_P1_G",
+ "rotation": [
+ -9.472242394202753e-15,
+ 0.7071065902709961,
+ 9.472236464972122e-15,
+ 0.7071070075035095
+ ],
+ "translation": [
+ 0.006630018353462219,
+ -5.510501384735107,
+ -0.09275053441524506
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 3,
+ "name": "F_P1_G_leg_0"
+ },
+ {
+ "children": [
+ 24,
+ 25
+ ],
+ "name": "F_P2",
+ "rotation": [
+ 0.4777144193649292,
+ 0.5213338136672974,
+ -0.4777144193649292,
+ 0.5213338136672974
+ ],
+ "translation": [
+ 0,
+ -0.00004080753933521919,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 4,
+ "name": "F_P2_leg_0"
+ },
+ {
+ "children": [
+ 26,
+ 27
+ ],
+ "name": "F_P3_G",
+ "rotation": [
+ -1.5265570559062843e-16,
+ -4.1108839354819793e-7,
+ -8.700754859676185e-17,
+ 1
+ ],
+ "translation": [
+ 0.00007688588812015951,
+ -22.9158935546875,
+ 0.02676698938012123
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 5,
+ "name": "F_P3_G_leg_0"
+ },
+ {
+ "children": [
+ 28,
+ 29
+ ],
+ "name": "F_P4",
+ "rotation": [
+ 4.003213763390976e-16,
+ -0.5735764503479004,
+ 0.8191520571708679,
+ -6.550924359051687e-17
+ ],
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 6,
+ "name": "F_P4_leg_0"
+ },
+ {
+ "children": [
+ 30,
+ 31
+ ],
+ "name": "F_P5_M",
+ "rotation": [
+ 1.3877787807814457e-17,
+ -5.293955920339377e-23,
+ -9.926167350636332e-23,
+ 1
+ ],
+ "translation": [
+ -0.01574668288230896,
+ -11.282759666442871,
+ 0.081717349588871
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 7,
+ "name": "F_P5_M_leg_0"
+ },
+ {
+ "children": [
+ 32,
+ 33
+ ],
+ "name": "F_P6_G",
+ "rotation": [
+ -2.7755575615628914e-17,
+ -2.74964495616814e-10,
+ 7.940170894241536e-23,
+ 1
+ ],
+ "translation": [
+ 0.005422236397862434,
+ -9.326162338256836,
+ -0.08217942714691162
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 8,
+ "name": "F_P6_G_leg_0"
+ },
+ {
+ "children": [
+ 34
+ ],
+ "name": "F_P7",
+ "rotation": [
+ 0.5891698598861694,
+ -5.057324785588213e-23,
+ 2.0496480651152692e-23,
+ 0.8080092072486877
+ ],
+ "translation": [
+ 4.336808689942018e-19,
+ 0.00003388613185961731,
+ 0.000014036095308256336
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 9,
+ "name": "F_P7_leg_0"
+ },
+ {
+ "children": [
+ 36,
+ 37
+ ],
+ "name": "Drone_Gen_R",
+ "rotation": [
+ 0.1889660805463791,
+ -0.6813896298408508,
+ 0.1889660656452179,
+ 0.6813896298408508
+ ],
+ "translation": [
+ -26.78019905090332,
+ -31.10906982421875,
+ -0.748199999332428
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 10,
+ "name": "0"
+ },
+ {
+ "children": [
+ 38,
+ 39
+ ],
+ "name": "Drone_Panel_R",
+ "rotation": [
+ -2.0816678402999235e-17,
+ 2.62250594573743e-8,
+ -1.249000902703301e-16,
+ 1
+ ],
+ "translation": [
+ 0.6785002946853638,
+ -0.37506112456321716,
+ 4.957866191864014
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 11,
+ "name": "Drone_Panel_R_body_0"
+ },
+ {
+ "children": [
+ 40,
+ 41
+ ],
+ "name": "Drone_leg_R",
+ "rotation": [
+ -0.41061899065971375,
+ 0.575666606426239,
+ -0.41061899065971375,
+ 0.575666606426239
+ ],
+ "translation": [
+ -12.886950492858887,
+ -9.610799789428711,
+ -0.729290246963501
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 12,
+ "name": "Drone_leg_R_leg_0"
+ },
+ {
+ "children": [
+ 42,
+ 43
+ ],
+ "name": "R_P1_G",
+ "rotation": [
+ -2.6943811002715914e-16,
+ 0.7933533787727356,
+ 4.189390215534042e-17,
+ 0.6087614297866821
+ ],
+ "translation": [
+ 2.4154791831970215,
+ -4.842290878295898,
+ -0.006652138661593199
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 13,
+ "name": "R_P1_G_leg_0"
+ },
+ {
+ "children": [
+ 44,
+ 45
+ ],
+ "name": "R_P2",
+ "rotation": [
+ 0.6187881827354431,
+ 7.332807899516821e-17,
+ 4.8236011717070243e-17,
+ 0.7855579257011414
+ ],
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 14,
+ "name": "R_P2_leg_0"
+ },
+ {
+ "children": [
+ 46,
+ 47
+ ],
+ "name": "R_P3_G",
+ "rotation": [
+ 3.5041414214731503e-16,
+ 2.7755575615628914e-17,
+ 1.3877787807814457e-16,
+ 1
+ ],
+ "translation": [
+ 0.002689761109650135,
+ -22.916383743286133,
+ 0.02693275175988674
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 15,
+ "name": "R_P3_G_leg_0"
+ },
+ {
+ "children": [
+ 48,
+ 49
+ ],
+ "name": "R_P4",
+ "rotation": [
+ 4.0562085120848394e-17,
+ -0.6030816435813904,
+ 0.7976794838905334,
+ 1.0742985044475295e-16
+ ],
+ "translation": [
+ 0.004904936067759991,
+ 0.0029711532406508923,
+ -0.0014322279021143913
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 16,
+ "name": "R_P4_leg_0"
+ },
+ {
+ "children": [
+ 50,
+ 51
+ ],
+ "name": "R_P5_M",
+ "rotation": [
+ 0.0000031865668006503256,
+ -1.3877721633365453e-17,
+ 2.0816726379474763e-17,
+ 1
+ ],
+ "translation": [
+ 0.010783359408378601,
+ -11.28590202331543,
+ 0.08223113417625427
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 17,
+ "name": "R_P5_M_leg_0"
+ },
+ {
+ "children": [
+ 52,
+ 53
+ ],
+ "name": "R_P6_G",
+ "rotation": [
+ -7.45931094670027e-17,
+ 0,
+ 0,
+ 1
+ ],
+ "translation": [
+ -0.005793713964521885,
+ -9.326017379760742,
+ -0.08199705928564072
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 18,
+ "name": "R_P6_G_leg_0"
+ },
+ {
+ "children": [
+ 54
+ ],
+ "name": "R_P7",
+ "rotation": [
+ 0.6483271718025208,
+ 3.472374165980341e-9,
+ -4.330498626359258e-8,
+ 0.7613618969917297
+ ],
+ "translation": [
+ -1.1546319456101628e-13,
+ -0.000002192010470025707,
+ -9.079604410544562e-7
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 19,
+ "name": "R_P7_leg_0"
+ },
+ {
+ "children": [
+ 56,
+ 57
+ ],
+ "name": "Drone_Gen_L",
+ "rotation": [
+ 0.1889660805463791,
+ 0.6813896298408508,
+ -0.1889660656452179,
+ 0.6813896298408508
+ ],
+ "translation": [
+ 26.78019905090332,
+ -31.10906982421875,
+ -0.748199999332428
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 20,
+ "name": "Drone_Gen_L_body_0"
+ },
+ {
+ "children": [
+ 58,
+ 59
+ ],
+ "name": "Drone_Panel_L",
+ "rotation": [
+ 0.0002122838923241943,
+ 2.747205307684908e-8,
+ -5.831957746588179e-12,
+ 1
+ ],
+ "translation": [
+ -0.6784976124763489,
+ -0.37716609239578247,
+ 4.957706451416016
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 21,
+ "name": "Drone_Panel_L_body_0"
+ },
+ {
+ "children": [
+ 60,
+ 61
+ ],
+ "name": "Drone_leg_L",
+ "rotation": [
+ -0.41061896085739136,
+ -0.575666606426239,
+ 0.41061902046203613,
+ 0.575666606426239
+ ],
+ "translation": [
+ 12.88695240020752,
+ -9.610796928405762,
+ -0.7292901277542114
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 22,
+ "name": "Drone_leg_L_leg_0"
+ },
+ {
+ "children": [
+ 62,
+ 63
+ ],
+ "name": "L_P1_G",
+ "rotation": [
+ 3.7478338591893966e-16,
+ -0.7613461017608643,
+ 5.642599445989575e-16,
+ 0.6483456492424011
+ ],
+ "translation": [
+ -2.415479898452759,
+ -4.84229040145874,
+ -0.006640426814556122
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 23,
+ "name": "L_P1_G_leg_0"
+ },
+ {
+ "children": [
+ 64,
+ 65
+ ],
+ "name": "L_P2",
+ "rotation": [
+ 0.5984764695167542,
+ -4.839795300149281e-18,
+ -1.0031977647616155e-16,
+ 0.8011403679847717
+ ],
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 24,
+ "name": "L_P2_leg_0"
+ },
+ {
+ "children": [
+ 66,
+ 67
+ ],
+ "name": "L_P3_G",
+ "rotation": [
+ -1.708702623837155e-16,
+ 1.3877787807814457e-17,
+ -8.326672684688674e-17,
+ 1
+ ],
+ "translation": [
+ 0.0002644560590852052,
+ -22.915939331054688,
+ 0.026753252372145653
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 25,
+ "name": "L_P3_G_leg_0"
+ },
+ {
+ "children": [
+ 68,
+ 69
+ ],
+ "name": "L_P4",
+ "rotation": [
+ 3.0627252226114957e-17,
+ -0.6686968803405762,
+ 0.7435351014137268,
+ -5.480842821366953e-17
+ ],
+ "translation": [
+ -0.004460121039301157,
+ 0.000007818744961696211,
+ 0.00005186478665564209
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 26,
+ "name": "L_P4_leg_0"
+ },
+ {
+ "children": [
+ 70,
+ 71
+ ],
+ "name": "L_P5_M",
+ "rotation": [
+ 0.00001270258508156985,
+ 0.000003925847977370722,
+ -0.010920973494648933,
+ 0.9999404549598694
+ ],
+ "translation": [
+ 0.05688011273741722,
+ -11.236658096313477,
+ 0.08181961625814438
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 27,
+ "name": "L_P5_M_leg_0"
+ },
+ {
+ "children": [
+ 72,
+ 73
+ ],
+ "name": "L_P6_G",
+ "rotation": [
+ -7.632783294297951e-17,
+ -7.632783294297951e-17,
+ 5.551115123125783e-17,
+ 1
+ ],
+ "translation": [
+ 0.14344365894794464,
+ -9.371054649353027,
+ -0.08199699968099594
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 28,
+ "name": "L_P6_G_leg_0"
+ },
+ {
+ "children": [
+ 74
+ ],
+ "name": "L_P7",
+ "rotation": [
+ 0.7071068286895752,
+ 5.3971933547419153e-17,
+ 4.906539263005266e-18,
+ 0.7071068286895752
+ ],
+ "translation": [
+ 0.01226816326379776,
+ 0.00024394220963586122,
+ 0.0002562310837674886
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 29,
+ "name": "L_P7_leg_0"
+ },
+ {
+ "children": [
+ 76
+ ],
+ "name": "Drone_UPanel_R",
+ "rotation": [
+ 0.09390989691019058,
+ -0.7008430361747742,
+ 0.09390989691019058,
+ 0.700843095779419
+ ],
+ "translation": [
+ -28.345199584960938,
+ -10.20475959777832,
+ 0.14466851949691772
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 30,
+ "name": "Drone_UPanel_R_body_0"
+ },
+ {
+ "children": [
+ 78
+ ],
+ "name": "Drone_UPanel_L",
+ "rotation": [
+ 0.09390989691019058,
+ 0.7008430361747742,
+ -0.09390989691019058,
+ 0.700843095779419
+ ],
+ "translation": [
+ 28.230527877807617,
+ -11.228233337402344,
+ -0.07694999873638153
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 31,
+ "name": "Drone_UPanel_L_body_0"
+ },
+ {
+ "children": [
+ 80
+ ],
+ "name": "Drone_UPart",
+ "translation": [
+ 0,
+ 38.9765510559082,
+ -3.073050022125244
+ ],
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 32,
+ "name": "Drone_UPart_body_0"
+ },
+ {
+ "children": [
+ 82,
+ 83
+ ],
+ "name": "Drone_ILens",
+ "translation": [
+ 0,
+ -14.965813636779785,
+ 41.50516891479492
+ ],
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 33,
+ "name": "Drone_ILens_body_0"
+ },
+ {
+ "children": [
+ 84
+ ],
+ "name": "Drone_IEye",
+ "rotation": [
+ 0.0007836852455511689,
+ 0.9981203675270081,
+ -0.013049819506704807,
+ 0.0598752461373806
+ ],
+ "translation": [
+ 0,
+ -0.018226023763418198,
+ -8.908537864685059
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 34,
+ "name": "1"
+ },
+ {
+ "children": [
+ 86,
+ 87
+ ],
+ "name": "Drone_Turb_M_L",
+ "rotation": [
+ 0.5779998302459717,
+ -0.4667881727218628,
+ -0.5311384797096252,
+ -0.40732908248901367
+ ],
+ "translation": [
+ 19.973400115966797,
+ 24.55685043334961,
+ -6.007046699523926
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 35,
+ "name": "Drone_Turb_M_L_body_0"
+ },
+ {
+ "children": [
+ 88
+ ],
+ "name": "Drone_Turb_Blade_L",
+ "rotation": [
+ 0.40862560272216797,
+ 0.5128536224365234,
+ 0.6914904713630676,
+ 0.30306294560432434
+ ],
+ "translation": [
+ -0.000021889296476729214,
+ -36.155147552490234,
+ -10.966755867004395
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 36,
+ "name": "Drone_Turb_Blade_L_body_0"
+ },
+ {
+ "children": [
+ 90,
+ 91
+ ],
+ "name": "Drone_Turb_M_R",
+ "rotation": [
+ 0.5797019600868225,
+ 0.46958616375923157,
+ 0.5286666750907898,
+ -0.40490248799324036
+ ],
+ "translation": [
+ -19.973400115966797,
+ 24.556848526000977,
+ -6.007049560546875
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 37,
+ "name": "Drone_Turb_M_R_body_0"
+ },
+ {
+ "children": [
+ 92
+ ],
+ "name": "Drone_Turb_Blade_R",
+ "rotation": [
+ -0.4086257517337799,
+ 0.512853741645813,
+ 0.6914904713630676,
+ -0.30306291580200195
+ ],
+ "translation": [
+ 0.000051651491958182305,
+ -36.1551513671875,
+ -10.966744422912598
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 38,
+ "name": "Drone_Turb_Blade_R_body_0"
+ }
+ ],
+ "samplers": [
+ {
+ "magFilter": 9729,
+ "minFilter": 9987,
+ "wrapS": 10497,
+ "wrapT": 10497
+ }
+ ],
+ "scene": 0,
+ "scenes": [
+ {
+ "name": "OSG_Scene",
+ "nodes": [
+ 0
+ ]
+ }
+ ],
+ "textures": [
+ {
+ "sampler": 0,
+ "source": 0
+ },
+ {
+ "sampler": 0,
+ "source": 1
+ },
+ {
+ "sampler": 0,
+ "source": 2
+ },
+ {
+ "sampler": 0,
+ "source": 3
+ },
+ {
+ "sampler": 0,
+ "source": 4
+ },
+ {
+ "sampler": 0,
+ "source": 5
+ },
+ {
+ "sampler": 0,
+ "source": 6
+ },
+ {
+ "sampler": 0,
+ "source": 7
+ },
+ {
+ "sampler": 0,
+ "source": 8
+ },
+ {
+ "sampler": 0,
+ "source": 9
+ }
+ ],
+ "extensionsRequired": [
+ "KHR_draco_mesh_compression"
+ ],
+ "extensionsUsed": [
+ "KHR_draco_mesh_compression"
+ ]
+}
diff --git a/examples/assets/BusterDrone/textures/Boden_baseColor.jpg b/examples/assets/BusterDrone/textures/Boden_baseColor.jpg
new file mode 100644
index 00000000..a0b817b7
Binary files /dev/null and b/examples/assets/BusterDrone/textures/Boden_baseColor.jpg differ
diff --git a/examples/assets/BusterDrone/textures/Boden_metallicRoughness.jpg b/examples/assets/BusterDrone/textures/Boden_metallicRoughness.jpg
new file mode 100644
index 00000000..16af5ced
Binary files /dev/null and b/examples/assets/BusterDrone/textures/Boden_metallicRoughness.jpg differ
diff --git a/examples/assets/BusterDrone/textures/Boden_normal.jpg b/examples/assets/BusterDrone/textures/Boden_normal.jpg
new file mode 100644
index 00000000..16ac42fb
Binary files /dev/null and b/examples/assets/BusterDrone/textures/Boden_normal.jpg differ
diff --git a/examples/assets/BusterDrone/textures/body_baseColor.jpg b/examples/assets/BusterDrone/textures/body_baseColor.jpg
new file mode 100644
index 00000000..338fa643
Binary files /dev/null and b/examples/assets/BusterDrone/textures/body_baseColor.jpg differ
diff --git a/examples/assets/BusterDrone/textures/body_emissive.jpg b/examples/assets/BusterDrone/textures/body_emissive.jpg
new file mode 100644
index 00000000..db3e51b9
Binary files /dev/null and b/examples/assets/BusterDrone/textures/body_emissive.jpg differ
diff --git a/examples/assets/BusterDrone/textures/body_metallicRoughness.jpg b/examples/assets/BusterDrone/textures/body_metallicRoughness.jpg
new file mode 100644
index 00000000..93b51013
Binary files /dev/null and b/examples/assets/BusterDrone/textures/body_metallicRoughness.jpg differ
diff --git a/examples/assets/BusterDrone/textures/body_normal.jpg b/examples/assets/BusterDrone/textures/body_normal.jpg
new file mode 100644
index 00000000..28e0583b
Binary files /dev/null and b/examples/assets/BusterDrone/textures/body_normal.jpg differ
diff --git a/examples/assets/BusterDrone/textures/material_baseColor.jpg b/examples/assets/BusterDrone/textures/material_baseColor.jpg
new file mode 100644
index 00000000..154cb5b1
Binary files /dev/null and b/examples/assets/BusterDrone/textures/material_baseColor.jpg differ
diff --git a/examples/assets/BusterDrone/textures/material_metallicRoughness.jpg b/examples/assets/BusterDrone/textures/material_metallicRoughness.jpg
new file mode 100644
index 00000000..5f539354
Binary files /dev/null and b/examples/assets/BusterDrone/textures/material_metallicRoughness.jpg differ
diff --git a/examples/assets/BusterDrone/textures/material_normal.jpg b/examples/assets/BusterDrone/textures/material_normal.jpg
new file mode 100644
index 00000000..a1f52c14
Binary files /dev/null and b/examples/assets/BusterDrone/textures/material_normal.jpg differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet.bin b/examples/assets/FlightHelmet/FlightHelmet.bin
new file mode 100644
index 00000000..a8b48147
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet.bin differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet.gltf b/examples/assets/FlightHelmet/FlightHelmet.gltf
new file mode 100644
index 00000000..74a92ecd
--- /dev/null
+++ b/examples/assets/FlightHelmet/FlightHelmet.gltf
@@ -0,0 +1,755 @@
+{
+ "accessors": [
+ {
+ "componentType": 5123,
+ "count": 24408,
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 8468,
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 8468,
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 8468,
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 8468,
+ "type": "VEC3",
+ "max": [
+ 0.131662,
+ 0.137638986,
+ 0.10078799
+ ],
+ "min": [
+ -0.131333,
+ -0.028128,
+ -0.137763992
+ ]
+ },
+ {
+ "componentType": 5123,
+ "count": 65688,
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 12552,
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 12552,
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 12552,
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 12552,
+ "type": "VEC3",
+ "max": [
+ 0.11722149,
+ 0.196387976,
+ 0.132422984
+ ],
+ "min": [
+ -0.11722149,
+ -0.196387976,
+ -0.132422984
+ ]
+ },
+ {
+ "componentType": 5123,
+ "count": 2208,
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 436,
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 436,
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 436,
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 436,
+ "type": "VEC3",
+ "max": [
+ 0.09527509,
+ 0.114654,
+ -0.08429489
+ ],
+ "min": [
+ -0.0952748954,
+ 0.0551489964,
+ -0.14295499
+ ]
+ },
+ {
+ "componentType": 5123,
+ "count": 60288,
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 17186,
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 17186,
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 17186,
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 17186,
+ "type": "VEC3",
+ "max": [
+ 0.1572095,
+ 0.2716865,
+ 0.162181988
+ ],
+ "min": [
+ -0.1572095,
+ -0.2716865,
+ -0.162181988
+ ]
+ },
+ {
+ "componentType": 5123,
+ "count": 131574,
+ "type": "SCALAR"
+ },
+ {
+ "componentType": 5126,
+ "count": 24148,
+ "type": "VEC2"
+ },
+ {
+ "componentType": 5126,
+ "count": 24148,
+ "type": "VEC3"
+ },
+ {
+ "componentType": 5126,
+ "count": 24148,
+ "type": "VEC4"
+ },
+ {
+ "componentType": 5126,
+ "count": 24148,
+ "type": "VEC3",
+ "max": [
+ 0.1504075,
+ 0.328366965,
+ 0.173673
+ ],
+ "min": [
+ -0.1504075,
+ -0.328366965,
+ -0.173673
+ ]
+ }
+ ],
+ "asset": {
+ "generator": "glTF Tools for Unity",
+ "version": "2.0"
+ },
+ "bufferViews": [
+ {
+ "buffer": 0,
+ "byteOffset": 0,
+ "byteLength": 59806
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 59808,
+ "byteLength": 99674
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 159484,
+ "byteLength": 4875
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 164360,
+ "byteLength": 133545
+ },
+ {
+ "buffer": 0,
+ "byteOffset": 297908,
+ "byteLength": 203914
+ }
+ ],
+ "buffers": [
+ {
+ "name": "FlightHelmet",
+ "byteLength": 501824,
+ "uri": "FlightHelmet.bin"
+ }
+ ],
+ "images": [
+ {
+ "name": "FlightHelmet_baseColor",
+ "uri": "FlightHelmet_baseColor.png"
+ },
+ {
+ "name": "FlightHelmet_occlusionRoughnessMetallic",
+ "uri": "FlightHelmet_occlusionRoughnessMetallic.png"
+ },
+ {
+ "name": "FlightHelmet_normal",
+ "uri": "FlightHelmet_normal.png"
+ },
+ {
+ "name": "FlightHelmet_baseColor1",
+ "uri": "FlightHelmet_baseColor1.png"
+ },
+ {
+ "name": "FlightHelmet_occlusionRoughnessMetallic1",
+ "uri": "FlightHelmet_occlusionRoughnessMetallic1.png"
+ },
+ {
+ "name": "FlightHelmet_normal1",
+ "uri": "FlightHelmet_normal1.png"
+ },
+ {
+ "name": "FlightHelmet_baseColor2",
+ "uri": "FlightHelmet_baseColor2.png"
+ },
+ {
+ "name": "FlightHelmet_occlusionRoughnessMetallic2",
+ "uri": "FlightHelmet_occlusionRoughnessMetallic2.png"
+ },
+ {
+ "name": "FlightHelmet_normal2",
+ "uri": "FlightHelmet_normal2.png"
+ },
+ {
+ "name": "FlightHelmet_baseColor3",
+ "uri": "FlightHelmet_baseColor3.png"
+ },
+ {
+ "name": "FlightHelmet_occlusionRoughnessMetallic3",
+ "uri": "FlightHelmet_occlusionRoughnessMetallic3.png"
+ },
+ {
+ "name": "FlightHelmet_normal3",
+ "uri": "FlightHelmet_normal3.png"
+ },
+ {
+ "name": "FlightHelmet_baseColor4",
+ "uri": "FlightHelmet_baseColor4.png"
+ },
+ {
+ "name": "FlightHelmet_occlusionRoughnessMetallic4",
+ "uri": "FlightHelmet_occlusionRoughnessMetallic4.png"
+ },
+ {
+ "name": "FlightHelmet_normal4",
+ "uri": "FlightHelmet_normal4.png"
+ }
+ ],
+ "meshes": [
+ {
+ "primitives": [
+ {
+ "attributes": {
+ "TEXCOORD_0": 1,
+ "NORMAL": 2,
+ "TANGENT": 3,
+ "POSITION": 4
+ },
+ "indices": 0,
+ "material": 0,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 0,
+ "attributes": {
+ "TEXCOORD_0": 0,
+ "NORMAL": 1,
+ "TANGENT": 2,
+ "POSITION": 3
+ }
+ }
+ }
+ }
+ ],
+ "name": "GlassPlastic_low"
+ },
+ {
+ "primitives": [
+ {
+ "attributes": {
+ "TEXCOORD_0": 6,
+ "NORMAL": 7,
+ "TANGENT": 8,
+ "POSITION": 9
+ },
+ "indices": 5,
+ "material": 1,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 1,
+ "attributes": {
+ "TEXCOORD_0": 0,
+ "NORMAL": 1,
+ "TANGENT": 2,
+ "POSITION": 3
+ }
+ }
+ }
+ }
+ ],
+ "name": "LeatherParts_low"
+ },
+ {
+ "primitives": [
+ {
+ "attributes": {
+ "TEXCOORD_0": 11,
+ "NORMAL": 12,
+ "TANGENT": 13,
+ "POSITION": 14
+ },
+ "indices": 10,
+ "material": 2,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 2,
+ "attributes": {
+ "TEXCOORD_0": 0,
+ "NORMAL": 1,
+ "TANGENT": 2,
+ "POSITION": 3
+ }
+ }
+ }
+ }
+ ],
+ "name": "Lenses_low"
+ },
+ {
+ "primitives": [
+ {
+ "attributes": {
+ "TEXCOORD_0": 16,
+ "NORMAL": 17,
+ "TANGENT": 18,
+ "POSITION": 19
+ },
+ "indices": 15,
+ "material": 3,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 3,
+ "attributes": {
+ "TEXCOORD_0": 0,
+ "NORMAL": 1,
+ "TANGENT": 2,
+ "POSITION": 3
+ }
+ }
+ }
+ }
+ ],
+ "name": "MetalParts_low"
+ },
+ {
+ "primitives": [
+ {
+ "attributes": {
+ "TEXCOORD_0": 21,
+ "NORMAL": 22,
+ "TANGENT": 23,
+ "POSITION": 24
+ },
+ "indices": 20,
+ "material": 4,
+ "mode": 4,
+ "extensions": {
+ "KHR_draco_mesh_compression": {
+ "bufferView": 4,
+ "attributes": {
+ "TEXCOORD_0": 0,
+ "NORMAL": 1,
+ "TANGENT": 2,
+ "POSITION": 3
+ }
+ }
+ }
+ }
+ ],
+ "name": "RubberWood_low"
+ }
+ ],
+ "materials": [
+ {
+ "pbrMetallicRoughness": {
+ "baseColorTexture": {
+ "index": 0,
+ "texCoord": 0
+ },
+ "metallicRoughnessTexture": {
+ "index": 1,
+ "texCoord": 0
+ },
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "metallicFactor": 1,
+ "roughnessFactor": 1
+ },
+ "normalTexture": {
+ "index": 2,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 1,
+ "texCoord": 0
+ },
+ "name": "GlassPlasticMat",
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ],
+ "alphaMode": "OPAQUE",
+ "doubleSided": false
+ },
+ {
+ "pbrMetallicRoughness": {
+ "baseColorTexture": {
+ "index": 3,
+ "texCoord": 0
+ },
+ "metallicRoughnessTexture": {
+ "index": 4,
+ "texCoord": 0
+ },
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "metallicFactor": 1,
+ "roughnessFactor": 1
+ },
+ "normalTexture": {
+ "index": 5,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 4,
+ "texCoord": 0
+ },
+ "name": "LeatherPartsMat",
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ],
+ "alphaMode": "OPAQUE",
+ "doubleSided": false
+ },
+ {
+ "pbrMetallicRoughness": {
+ "baseColorTexture": {
+ "index": 6,
+ "texCoord": 0
+ },
+ "metallicRoughnessTexture": {
+ "index": 7,
+ "texCoord": 0
+ },
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "metallicFactor": 1,
+ "roughnessFactor": 1
+ },
+ "normalTexture": {
+ "index": 8,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 7,
+ "texCoord": 0
+ },
+ "alphaMode": "BLEND",
+ "name": "LensesMat",
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ],
+ "doubleSided": false
+ },
+ {
+ "pbrMetallicRoughness": {
+ "baseColorTexture": {
+ "index": 9,
+ "texCoord": 0
+ },
+ "metallicRoughnessTexture": {
+ "index": 10,
+ "texCoord": 0
+ },
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "metallicFactor": 1,
+ "roughnessFactor": 1
+ },
+ "normalTexture": {
+ "index": 11,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 10,
+ "texCoord": 0
+ },
+ "name": "MetalPartsMat",
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ],
+ "alphaMode": "OPAQUE",
+ "doubleSided": false
+ },
+ {
+ "doubleSided": true,
+ "pbrMetallicRoughness": {
+ "baseColorTexture": {
+ "index": 12,
+ "texCoord": 0
+ },
+ "metallicRoughnessTexture": {
+ "index": 13,
+ "texCoord": 0
+ },
+ "baseColorFactor": [
+ 1,
+ 1,
+ 1,
+ 1
+ ],
+ "metallicFactor": 1,
+ "roughnessFactor": 1
+ },
+ "normalTexture": {
+ "index": 14,
+ "texCoord": 0
+ },
+ "occlusionTexture": {
+ "index": 13,
+ "texCoord": 0
+ },
+ "name": "RubberWoodMat",
+ "emissiveFactor": [
+ 0,
+ 0,
+ 0
+ ],
+ "alphaMode": "OPAQUE"
+ }
+ ],
+ "nodes": [
+ {
+ "mesh": 0,
+ "name": "GlassPlastic_low"
+ },
+ {
+ "mesh": 1,
+ "translation": [
+ 0.000434499962,
+ 0.032592997,
+ 0.011676996
+ ],
+ "name": "LeatherParts_low",
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 2,
+ "name": "Lenses_low"
+ },
+ {
+ "mesh": 3,
+ "translation": [
+ 0.0331545,
+ -0.1488645,
+ -0.0242879968
+ ],
+ "name": "MetalParts_low",
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "mesh": 4,
+ "translation": [
+ -0.00190849893,
+ -0.111985,
+ -0.013313001
+ ],
+ "name": "RubberWood_low",
+ "rotation": [
+ 0,
+ 0,
+ 0,
+ 1
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ },
+ {
+ "children": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "rotation": [
+ 0,
+ 1,
+ 0,
+ 0
+ ],
+ "name": "FlightHelmet",
+ "translation": [
+ 0,
+ 0,
+ 0
+ ],
+ "scale": [
+ 1,
+ 1,
+ 1
+ ]
+ }
+ ],
+ "scene": 0,
+ "scenes": [
+ {
+ "nodes": [
+ 5
+ ]
+ }
+ ],
+ "textures": [
+ {
+ "source": 0
+ },
+ {
+ "source": 1
+ },
+ {
+ "source": 2
+ },
+ {
+ "source": 3
+ },
+ {
+ "source": 4
+ },
+ {
+ "source": 5
+ },
+ {
+ "source": 6
+ },
+ {
+ "source": 7
+ },
+ {
+ "source": 8
+ },
+ {
+ "source": 9
+ },
+ {
+ "source": 10
+ },
+ {
+ "source": 11
+ },
+ {
+ "source": 12
+ },
+ {
+ "source": 13
+ },
+ {
+ "source": 14
+ }
+ ],
+ "extensionsRequired": [
+ "KHR_draco_mesh_compression"
+ ],
+ "extensionsUsed": [
+ "KHR_draco_mesh_compression"
+ ]
+}
diff --git a/examples/assets/FlightHelmet/FlightHelmet_baseColor.png b/examples/assets/FlightHelmet/FlightHelmet_baseColor.png
new file mode 100644
index 00000000..4116e198
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_baseColor.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_baseColor1.png b/examples/assets/FlightHelmet/FlightHelmet_baseColor1.png
new file mode 100644
index 00000000..d47b33eb
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_baseColor1.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_baseColor2.png b/examples/assets/FlightHelmet/FlightHelmet_baseColor2.png
new file mode 100644
index 00000000..839c5019
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_baseColor2.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_baseColor3.png b/examples/assets/FlightHelmet/FlightHelmet_baseColor3.png
new file mode 100644
index 00000000..6095f68d
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_baseColor3.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_baseColor4.png b/examples/assets/FlightHelmet/FlightHelmet_baseColor4.png
new file mode 100644
index 00000000..fddf46d1
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_baseColor4.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_normal.png b/examples/assets/FlightHelmet/FlightHelmet_normal.png
new file mode 100644
index 00000000..058b4e9d
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_normal.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_normal1.png b/examples/assets/FlightHelmet/FlightHelmet_normal1.png
new file mode 100644
index 00000000..a00be5c1
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_normal1.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_normal2.png b/examples/assets/FlightHelmet/FlightHelmet_normal2.png
new file mode 100644
index 00000000..a9ec5618
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_normal2.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_normal3.png b/examples/assets/FlightHelmet/FlightHelmet_normal3.png
new file mode 100644
index 00000000..70f9022b
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_normal3.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_normal4.png b/examples/assets/FlightHelmet/FlightHelmet_normal4.png
new file mode 100644
index 00000000..3c973901
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_normal4.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic.png b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic.png
new file mode 100644
index 00000000..bbde038e
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic1.png b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic1.png
new file mode 100644
index 00000000..067b4f81
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic1.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic2.png b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic2.png
new file mode 100644
index 00000000..2466f5bc
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic2.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic3.png b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic3.png
new file mode 100644
index 00000000..dbe24290
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic3.png differ
diff --git a/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic4.png b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic4.png
new file mode 100644
index 00000000..2cfc659e
Binary files /dev/null and b/examples/assets/FlightHelmet/FlightHelmet_occlusionRoughnessMetallic4.png differ
diff --git a/examples/assets/FlightHelmet/README.md b/examples/assets/FlightHelmet/README.md
new file mode 100644
index 00000000..75aba073
--- /dev/null
+++ b/examples/assets/FlightHelmet/README.md
@@ -0,0 +1,16 @@
+# Flight Helmet
+
+## Screenshot
+
+
+
+## License Information
+
+Donated by Microsoft for glTF testing
+
+[](http://creativecommons.org/publicdomain/zero/1.0/)
+To the extent possible under law, Microsoft has waived all copyright and related or neighboring rights to this asset.
+
+Draco compression was done via Cesium tools on 27-03-2020 as follows.
+
+ gltf-pipeline -i FlightHelmet.gltf -o FlightHelmet.gltf -d -s --keep-unused-elements
diff --git a/examples/assets/background.ktx b/examples/assets/background.ktx
new file mode 100644
index 00000000..af9b04df
Binary files /dev/null and b/examples/assets/background.ktx differ
diff --git a/examples/assets/background.png b/examples/assets/background.png
new file mode 100644
index 00000000..4e8e2737
Binary files /dev/null and b/examples/assets/background.png differ
diff --git a/examples/assets/cube.glb b/examples/assets/cube.glb
new file mode 100644
index 00000000..c8df3114
Binary files /dev/null and b/examples/assets/cube.glb differ
diff --git a/examples/assets/default_env_ibl.ktx b/examples/assets/default_env_ibl.ktx
new file mode 100644
index 00000000..0765d521
Binary files /dev/null and b/examples/assets/default_env_ibl.ktx differ
diff --git a/examples/assets/default_env_skybox.ktx b/examples/assets/default_env_skybox.ktx
new file mode 100644
index 00000000..9d72e5a0
Binary files /dev/null and b/examples/assets/default_env_skybox.ktx differ
diff --git a/examples/assets/solidcolor.filamat b/examples/assets/solidcolor.filamat
new file mode 100644
index 00000000..e17086dc
Binary files /dev/null and b/examples/assets/solidcolor.filamat differ
diff --git a/examples/assets/solidcolor.mat b/examples/assets/solidcolor.mat
new file mode 100644
index 00000000..d3d46bd0
--- /dev/null
+++ b/examples/assets/solidcolor.mat
@@ -0,0 +1,14 @@
+material {
+ name : SolidColor,
+ shadingModel : unlit,
+ culling : none,
+ featureLevel : 1,
+ vertexDomain: object
+}
+
+fragment {
+ void material(inout MaterialInputs material) {
+ prepareMaterial(material);
+ material.baseColor = vec4(0.1f, 0.5f, 0.9f, 1.0f);
+ }
+}
diff --git a/examples/flutter/quickstart/.gitignore b/examples/flutter/quickstart/.gitignore
new file mode 100644
index 00000000..79c113f9
--- /dev/null
+++ b/examples/flutter/quickstart/.gitignore
@@ -0,0 +1,45 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.build/
+.buildlog/
+.history
+.svn/
+.swiftpm/
+migrate_working_dir/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.pub-cache/
+.pub/
+/build/
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
diff --git a/examples/flutter/quickstart/.metadata b/examples/flutter/quickstart/.metadata
new file mode 100644
index 00000000..62c6c8ef
--- /dev/null
+++ b/examples/flutter/quickstart/.metadata
@@ -0,0 +1,45 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: "7b6d667701e38c1d9d700e2bcc29bc7a06598c59"
+ channel: "master"
+
+project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ - platform: android
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ - platform: ios
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ - platform: linux
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ - platform: macos
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ - platform: web
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ - platform: windows
+ create_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+ base_revision: 7b6d667701e38c1d9d700e2bcc29bc7a06598c59
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/examples/flutter/quickstart/README.md b/examples/flutter/quickstart/README.md
new file mode 100644
index 00000000..33f33833
--- /dev/null
+++ b/examples/flutter/quickstart/README.md
@@ -0,0 +1,4 @@
+# quickstart
+
+A Flutter project demonstrating how to use the Thermion rendering toolkit to load a 3D model, skybox and set the camera position.
+
diff --git a/examples/flutter/quickstart/analysis_options.yaml b/examples/flutter/quickstart/analysis_options.yaml
new file mode 100644
index 00000000..0d290213
--- /dev/null
+++ b/examples/flutter/quickstart/analysis_options.yaml
@@ -0,0 +1,28 @@
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at https://dart.dev/lints.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/examples/flutter/quickstart/android/.gitignore b/examples/flutter/quickstart/android/.gitignore
new file mode 100644
index 00000000..55afd919
--- /dev/null
+++ b/examples/flutter/quickstart/android/.gitignore
@@ -0,0 +1,13 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/to/reference-keystore
+key.properties
+**/*.keystore
+**/*.jks
diff --git a/examples/flutter/quickstart/android/app/build.gradle b/examples/flutter/quickstart/android/app/build.gradle
new file mode 100644
index 00000000..c657cb56
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/build.gradle
@@ -0,0 +1,44 @@
+plugins {
+ id "com.android.application"
+ id "kotlin-android"
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
+ id "dev.flutter.flutter-gradle-plugin"
+}
+
+android {
+ namespace = "com.example.quickstart"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ }
+
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_1_8
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId = "com.example.quickstart"
+ // You can update the following values to match your application needs.
+ // For more information, see: https://flutter.dev/to/review-gradle-config.
+ minSdk = 22
+ targetSdk = flutter.targetSdkVersion
+ versionCode = flutter.versionCode
+ versionName = flutter.versionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig = signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source = "../.."
+}
diff --git a/examples/flutter/quickstart/android/app/src/debug/AndroidManifest.xml b/examples/flutter/quickstart/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 00000000..399f6981
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/examples/flutter/quickstart/android/app/src/main/AndroidManifest.xml b/examples/flutter/quickstart/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..d6b5b601
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/android/app/src/main/kotlin/com/example/quickstart/MainActivity.kt b/examples/flutter/quickstart/android/app/src/main/kotlin/com/example/quickstart/MainActivity.kt
new file mode 100644
index 00000000..067e280a
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/main/kotlin/com/example/quickstart/MainActivity.kt
@@ -0,0 +1,5 @@
+package com.example.quickstart
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity()
diff --git a/examples/flutter/quickstart/android/app/src/main/res/drawable-v21/launch_background.xml b/examples/flutter/quickstart/android/app/src/main/res/drawable-v21/launch_background.xml
new file mode 100644
index 00000000..f74085f3
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/android/app/src/main/res/drawable/launch_background.xml b/examples/flutter/quickstart/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 00000000..304732f8
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/examples/flutter/quickstart/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..db77bb4b
Binary files /dev/null and b/examples/flutter/quickstart/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/examples/flutter/quickstart/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/examples/flutter/quickstart/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..17987b79
Binary files /dev/null and b/examples/flutter/quickstart/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/examples/flutter/quickstart/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/examples/flutter/quickstart/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..09d43914
Binary files /dev/null and b/examples/flutter/quickstart/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/examples/flutter/quickstart/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/examples/flutter/quickstart/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..d5f1c8d3
Binary files /dev/null and b/examples/flutter/quickstart/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/examples/flutter/quickstart/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/examples/flutter/quickstart/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..4d6372ee
Binary files /dev/null and b/examples/flutter/quickstart/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/examples/flutter/quickstart/android/app/src/main/res/values-night/styles.xml b/examples/flutter/quickstart/android/app/src/main/res/values-night/styles.xml
new file mode 100644
index 00000000..06952be7
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/main/res/values-night/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/android/app/src/main/res/values/styles.xml b/examples/flutter/quickstart/android/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..cb1ef880
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/android/app/src/profile/AndroidManifest.xml b/examples/flutter/quickstart/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 00000000..399f6981
--- /dev/null
+++ b/examples/flutter/quickstart/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/examples/flutter/quickstart/android/build.gradle b/examples/flutter/quickstart/android/build.gradle
new file mode 100644
index 00000000..d2ffbffa
--- /dev/null
+++ b/examples/flutter/quickstart/android/build.gradle
@@ -0,0 +1,18 @@
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.buildDir = "../build"
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(":app")
+}
+
+tasks.register("clean", Delete) {
+ delete rootProject.buildDir
+}
diff --git a/examples/flutter/quickstart/android/gradle.properties b/examples/flutter/quickstart/android/gradle.properties
new file mode 100644
index 00000000..25971708
--- /dev/null
+++ b/examples/flutter/quickstart/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/examples/flutter/quickstart/android/gradle/wrapper/gradle-wrapper.properties b/examples/flutter/quickstart/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..7bb2df6b
--- /dev/null
+++ b/examples/flutter/quickstart/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
diff --git a/examples/flutter/quickstart/android/settings.gradle b/examples/flutter/quickstart/android/settings.gradle
new file mode 100644
index 00000000..b6ddaf7c
--- /dev/null
+++ b/examples/flutter/quickstart/android/settings.gradle
@@ -0,0 +1,25 @@
+pluginManagement {
+ def flutterSdkPath = {
+ def properties = new Properties()
+ file("local.properties").withInputStream { properties.load(it) }
+ def flutterSdkPath = properties.getProperty("flutter.sdk")
+ assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+ return flutterSdkPath
+ }()
+
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
+
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+
+plugins {
+ id "dev.flutter.flutter-plugin-loader" version "1.0.0"
+ id "com.android.application" version '8.2.2' apply false
+ id "org.jetbrains.kotlin.android" version "1.8.22" apply false
+}
+
+include ":app"
diff --git a/examples/flutter/quickstart/assets/cube.glb b/examples/flutter/quickstart/assets/cube.glb
new file mode 120000
index 00000000..c421b621
--- /dev/null
+++ b/examples/flutter/quickstart/assets/cube.glb
@@ -0,0 +1 @@
+../../../assets/cube.glb
\ No newline at end of file
diff --git a/examples/flutter/quickstart/assets/default_env_ibl.ktx b/examples/flutter/quickstart/assets/default_env_ibl.ktx
new file mode 120000
index 00000000..168cfda2
--- /dev/null
+++ b/examples/flutter/quickstart/assets/default_env_ibl.ktx
@@ -0,0 +1 @@
+../../../assets/default_env_ibl.ktx
\ No newline at end of file
diff --git a/examples/flutter/quickstart/assets/default_env_skybox.ktx b/examples/flutter/quickstart/assets/default_env_skybox.ktx
new file mode 120000
index 00000000..4934cdd7
--- /dev/null
+++ b/examples/flutter/quickstart/assets/default_env_skybox.ktx
@@ -0,0 +1 @@
+../../../assets/default_env_skybox.ktx
\ No newline at end of file
diff --git a/examples/flutter/quickstart/ios/.gitignore b/examples/flutter/quickstart/ios/.gitignore
new file mode 100644
index 00000000..7a7f9873
--- /dev/null
+++ b/examples/flutter/quickstart/ios/.gitignore
@@ -0,0 +1,34 @@
+**/dgph
+*.mode1v3
+*.mode2v3
+*.moved-aside
+*.pbxuser
+*.perspectivev3
+**/*sync/
+.sconsign.dblite
+.tags*
+**/.vagrant/
+**/DerivedData/
+Icon?
+**/Pods/
+**/.symlinks/
+profile
+xcuserdata
+**/.generated/
+Flutter/App.framework
+Flutter/Flutter.framework
+Flutter/Flutter.podspec
+Flutter/Generated.xcconfig
+Flutter/ephemeral/
+Flutter/app.flx
+Flutter/app.zip
+Flutter/flutter_assets/
+Flutter/flutter_export_environment.sh
+ServiceDefinitions.json
+Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!default.mode1v3
+!default.mode2v3
+!default.pbxuser
+!default.perspectivev3
diff --git a/examples/flutter/quickstart/ios/Flutter/AppFrameworkInfo.plist b/examples/flutter/quickstart/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 00000000..7c569640
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 12.0
+
+
diff --git a/examples/flutter/quickstart/ios/Flutter/Debug.xcconfig b/examples/flutter/quickstart/ios/Flutter/Debug.xcconfig
new file mode 100644
index 00000000..ec97fc6f
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Flutter/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
+#include "Generated.xcconfig"
diff --git a/examples/flutter/quickstart/ios/Flutter/Release.xcconfig b/examples/flutter/quickstart/ios/Flutter/Release.xcconfig
new file mode 100644
index 00000000..c4855bfe
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Flutter/Release.xcconfig
@@ -0,0 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
+#include "Generated.xcconfig"
diff --git a/examples/flutter/quickstart/ios/Podfile b/examples/flutter/quickstart/ios/Podfile
new file mode 100644
index 00000000..3e44f9c6
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Podfile
@@ -0,0 +1,44 @@
+# Uncomment this line to define a global platform for your project
+platform :ios, '13.0'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def flutter_root
+ generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
+ end
+
+ File.foreach(generated_xcode_build_settings_path) do |line|
+ matches = line.match(/FLUTTER_ROOT\=(.*)/)
+ return matches[1].strip if matches
+ end
+ raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
+end
+
+require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+flutter_ios_podfile_setup
+
+target 'Runner' do
+ use_frameworks!
+ use_modular_headers!
+
+ flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+ target 'RunnerTests' do
+ inherit! :search_paths
+ end
+end
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ flutter_additional_ios_build_settings(target)
+ end
+end
diff --git a/examples/flutter/quickstart/ios/Podfile.lock b/examples/flutter/quickstart/ios/Podfile.lock
new file mode 100644
index 00000000..81dd9d63
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Podfile.lock
@@ -0,0 +1,22 @@
+PODS:
+ - Flutter (1.0.0)
+ - thermion_flutter (0.0.1):
+ - Flutter
+
+DEPENDENCIES:
+ - Flutter (from `Flutter`)
+ - thermion_flutter (from `.symlinks/plugins/thermion_flutter/ios`)
+
+EXTERNAL SOURCES:
+ Flutter:
+ :path: Flutter
+ thermion_flutter:
+ :path: ".symlinks/plugins/thermion_flutter/ios"
+
+SPEC CHECKSUMS:
+ Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
+ thermion_flutter: c965e09831858465a1a8df59ff97e40a4d002773
+
+PODFILE CHECKSUM: a57f30d18f102dd3ce366b1d62a55ecbef2158e5
+
+COCOAPODS: 1.15.2
diff --git a/examples/flutter/quickstart/ios/Runner.xcodeproj/project.pbxproj b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..911e0e6c
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,715 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+ F657CCCFB062AF56C7F1E15C /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D988E66CA93AB1163F3B4F2 /* Pods_RunnerTests.framework */; };
+ F8DC37C0013EE3DC8802435E /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B0831D015898C7047513698C /* Pods_Runner.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 97C146E61CF9000F007C117D /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 97C146ED1CF9000F007C117D;
+ remoteInfo = Runner;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 31D54E0731320192F7631461 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; };
+ 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; };
+ 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ 3680A9DFE5EC3E59C051B544 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 3D988E66CA93AB1163F3B4F2 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 704E1C99CAABFB056933D88F /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 8C0FE5C77038897D844C5D42 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 9CD72080C199DAE3518D4C3D /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; };
+ B0831D015898C7047513698C /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ BA68F2C1572D8BC92CC4C4FF /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F8DC37C0013EE3DC8802435E /* Pods_Runner.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ FA72758808529BDB8770545F /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F657CCCFB062AF56C7F1E15C /* Pods_RunnerTests.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 0DB20859A61D425430A5D097 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ B0831D015898C7047513698C /* Pods_Runner.framework */,
+ 3D988E66CA93AB1163F3B4F2 /* Pods_RunnerTests.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 331C8082294A63A400263BE5 /* RunnerTests */ = {
+ isa = PBXGroup;
+ children = (
+ 331C807B294A618700263BE5 /* RunnerTests.swift */,
+ );
+ path = RunnerTests;
+ sourceTree = "";
+ };
+ 4A129A4D3EB41F9DE0778AAC /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 704E1C99CAABFB056933D88F /* Pods-Runner.debug.xcconfig */,
+ 3680A9DFE5EC3E59C051B544 /* Pods-Runner.release.xcconfig */,
+ 8C0FE5C77038897D844C5D42 /* Pods-Runner.profile.xcconfig */,
+ 31D54E0731320192F7631461 /* Pods-RunnerTests.debug.xcconfig */,
+ BA68F2C1572D8BC92CC4C4FF /* Pods-RunnerTests.release.xcconfig */,
+ 9CD72080C199DAE3518D4C3D /* Pods-RunnerTests.profile.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "";
+ };
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ 331C8082294A63A400263BE5 /* RunnerTests */,
+ 4A129A4D3EB41F9DE0778AAC /* Pods */,
+ 0DB20859A61D425430A5D097 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ 331C8081294A63A400263BE5 /* RunnerTests.xctest */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 331C8080294A63A400263BE5 /* RunnerTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
+ buildPhases = (
+ 78F05AF37D9E628BE6E89ABD /* [CP] Check Pods Manifest.lock */,
+ 331C807D294A63A400263BE5 /* Sources */,
+ 331C807F294A63A400263BE5 /* Resources */,
+ FA72758808529BDB8770545F /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 331C8086294A63A400263BE5 /* PBXTargetDependency */,
+ );
+ name = RunnerTests;
+ productName = RunnerTests;
+ productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ C7C2718364AC4E2451407065 /* [CP] Check Pods Manifest.lock */,
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ BuildIndependentTargetsInParallel = YES;
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 331C8080294A63A400263BE5 = {
+ CreatedOnToolsVersion = 14.0;
+ TestTargetID = 97C146ED1CF9000F007C117D;
+ };
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 1100;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ 331C8080294A63A400263BE5 /* RunnerTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 331C807F294A63A400263BE5 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 78F05AF37D9E628BE6E89ABD /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+ C7C2718364AC4E2451407065 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 331C807D294A63A400263BE5 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 331C8086294A63A400263BE5 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 97C146ED1CF9000F007C117D /* Runner */;
+ targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = TM2B4SJXNJ;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 331C8088294A63A400263BE5 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 31D54E0731320192F7631461 /* Pods-RunnerTests.debug.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Debug;
+ };
+ 331C8089294A63A400263BE5 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = BA68F2C1572D8BC92CC4C4FF /* Pods-RunnerTests.release.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Release;
+ };
+ 331C808A294A63A400263BE5 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9CD72080C199DAE3518D4C3D /* Pods-RunnerTests.profile.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = TM2B4SJXNJ;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = TM2B4SJXNJ;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 331C8088294A63A400263BE5 /* Debug */,
+ 331C8089294A63A400263BE5 /* Release */,
+ 331C808A294A63A400263BE5 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..919434a6
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000..f9b0d7c5
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/flutter/quickstart/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 00000000..8e3ca5df
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner.xcworkspace/contents.xcworkspacedata b/examples/flutter/quickstart/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..21a3cc14
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/flutter/quickstart/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/examples/flutter/quickstart/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000..f9b0d7c5
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner/AppDelegate.swift b/examples/flutter/quickstart/ios/Runner/AppDelegate.swift
new file mode 100644
index 00000000..62666446
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import Flutter
+import UIKit
+
+@main
+@objc class AppDelegate: FlutterAppDelegate {
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ GeneratedPluginRegistrant.register(with: self)
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ }
+}
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000..d36b1fab
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 00000000..dc9ada47
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 00000000..7353c41e
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 00000000..797d452e
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 00000000..6ed2d933
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 00000000..4cd7b009
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 00000000..fe730945
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 00000000..321773cd
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 00000000..797d452e
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 00000000..502f463a
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 00000000..0ec30343
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 00000000..0ec30343
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 00000000..e9f5fea2
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 00000000..84ac32ae
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 00000000..8953cba0
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 00000000..0467bf12
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 00000000..0bedcf2f
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 00000000..89c2725b
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/examples/flutter/quickstart/ios/Runner/Base.lproj/LaunchScreen.storyboard b/examples/flutter/quickstart/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 00000000..f2e259c7
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner/Base.lproj/Main.storyboard b/examples/flutter/quickstart/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 00000000..f3c28516
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner/Info.plist b/examples/flutter/quickstart/ios/Runner/Info.plist
new file mode 100644
index 00000000..e31b7a1a
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Info.plist
@@ -0,0 +1,51 @@
+
+
+
+
+ CADisableMinimumFrameDurationOnPhone
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ Quickstart
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ quickstart
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ NSMicrophoneUsageDescription
+ Needs microphone
+ UIApplicationSupportsIndirectInputEvents
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+
+
diff --git a/examples/flutter/quickstart/ios/Runner/Runner-Bridging-Header.h b/examples/flutter/quickstart/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 00000000..308a2a56
--- /dev/null
+++ b/examples/flutter/quickstart/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/examples/flutter/quickstart/ios/RunnerTests/RunnerTests.swift b/examples/flutter/quickstart/ios/RunnerTests/RunnerTests.swift
new file mode 100644
index 00000000..86a7c3b1
--- /dev/null
+++ b/examples/flutter/quickstart/ios/RunnerTests/RunnerTests.swift
@@ -0,0 +1,12 @@
+import Flutter
+import UIKit
+import XCTest
+
+class RunnerTests: XCTestCase {
+
+ func testExample() {
+ // If you add code to the Runner application, consider adding tests here.
+ // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
+ }
+
+}
diff --git a/examples/flutter/quickstart/lib/main.dart b/examples/flutter/quickstart/lib/main.dart
new file mode 100644
index 00000000..3e71f6e9
--- /dev/null
+++ b/examples/flutter/quickstart/lib/main.dart
@@ -0,0 +1,133 @@
+import 'dart:async';
+import 'package:logging/logging.dart';
+import 'package:flutter/material.dart';
+import 'package:thermion_flutter/thermion_flutter.dart';
+
+void main() {
+ runApp(const MyApp());
+ Logger.root.onRecord.listen((record) {
+ print(record);
+ });
+}
+
+class MyApp extends StatelessWidget {
+ const MyApp({super.key});
+
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ title: 'Thermion Demo',
+ theme: ThemeData(
+ colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
+ useMaterial3: true,
+ ),
+ home: const MyHomePage(title: 'Thermion Demo Home Page'),
+ );
+ }
+}
+
+class MyHomePage extends StatefulWidget {
+ const MyHomePage({super.key, required this.title});
+ final String title;
+
+ @override
+ State createState() => _MyHomePageState();
+}
+
+class _MyHomePageState extends State {
+ @override
+ void initState() {
+ super.initState();
+ }
+
+ ThermionViewer? _thermionViewer;
+
+ Future _load() async {
+ if (_thermionViewer != null) {
+ throw Exception();
+ }
+
+ // A [ThermionViewer] is the main interface for controlling asset loading,
+ // rendering, camera and lighting.
+ //
+ // When you no longer need a rendering surface, call [dispose] on this instance.
+ //
+ // Only a single instance can be active at a given time; trying to construct
+ // a new instance before the old instance has been disposed will throw an exception.
+ _thermionViewer = await ThermionFlutterPlugin.createViewer();
+
+ // Geometry and models are represented as "entities". Here, we load a glTF
+ // file containing a plain cube.
+ // By default, all paths are treated as asset paths. To load from a file
+ // instead, use file:// URIs.
+ var entity =
+ await _thermionViewer!.loadGlb("assets/cube.glb", keepData: true);
+
+ // Thermion uses a right-handed coordinate system where +Y is up and -Z is
+ // "into" the screen.
+ // By default, the camera is located at (0,0,0) looking at (0,0,-1); this
+ // would place it directly inside the cube we just loaded.
+ //
+ // Let's move the camera to (0,0,10) to ensure the cube is visible in the
+ // viewport.
+ await _thermionViewer!.setCameraPosition(0, 0, 10);
+
+ // Without a light source, your scene will be totally black. Let's load a skybox
+ // (a cubemap image that is rendered behind everything else in the scene)
+ // and an image-based indirect light that has been precomputed from the same
+ // skybox.
+ await _thermionViewer!.loadSkybox("assets/default_env_skybox.ktx");
+ await _thermionViewer!.loadIbl("assets/default_env_ibl.ktx");
+
+ // Finally, you need to explicitly enable rendering. Setting rendering to
+ // false is designed to allow you to pause rendering to conserve battery life
+ await _thermionViewer!.setRendering(true);
+
+ setState(() {});
+ }
+
+ Future _unload() async {
+ // when you are no longer need the 3D viewport:
+ // 1) remove all instances of ThermionWidget from the widget tree
+ // 2) remove all local references to the ThermionViewer
+ // 3) call dispose on the ThermionViewer
+ var viewer = _thermionViewer!;
+ _thermionViewer = null;
+ setState(() {});
+
+ await viewer.dispose();
+ }
+
+ Widget _loadButton() {
+ return Center(
+ child: ElevatedButton(onPressed: _load, child: const Text("Load")));
+ }
+
+ Widget _unloadButton() {
+ return Align(
+ alignment: Alignment.bottomCenter,
+ child: ElevatedButton(onPressed: _unload, child: const Text("Unload")));
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Stack(children: [
+ if (_thermionViewer != null)
+ Positioned.fill(
+ child: ThermionWidget(
+ viewer: _thermionViewer!,
+ )),
+ Align(
+ alignment: Alignment.bottomCenter,
+ child: Padding(
+ padding: const EdgeInsets.all(16),
+ child:Column(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.end,
+ children: [
+ if (_thermionViewer == null) _loadButton(),
+ if (_thermionViewer != null) _unloadButton(),
+ ])))
+ ]);
+ }
+}
diff --git a/examples/flutter/quickstart/linux/.gitignore b/examples/flutter/quickstart/linux/.gitignore
new file mode 100644
index 00000000..d3896c98
--- /dev/null
+++ b/examples/flutter/quickstart/linux/.gitignore
@@ -0,0 +1 @@
+flutter/ephemeral
diff --git a/examples/flutter/quickstart/linux/CMakeLists.txt b/examples/flutter/quickstart/linux/CMakeLists.txt
new file mode 100644
index 00000000..f4a5227f
--- /dev/null
+++ b/examples/flutter/quickstart/linux/CMakeLists.txt
@@ -0,0 +1,145 @@
+# Project-level configuration.
+cmake_minimum_required(VERSION 3.10)
+project(runner LANGUAGES CXX)
+
+# The name of the executable created for the application. Change this to change
+# the on-disk name of your application.
+set(BINARY_NAME "quickstart")
+# The unique GTK application identifier for this application. See:
+# https://wiki.gnome.org/HowDoI/ChooseApplicationID
+set(APPLICATION_ID "com.example.quickstart")
+
+# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
+# versions of CMake.
+cmake_policy(SET CMP0063 NEW)
+
+# Load bundled libraries from the lib/ directory relative to the binary.
+set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
+
+# Root filesystem for cross-building.
+if(FLUTTER_TARGET_PLATFORM_SYSROOT)
+ set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT})
+ set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT})
+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
+ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+endif()
+
+# Define build configuration options.
+if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_BUILD_TYPE "Debug" CACHE
+ STRING "Flutter build mode" FORCE)
+ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
+ "Debug" "Profile" "Release")
+endif()
+
+# Compilation settings that should be applied to most targets.
+#
+# Be cautious about adding new options here, as plugins use this function by
+# default. In most cases, you should add new options to specific targets instead
+# of modifying this function.
+function(APPLY_STANDARD_SETTINGS TARGET)
+ target_compile_features(${TARGET} PUBLIC cxx_std_14)
+ target_compile_options(${TARGET} PRIVATE -Wall -Werror)
+ target_compile_options(${TARGET} PRIVATE "$<$>:-O3>")
+ target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>")
+endfunction()
+
+# Flutter library and tool build rules.
+set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
+add_subdirectory(${FLUTTER_MANAGED_DIR})
+
+# System-level dependencies.
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
+
+add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
+
+# Define the application target. To change its name, change BINARY_NAME above,
+# not the value here, or `flutter run` will no longer work.
+#
+# Any new source files that you add to the application should be added here.
+add_executable(${BINARY_NAME}
+ "main.cc"
+ "my_application.cc"
+ "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
+)
+
+# Apply the standard set of build settings. This can be removed for applications
+# that need different build settings.
+apply_standard_settings(${BINARY_NAME})
+
+# Add dependency libraries. Add any application-specific dependencies here.
+target_link_libraries(${BINARY_NAME} PRIVATE flutter)
+target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
+
+# Run the Flutter tool portions of the build. This must not be removed.
+add_dependencies(${BINARY_NAME} flutter_assemble)
+
+# Only the install-generated bundle's copy of the executable will launch
+# correctly, since the resources must in the right relative locations. To avoid
+# people trying to run the unbundled copy, put it in a subdirectory instead of
+# the default top-level location.
+set_target_properties(${BINARY_NAME}
+ PROPERTIES
+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run"
+)
+
+
+# Generated plugin build rules, which manage building the plugins and adding
+# them to the application.
+include(flutter/generated_plugins.cmake)
+
+
+# === Installation ===
+# By default, "installing" just makes a relocatable bundle in the build
+# directory.
+set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+ set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
+endif()
+
+# Start with a clean build bundle directory every time.
+install(CODE "
+ file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\")
+ " COMPONENT Runtime)
+
+set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
+set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+
+install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+
+foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
+ install(FILES "${bundled_library}"
+ DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+endforeach(bundled_library)
+
+# Copy the native assets provided by the build.dart from all packages.
+set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/")
+install(DIRECTORY "${NATIVE_ASSETS_DIR}"
+ DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+
+# Fully re-copy the assets directory on each build to avoid having stale files
+# from a previous install.
+set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
+install(CODE "
+ file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
+ " COMPONENT Runtime)
+install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
+ DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
+
+# Install the AOT library on non-Debug builds only.
+if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
+ install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+endif()
diff --git a/examples/flutter/quickstart/linux/flutter/CMakeLists.txt b/examples/flutter/quickstart/linux/flutter/CMakeLists.txt
new file mode 100644
index 00000000..d5bd0164
--- /dev/null
+++ b/examples/flutter/quickstart/linux/flutter/CMakeLists.txt
@@ -0,0 +1,88 @@
+# This file controls Flutter-level build steps. It should not be edited.
+cmake_minimum_required(VERSION 3.10)
+
+set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
+
+# Configuration provided via flutter tool.
+include(${EPHEMERAL_DIR}/generated_config.cmake)
+
+# TODO: Move the rest of this into files in ephemeral. See
+# https://github.com/flutter/flutter/issues/57146.
+
+# Serves the same purpose as list(TRANSFORM ... PREPEND ...),
+# which isn't available in 3.10.
+function(list_prepend LIST_NAME PREFIX)
+ set(NEW_LIST "")
+ foreach(element ${${LIST_NAME}})
+ list(APPEND NEW_LIST "${PREFIX}${element}")
+ endforeach(element)
+ set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE)
+endfunction()
+
+# === Flutter Library ===
+# System-level dependencies.
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
+pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
+pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
+
+set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so")
+
+# Published to parent scope for install step.
+set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
+set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
+set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
+set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE)
+
+list(APPEND FLUTTER_LIBRARY_HEADERS
+ "fl_basic_message_channel.h"
+ "fl_binary_codec.h"
+ "fl_binary_messenger.h"
+ "fl_dart_project.h"
+ "fl_engine.h"
+ "fl_json_message_codec.h"
+ "fl_json_method_codec.h"
+ "fl_message_codec.h"
+ "fl_method_call.h"
+ "fl_method_channel.h"
+ "fl_method_codec.h"
+ "fl_method_response.h"
+ "fl_plugin_registrar.h"
+ "fl_plugin_registry.h"
+ "fl_standard_message_codec.h"
+ "fl_standard_method_codec.h"
+ "fl_string_codec.h"
+ "fl_value.h"
+ "fl_view.h"
+ "flutter_linux.h"
+)
+list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/")
+add_library(flutter INTERFACE)
+target_include_directories(flutter INTERFACE
+ "${EPHEMERAL_DIR}"
+)
+target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}")
+target_link_libraries(flutter INTERFACE
+ PkgConfig::GTK
+ PkgConfig::GLIB
+ PkgConfig::GIO
+)
+add_dependencies(flutter flutter_assemble)
+
+# === Flutter tool backend ===
+# _phony_ is a non-existent file to force this command to run every time,
+# since currently there's no way to get a full input/output list from the
+# flutter tool.
+add_custom_command(
+ OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
+ ${CMAKE_CURRENT_BINARY_DIR}/_phony_
+ COMMAND ${CMAKE_COMMAND} -E env
+ ${FLUTTER_TOOL_ENVIRONMENT}
+ "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh"
+ ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE}
+ VERBATIM
+)
+add_custom_target(flutter_assemble DEPENDS
+ "${FLUTTER_LIBRARY}"
+ ${FLUTTER_LIBRARY_HEADERS}
+)
diff --git a/examples/flutter/quickstart/linux/flutter/generated_plugin_registrant.cc b/examples/flutter/quickstart/linux/flutter/generated_plugin_registrant.cc
new file mode 100644
index 00000000..01193c10
--- /dev/null
+++ b/examples/flutter/quickstart/linux/flutter/generated_plugin_registrant.cc
@@ -0,0 +1,15 @@
+//
+// Generated file. Do not edit.
+//
+
+// clang-format off
+
+#include "generated_plugin_registrant.h"
+
+#include
+
+void fl_register_plugins(FlPluginRegistry* registry) {
+ g_autoptr(FlPluginRegistrar) thermion_flutter_registrar =
+ fl_plugin_registry_get_registrar_for_plugin(registry, "ThermionFlutterPlugin");
+ thermion_flutter_plugin_register_with_registrar(thermion_flutter_registrar);
+}
diff --git a/examples/flutter/quickstart/linux/flutter/generated_plugin_registrant.h b/examples/flutter/quickstart/linux/flutter/generated_plugin_registrant.h
new file mode 100644
index 00000000..e0f0a47b
--- /dev/null
+++ b/examples/flutter/quickstart/linux/flutter/generated_plugin_registrant.h
@@ -0,0 +1,15 @@
+//
+// Generated file. Do not edit.
+//
+
+// clang-format off
+
+#ifndef GENERATED_PLUGIN_REGISTRANT_
+#define GENERATED_PLUGIN_REGISTRANT_
+
+#include
+
+// Registers Flutter plugins.
+void fl_register_plugins(FlPluginRegistry* registry);
+
+#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/examples/flutter/quickstart/linux/flutter/generated_plugins.cmake b/examples/flutter/quickstart/linux/flutter/generated_plugins.cmake
new file mode 100644
index 00000000..274b5f60
--- /dev/null
+++ b/examples/flutter/quickstart/linux/flutter/generated_plugins.cmake
@@ -0,0 +1,24 @@
+#
+# Generated file, do not edit.
+#
+
+list(APPEND FLUTTER_PLUGIN_LIST
+ thermion_flutter
+)
+
+list(APPEND FLUTTER_FFI_PLUGIN_LIST
+)
+
+set(PLUGIN_BUNDLED_LIBRARIES)
+
+foreach(plugin ${FLUTTER_PLUGIN_LIST})
+ add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
+ target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
+ list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
+ list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
+endforeach(plugin)
+
+foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
+ add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
+ list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
+endforeach(ffi_plugin)
diff --git a/examples/flutter/quickstart/linux/main.cc b/examples/flutter/quickstart/linux/main.cc
new file mode 100644
index 00000000..e7c5c543
--- /dev/null
+++ b/examples/flutter/quickstart/linux/main.cc
@@ -0,0 +1,6 @@
+#include "my_application.h"
+
+int main(int argc, char** argv) {
+ g_autoptr(MyApplication) app = my_application_new();
+ return g_application_run(G_APPLICATION(app), argc, argv);
+}
diff --git a/examples/flutter/quickstart/linux/my_application.cc b/examples/flutter/quickstart/linux/my_application.cc
new file mode 100644
index 00000000..3901953a
--- /dev/null
+++ b/examples/flutter/quickstart/linux/my_application.cc
@@ -0,0 +1,124 @@
+#include "my_application.h"
+
+#include
+#ifdef GDK_WINDOWING_X11
+#include
+#endif
+
+#include "flutter/generated_plugin_registrant.h"
+
+struct _MyApplication {
+ GtkApplication parent_instance;
+ char** dart_entrypoint_arguments;
+};
+
+G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
+
+// Implements GApplication::activate.
+static void my_application_activate(GApplication* application) {
+ MyApplication* self = MY_APPLICATION(application);
+ GtkWindow* window =
+ GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
+
+ // Use a header bar when running in GNOME as this is the common style used
+ // by applications and is the setup most users will be using (e.g. Ubuntu
+ // desktop).
+ // If running on X and not using GNOME then just use a traditional title bar
+ // in case the window manager does more exotic layout, e.g. tiling.
+ // If running on Wayland assume the header bar will work (may need changing
+ // if future cases occur).
+ gboolean use_header_bar = TRUE;
+#ifdef GDK_WINDOWING_X11
+ GdkScreen* screen = gtk_window_get_screen(window);
+ if (GDK_IS_X11_SCREEN(screen)) {
+ const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
+ if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
+ use_header_bar = FALSE;
+ }
+ }
+#endif
+ if (use_header_bar) {
+ GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
+ gtk_widget_show(GTK_WIDGET(header_bar));
+ gtk_header_bar_set_title(header_bar, "quickstart");
+ gtk_header_bar_set_show_close_button(header_bar, TRUE);
+ gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
+ } else {
+ gtk_window_set_title(window, "quickstart");
+ }
+
+ gtk_window_set_default_size(window, 1280, 720);
+ gtk_widget_show(GTK_WIDGET(window));
+
+ g_autoptr(FlDartProject) project = fl_dart_project_new();
+ fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
+
+ FlView* view = fl_view_new(project);
+ gtk_widget_show(GTK_WIDGET(view));
+ gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
+
+ fl_register_plugins(FL_PLUGIN_REGISTRY(view));
+
+ gtk_widget_grab_focus(GTK_WIDGET(view));
+}
+
+// Implements GApplication::local_command_line.
+static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) {
+ MyApplication* self = MY_APPLICATION(application);
+ // Strip out the first argument as it is the binary name.
+ self->dart_entrypoint_arguments = g_strdupv(*arguments + 1);
+
+ g_autoptr(GError) error = nullptr;
+ if (!g_application_register(application, nullptr, &error)) {
+ g_warning("Failed to register: %s", error->message);
+ *exit_status = 1;
+ return TRUE;
+ }
+
+ g_application_activate(application);
+ *exit_status = 0;
+
+ return TRUE;
+}
+
+// Implements GApplication::startup.
+static void my_application_startup(GApplication* application) {
+ //MyApplication* self = MY_APPLICATION(object);
+
+ // Perform any actions required at application startup.
+
+ G_APPLICATION_CLASS(my_application_parent_class)->startup(application);
+}
+
+// Implements GApplication::shutdown.
+static void my_application_shutdown(GApplication* application) {
+ //MyApplication* self = MY_APPLICATION(object);
+
+ // Perform any actions required at application shutdown.
+
+ G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application);
+}
+
+// Implements GObject::dispose.
+static void my_application_dispose(GObject* object) {
+ MyApplication* self = MY_APPLICATION(object);
+ g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev);
+ G_OBJECT_CLASS(my_application_parent_class)->dispose(object);
+}
+
+static void my_application_class_init(MyApplicationClass* klass) {
+ G_APPLICATION_CLASS(klass)->activate = my_application_activate;
+ G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line;
+ G_APPLICATION_CLASS(klass)->startup = my_application_startup;
+ G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown;
+ G_OBJECT_CLASS(klass)->dispose = my_application_dispose;
+}
+
+static void my_application_init(MyApplication* self) {}
+
+MyApplication* my_application_new() {
+ return MY_APPLICATION(g_object_new(my_application_get_type(),
+ "application-id", APPLICATION_ID,
+ "flags", G_APPLICATION_NON_UNIQUE,
+ nullptr));
+}
diff --git a/examples/flutter/quickstart/linux/my_application.h b/examples/flutter/quickstart/linux/my_application.h
new file mode 100644
index 00000000..72271d5e
--- /dev/null
+++ b/examples/flutter/quickstart/linux/my_application.h
@@ -0,0 +1,18 @@
+#ifndef FLUTTER_MY_APPLICATION_H_
+#define FLUTTER_MY_APPLICATION_H_
+
+#include
+
+G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
+ GtkApplication)
+
+/**
+ * my_application_new:
+ *
+ * Creates a new Flutter-based application.
+ *
+ * Returns: a new #MyApplication.
+ */
+MyApplication* my_application_new();
+
+#endif // FLUTTER_MY_APPLICATION_H_
diff --git a/examples/flutter/quickstart/macos/.gitignore b/examples/flutter/quickstart/macos/.gitignore
new file mode 100644
index 00000000..746adbb6
--- /dev/null
+++ b/examples/flutter/quickstart/macos/.gitignore
@@ -0,0 +1,7 @@
+# Flutter-related
+**/Flutter/ephemeral/
+**/Pods/
+
+# Xcode-related
+**/dgph
+**/xcuserdata/
diff --git a/examples/flutter/quickstart/macos/Flutter/Flutter-Debug.xcconfig b/examples/flutter/quickstart/macos/Flutter/Flutter-Debug.xcconfig
new file mode 100644
index 00000000..4b81f9b2
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Flutter/Flutter-Debug.xcconfig
@@ -0,0 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/examples/flutter/quickstart/macos/Flutter/Flutter-Release.xcconfig b/examples/flutter/quickstart/macos/Flutter/Flutter-Release.xcconfig
new file mode 100644
index 00000000..5caa9d15
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Flutter/Flutter-Release.xcconfig
@@ -0,0 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
+#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/examples/flutter/quickstart/macos/Flutter/GeneratedPluginRegistrant.swift b/examples/flutter/quickstart/macos/Flutter/GeneratedPluginRegistrant.swift
new file mode 100644
index 00000000..b6c27f96
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -0,0 +1,12 @@
+//
+// Generated file. Do not edit.
+//
+
+import FlutterMacOS
+import Foundation
+
+import thermion_flutter
+
+func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
+ SwiftThermionFlutterPlugin.register(with: registry.registrar(forPlugin: "SwiftThermionFlutterPlugin"))
+}
diff --git a/examples/flutter/quickstart/macos/Podfile b/examples/flutter/quickstart/macos/Podfile
new file mode 100644
index 00000000..90de47d4
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Podfile
@@ -0,0 +1,43 @@
+platform :osx, '13.0'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def flutter_root
+ generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
+ end
+
+ File.foreach(generated_xcode_build_settings_path) do |line|
+ matches = line.match(/FLUTTER_ROOT\=(.*)/)
+ return matches[1].strip if matches
+ end
+ raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
+end
+
+require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+flutter_macos_podfile_setup
+
+target 'Runner' do
+ use_frameworks!
+ use_modular_headers!
+
+ flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
+ target 'RunnerTests' do
+ inherit! :search_paths
+ end
+end
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ flutter_additional_macos_build_settings(target)
+ end
+end
diff --git a/examples/flutter/quickstart/macos/Podfile.lock b/examples/flutter/quickstart/macos/Podfile.lock
new file mode 100644
index 00000000..1a5a471c
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Podfile.lock
@@ -0,0 +1,22 @@
+PODS:
+ - FlutterMacOS (1.0.0)
+ - thermion_flutter (0.0.1):
+ - FlutterMacOS
+
+DEPENDENCIES:
+ - FlutterMacOS (from `Flutter/ephemeral`)
+ - thermion_flutter (from `Flutter/ephemeral/.symlinks/plugins/thermion_flutter/macos`)
+
+EXTERNAL SOURCES:
+ FlutterMacOS:
+ :path: Flutter/ephemeral
+ thermion_flutter:
+ :path: Flutter/ephemeral/.symlinks/plugins/thermion_flutter/macos
+
+SPEC CHECKSUMS:
+ FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
+ thermion_flutter: debb51a861788780ce40e11e4400c2e5a8681fdf
+
+PODFILE CHECKSUM: 1888651be91a8ad58692c1add9ce24279fd4e950
+
+COCOAPODS: 1.15.2
diff --git a/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj b/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..a3932134
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,803 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXAggregateTarget section */
+ 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = {
+ isa = PBXAggregateTarget;
+ buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */;
+ buildPhases = (
+ 33CC111E2044C6BF0003C045 /* ShellScript */,
+ );
+ dependencies = (
+ );
+ name = "Flutter Assemble";
+ productName = FLX;
+ };
+/* End PBXAggregateTarget section */
+
+/* Begin PBXBuildFile section */
+ 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; };
+ 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
+ 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
+ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
+ 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
+ 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
+ 56F02897B820ADA2DE043C9B /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 93162ABED09E78126BD3CDE5 /* Pods_Runner.framework */; };
+ 62AA8D6F0977DC04C5F3E47D /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9491FF37DFB0425E4EA0B397 /* Pods_RunnerTests.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 33CC10EC2044A3C60003C045;
+ remoteInfo = Runner;
+ };
+ 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 33CC111A2044C6BA0003C045;
+ remoteInfo = FLX;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 33CC110E2044A8840003C045 /* Bundle Framework */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Bundle Framework";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; };
+ 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
+ 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
+ 33CC10ED2044A3C60003C045 /* quickstart.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = quickstart.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
+ 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
+ 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; };
+ 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; };
+ 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; };
+ 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; };
+ 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; };
+ 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
+ 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
+ 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
+ 4DE9521732D230B91BB45C73 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
+ 5C2B9597C21FB64F23F75F32 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; };
+ 61CABADBE923C1C839256779 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
+ 89306E3842C70B544B3CD9C8 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
+ 914F20B2B6A55F4538F4FECA /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; };
+ 93162ABED09E78126BD3CDE5 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 9491FF37DFB0425E4EA0B397 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
+ E5EDF04F05E94A7EC21CBB16 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 331C80D2294CF70F00263BE5 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 62AA8D6F0977DC04C5F3E47D /* Pods_RunnerTests.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 33CC10EA2044A3C60003C045 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 56F02897B820ADA2DE043C9B /* Pods_Runner.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 0AD0DB307687B659B7995D8A /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ 4DE9521732D230B91BB45C73 /* Pods-Runner.debug.xcconfig */,
+ 89306E3842C70B544B3CD9C8 /* Pods-Runner.release.xcconfig */,
+ 61CABADBE923C1C839256779 /* Pods-Runner.profile.xcconfig */,
+ 914F20B2B6A55F4538F4FECA /* Pods-RunnerTests.debug.xcconfig */,
+ 5C2B9597C21FB64F23F75F32 /* Pods-RunnerTests.release.xcconfig */,
+ E5EDF04F05E94A7EC21CBB16 /* Pods-RunnerTests.profile.xcconfig */,
+ );
+ path = Pods;
+ sourceTree = "";
+ };
+ 331C80D6294CF71000263BE5 /* RunnerTests */ = {
+ isa = PBXGroup;
+ children = (
+ 331C80D7294CF71000263BE5 /* RunnerTests.swift */,
+ );
+ path = RunnerTests;
+ sourceTree = "";
+ };
+ 33BA886A226E78AF003329D5 /* Configs */ = {
+ isa = PBXGroup;
+ children = (
+ 33E5194F232828860026EE4D /* AppInfo.xcconfig */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
+ );
+ path = Configs;
+ sourceTree = "";
+ };
+ 33CC10E42044A3C60003C045 = {
+ isa = PBXGroup;
+ children = (
+ 33FAB671232836740065AC1E /* Runner */,
+ 33CEB47122A05771004F2AC0 /* Flutter */,
+ 331C80D6294CF71000263BE5 /* RunnerTests */,
+ 33CC10EE2044A3C60003C045 /* Products */,
+ D73912EC22F37F3D000D13A0 /* Frameworks */,
+ 0AD0DB307687B659B7995D8A /* Pods */,
+ );
+ sourceTree = "";
+ };
+ 33CC10EE2044A3C60003C045 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10ED2044A3C60003C045 /* quickstart.app */,
+ 331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 33CC11242044D66E0003C045 /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10F22044A3C60003C045 /* Assets.xcassets */,
+ 33CC10F42044A3C60003C045 /* MainMenu.xib */,
+ 33CC10F72044A3C60003C045 /* Info.plist */,
+ );
+ name = Resources;
+ path = ..;
+ sourceTree = "";
+ };
+ 33CEB47122A05771004F2AC0 /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
+ 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
+ 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
+ 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
+ );
+ path = Flutter;
+ sourceTree = "";
+ };
+ 33FAB671232836740065AC1E /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 33CC10F02044A3C60003C045 /* AppDelegate.swift */,
+ 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
+ 33E51913231747F40026EE4D /* DebugProfile.entitlements */,
+ 33E51914231749380026EE4D /* Release.entitlements */,
+ 33CC11242044D66E0003C045 /* Resources */,
+ 33BA886A226E78AF003329D5 /* Configs */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ D73912EC22F37F3D000D13A0 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 93162ABED09E78126BD3CDE5 /* Pods_Runner.framework */,
+ 9491FF37DFB0425E4EA0B397 /* Pods_RunnerTests.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 331C80D4294CF70F00263BE5 /* RunnerTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
+ buildPhases = (
+ 465FA95FF24452F333D1C1C1 /* [CP] Check Pods Manifest.lock */,
+ 331C80D1294CF70F00263BE5 /* Sources */,
+ 331C80D2294CF70F00263BE5 /* Frameworks */,
+ 331C80D3294CF70F00263BE5 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 331C80DA294CF71000263BE5 /* PBXTargetDependency */,
+ );
+ name = RunnerTests;
+ productName = RunnerTests;
+ productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+ 33CC10EC2044A3C60003C045 /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ ED773E1A7DA74470DCD044C6 /* [CP] Check Pods Manifest.lock */,
+ 33CC10E92044A3C60003C045 /* Sources */,
+ 33CC10EA2044A3C60003C045 /* Frameworks */,
+ 33CC10EB2044A3C60003C045 /* Resources */,
+ 33CC110E2044A8840003C045 /* Bundle Framework */,
+ 3399D490228B24CF009A79C7 /* ShellScript */,
+ CB1E43C40756BBF229674223 /* [CP] Embed Pods Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 33CC11202044C79F0003C045 /* PBXTargetDependency */,
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 33CC10ED2044A3C60003C045 /* quickstart.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 33CC10E52044A3C60003C045 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ BuildIndependentTargetsInParallel = YES;
+ LastSwiftUpdateCheck = 0920;
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 331C80D4294CF70F00263BE5 = {
+ CreatedOnToolsVersion = 14.0;
+ TestTargetID = 33CC10EC2044A3C60003C045;
+ };
+ 33CC10EC2044A3C60003C045 = {
+ CreatedOnToolsVersion = 9.2;
+ LastSwiftMigration = 1100;
+ ProvisioningStyle = Automatic;
+ SystemCapabilities = {
+ com.apple.Sandbox = {
+ enabled = 1;
+ };
+ };
+ };
+ 33CC111A2044C6BA0003C045 = {
+ CreatedOnToolsVersion = 9.2;
+ ProvisioningStyle = Manual;
+ };
+ };
+ };
+ buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 33CC10E42044A3C60003C045;
+ productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 33CC10EC2044A3C60003C045 /* Runner */,
+ 331C80D4294CF70F00263BE5 /* RunnerTests */,
+ 33CC111A2044C6BA0003C045 /* Flutter Assemble */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 331C80D3294CF70F00263BE5 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 33CC10EB2044A3C60003C045 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
+ 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3399D490228B24CF009A79C7 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
+ };
+ 33CC111E2044C6BF0003C045 /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ Flutter/ephemeral/FlutterInputs.xcfilelist,
+ );
+ inputPaths = (
+ Flutter/ephemeral/tripwire,
+ );
+ outputFileListPaths = (
+ Flutter/ephemeral/FlutterOutputs.xcfilelist,
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
+ };
+ 465FA95FF24452F333D1C1C1 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ CB1E43C40756BBF229674223 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ ED773E1A7DA74470DCD044C6 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 331C80D1294CF70F00263BE5 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 33CC10E92044A3C60003C045 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */,
+ 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */,
+ 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 33CC10EC2044A3C60003C045 /* Runner */;
+ targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */;
+ };
+ 33CC11202044C79F0003C045 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
+ targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 33CC10F42044A3C60003C045 /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 33CC10F52044A3C60003C045 /* Base */,
+ );
+ name = MainMenu.xib;
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 331C80DB294CF71000263BE5 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 914F20B2B6A55F4538F4FECA /* Pods-RunnerTests.debug.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/quickstart.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/quickstart";
+ };
+ name = Debug;
+ };
+ 331C80DC294CF71000263BE5 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 5C2B9597C21FB64F23F75F32 /* Pods-RunnerTests.release.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/quickstart.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/quickstart";
+ };
+ name = Release;
+ };
+ 331C80DD294CF71000263BE5 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = E5EDF04F05E94A7EC21CBB16 /* Pods-RunnerTests.profile.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/quickstart.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/quickstart";
+ };
+ name = Profile;
+ };
+ 338D0CE9231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEAD_CODE_STRIPPING = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ };
+ name = Profile;
+ };
+ 338D0CEA231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 13.0;
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Profile;
+ };
+ 338D0CEB231458BD00FA5F75 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Manual;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Profile;
+ };
+ 33CC10F92044A3C60003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEAD_CODE_STRIPPING = YES;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 33CC10FA2044A3C60003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CODE_SIGN_IDENTITY = "-";
+ COPY_PHASE_STRIP = NO;
+ DEAD_CODE_STRIPPING = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.14;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = macosx;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ };
+ name = Release;
+ };
+ 33CC10FC2044A3C60003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 13.0;
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Debug;
+ };
+ 33CC10FD2044A3C60003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
+ CODE_SIGN_STYLE = Automatic;
+ COMBINE_HIDPI_IMAGES = YES;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/../Frameworks",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 13.0;
+ PROVISIONING_PROFILE_SPECIFIER = "";
+ SWIFT_VERSION = 5.0;
+ };
+ name = Release;
+ };
+ 33CC111C2044C6BA0003C045 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Manual;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 33CC111D2044C6BA0003C045 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 331C80DB294CF71000263BE5 /* Debug */,
+ 331C80DC294CF71000263BE5 /* Release */,
+ 331C80DD294CF71000263BE5 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC10F92044A3C60003C045 /* Debug */,
+ 33CC10FA2044A3C60003C045 /* Release */,
+ 338D0CE9231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC10FC2044A3C60003C045 /* Debug */,
+ 33CC10FD2044A3C60003C045 /* Release */,
+ 338D0CEA231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 33CC111C2044C6BA0003C045 /* Debug */,
+ 33CC111D2044C6BA0003C045 /* Release */,
+ 338D0CEB231458BD00FA5F75 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 33CC10E52044A3C60003C045 /* Project object */;
+}
diff --git a/examples/flutter/quickstart/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/flutter/quickstart/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/examples/flutter/quickstart/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/flutter/quickstart/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 00000000..8cd4e3e4
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/macos/Runner.xcworkspace/contents.xcworkspacedata b/examples/flutter/quickstart/macos/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..21a3cc14
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/flutter/quickstart/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/examples/flutter/quickstart/macos/Runner/AppDelegate.swift b/examples/flutter/quickstart/macos/Runner/AppDelegate.swift
new file mode 100644
index 00000000..b3c17614
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import Cocoa
+import FlutterMacOS
+
+@main
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+
+ override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
+ return true
+ }
+}
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000..a2ec33f1
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,68 @@
+{
+ "images" : [
+ {
+ "size" : "16x16",
+ "idiom" : "mac",
+ "filename" : "app_icon_16.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "16x16",
+ "idiom" : "mac",
+ "filename" : "app_icon_32.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "32x32",
+ "idiom" : "mac",
+ "filename" : "app_icon_32.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "32x32",
+ "idiom" : "mac",
+ "filename" : "app_icon_64.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "128x128",
+ "idiom" : "mac",
+ "filename" : "app_icon_128.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "128x128",
+ "idiom" : "mac",
+ "filename" : "app_icon_256.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "256x256",
+ "idiom" : "mac",
+ "filename" : "app_icon_256.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "256x256",
+ "idiom" : "mac",
+ "filename" : "app_icon_512.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "512x512",
+ "idiom" : "mac",
+ "filename" : "app_icon_512.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "512x512",
+ "idiom" : "mac",
+ "filename" : "app_icon_1024.png",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
new file mode 100644
index 00000000..82b6f9d9
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
new file mode 100644
index 00000000..13b35eba
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
new file mode 100644
index 00000000..0a3f5fa4
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
new file mode 100644
index 00000000..bdb57226
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
new file mode 100644
index 00000000..f083318e
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
new file mode 100644
index 00000000..326c0e72
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
new file mode 100644
index 00000000..2f1632cf
Binary files /dev/null and b/examples/flutter/quickstart/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png differ
diff --git a/examples/flutter/quickstart/macos/Runner/Base.lproj/MainMenu.xib b/examples/flutter/quickstart/macos/Runner/Base.lproj/MainMenu.xib
new file mode 100644
index 00000000..80e867a4
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Base.lproj/MainMenu.xib
@@ -0,0 +1,343 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/macos/Runner/Configs/AppInfo.xcconfig b/examples/flutter/quickstart/macos/Runner/Configs/AppInfo.xcconfig
new file mode 100644
index 00000000..b638164d
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Configs/AppInfo.xcconfig
@@ -0,0 +1,14 @@
+// Application-level settings for the Runner target.
+//
+// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
+// future. If not, the values below would default to using the project name when this becomes a
+// 'flutter create' template.
+
+// The application's name. By default this is also the title of the Flutter window.
+PRODUCT_NAME = quickstart
+
+// The application's bundle identifier
+PRODUCT_BUNDLE_IDENTIFIER = com.example.quickstart
+
+// The copyright displayed in application information
+PRODUCT_COPYRIGHT = Copyright © 2024 com.example. All rights reserved.
diff --git a/examples/flutter/quickstart/macos/Runner/Configs/Debug.xcconfig b/examples/flutter/quickstart/macos/Runner/Configs/Debug.xcconfig
new file mode 100644
index 00000000..36b0fd94
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Configs/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include "../../Flutter/Flutter-Debug.xcconfig"
+#include "Warnings.xcconfig"
diff --git a/examples/flutter/quickstart/macos/Runner/Configs/Release.xcconfig b/examples/flutter/quickstart/macos/Runner/Configs/Release.xcconfig
new file mode 100644
index 00000000..dff4f495
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Configs/Release.xcconfig
@@ -0,0 +1,2 @@
+#include "../../Flutter/Flutter-Release.xcconfig"
+#include "Warnings.xcconfig"
diff --git a/examples/flutter/quickstart/macos/Runner/Configs/Warnings.xcconfig b/examples/flutter/quickstart/macos/Runner/Configs/Warnings.xcconfig
new file mode 100644
index 00000000..42bcbf47
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Configs/Warnings.xcconfig
@@ -0,0 +1,13 @@
+WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
+GCC_WARN_UNDECLARED_SELECTOR = YES
+CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
+CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
+CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
+CLANG_WARN_PRAGMA_PACK = YES
+CLANG_WARN_STRICT_PROTOTYPES = YES
+CLANG_WARN_COMMA = YES
+GCC_WARN_STRICT_SELECTOR_MATCH = YES
+CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
+CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
+GCC_WARN_SHADOW = YES
+CLANG_WARN_UNREACHABLE_CODE = YES
diff --git a/examples/flutter/quickstart/macos/Runner/DebugProfile.entitlements b/examples/flutter/quickstart/macos/Runner/DebugProfile.entitlements
new file mode 100644
index 00000000..dddb8a30
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/DebugProfile.entitlements
@@ -0,0 +1,12 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+ com.apple.security.cs.allow-jit
+
+ com.apple.security.network.server
+
+
+
diff --git a/examples/flutter/quickstart/macos/Runner/Info.plist b/examples/flutter/quickstart/macos/Runner/Info.plist
new file mode 100644
index 00000000..624ac974
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Info.plist
@@ -0,0 +1,34 @@
+
+
+
+
+ MetalCaptureEnabled
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIconFile
+
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSMinimumSystemVersion
+ $(MACOSX_DEPLOYMENT_TARGET)
+ NSHumanReadableCopyright
+ $(PRODUCT_COPYRIGHT)
+ NSMainNibFile
+ MainMenu
+ NSPrincipalClass
+ NSApplication
+
+
diff --git a/examples/flutter/quickstart/macos/Runner/MainFlutterWindow.swift b/examples/flutter/quickstart/macos/Runner/MainFlutterWindow.swift
new file mode 100644
index 00000000..3cc05eb2
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/MainFlutterWindow.swift
@@ -0,0 +1,15 @@
+import Cocoa
+import FlutterMacOS
+
+class MainFlutterWindow: NSWindow {
+ override func awakeFromNib() {
+ let flutterViewController = FlutterViewController()
+ let windowFrame = self.frame
+ self.contentViewController = flutterViewController
+ self.setFrame(windowFrame, display: true)
+
+ RegisterGeneratedPlugins(registry: flutterViewController)
+
+ super.awakeFromNib()
+ }
+}
diff --git a/examples/flutter/quickstart/macos/Runner/Release.entitlements b/examples/flutter/quickstart/macos/Runner/Release.entitlements
new file mode 100644
index 00000000..852fa1a4
--- /dev/null
+++ b/examples/flutter/quickstart/macos/Runner/Release.entitlements
@@ -0,0 +1,8 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+
diff --git a/examples/flutter/quickstart/macos/RunnerTests/RunnerTests.swift b/examples/flutter/quickstart/macos/RunnerTests/RunnerTests.swift
new file mode 100644
index 00000000..61f3bd1f
--- /dev/null
+++ b/examples/flutter/quickstart/macos/RunnerTests/RunnerTests.swift
@@ -0,0 +1,12 @@
+import Cocoa
+import FlutterMacOS
+import XCTest
+
+class RunnerTests: XCTestCase {
+
+ func testExample() {
+ // If you add code to the Runner application, consider adding tests here.
+ // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
+ }
+
+}
diff --git a/examples/flutter/quickstart/pubspec.yaml b/examples/flutter/quickstart/pubspec.yaml
new file mode 100644
index 00000000..64904504
--- /dev/null
+++ b/examples/flutter/quickstart/pubspec.yaml
@@ -0,0 +1,40 @@
+name: quickstart
+description: "A new Flutter project."
+publish_to: 'none' # Remove this line if you wish to publish to pub.dev
+
+version: 1.0.0+1
+
+environment:
+ sdk: '>=3.3.0 <4.0.0'
+
+dependencies:
+ flutter:
+ sdk: flutter
+ cupertino_icons: ^1.0.8
+ vector_math: ^2.1.4
+
+ win32: 5.5.1
+ web: 1.0.0
+ thermion_flutter: ^0.2.1-dev.7
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+ flutter_lints: ^4.0.0
+
+dependency_overrides:
+ thermion_dart:
+ path: /Users/nickfisher/Documents/polyvox/apps/packages/thermion/thermion_dart
+ thermion_flutter_web:
+ path: /Users/nickfisher/Documents/polyvox/apps/packages/thermion/thermion_flutter/thermion_flutter_web
+ thermion_flutter:
+ path: /Users/nickfisher/Documents/polyvox/apps/packages/thermion/thermion_flutter/thermion_flutter
+ thermion_flutter_platform_interface:
+ path: /Users/nickfisher/Documents/polyvox/apps/packages/thermion/thermion_flutter/thermion_flutter_platform_interface
+ thermion_flutter_ffi:
+ path: /Users/nickfisher/Documents/polyvox/apps/packages/thermion/thermion_flutter/thermion_flutter_ffi
+
+flutter:
+ uses-material-design: true
+ assets:
+ - assets/
diff --git a/examples/flutter/quickstart/test/widget_test.dart b/examples/flutter/quickstart/test/widget_test.dart
new file mode 100644
index 00000000..fe677c1e
--- /dev/null
+++ b/examples/flutter/quickstart/test/widget_test.dart
@@ -0,0 +1,30 @@
+// This is a basic Flutter widget test.
+//
+// To perform an interaction with a widget in your test, use the WidgetTester
+// utility in the flutter_test package. For example, you can send tap and scroll
+// gestures. You can also use WidgetTester to find child widgets in the widget
+// tree, read text, and verify that the values of widget properties are correct.
+
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import 'package:quickstart/main.dart';
+
+void main() {
+ testWidgets('Counter increments smoke test', (WidgetTester tester) async {
+ // Build our app and trigger a frame.
+ await tester.pumpWidget(const MyApp());
+
+ // Verify that our counter starts at 0.
+ expect(find.text('0'), findsOneWidget);
+ expect(find.text('1'), findsNothing);
+
+ // Tap the '+' icon and trigger a frame.
+ await tester.tap(find.byIcon(Icons.add));
+ await tester.pump();
+
+ // Verify that our counter has incremented.
+ expect(find.text('0'), findsNothing);
+ expect(find.text('1'), findsOneWidget);
+ });
+}
diff --git a/examples/flutter/quickstart/web/favicon.png b/examples/flutter/quickstart/web/favicon.png
new file mode 100644
index 00000000..8aaa46ac
Binary files /dev/null and b/examples/flutter/quickstart/web/favicon.png differ
diff --git a/examples/flutter/quickstart/web/icons/Icon-192.png b/examples/flutter/quickstart/web/icons/Icon-192.png
new file mode 100644
index 00000000..b749bfef
Binary files /dev/null and b/examples/flutter/quickstart/web/icons/Icon-192.png differ
diff --git a/examples/flutter/quickstart/web/icons/Icon-512.png b/examples/flutter/quickstart/web/icons/Icon-512.png
new file mode 100644
index 00000000..88cfd48d
Binary files /dev/null and b/examples/flutter/quickstart/web/icons/Icon-512.png differ
diff --git a/examples/flutter/quickstart/web/icons/Icon-maskable-192.png b/examples/flutter/quickstart/web/icons/Icon-maskable-192.png
new file mode 100644
index 00000000..eb9b4d76
Binary files /dev/null and b/examples/flutter/quickstart/web/icons/Icon-maskable-192.png differ
diff --git a/examples/flutter/quickstart/web/icons/Icon-maskable-512.png b/examples/flutter/quickstart/web/icons/Icon-maskable-512.png
new file mode 100644
index 00000000..d69c5669
Binary files /dev/null and b/examples/flutter/quickstart/web/icons/Icon-maskable-512.png differ
diff --git a/examples/flutter/quickstart/web/index.html b/examples/flutter/quickstart/web/index.html
new file mode 100644
index 00000000..cbadfa17
--- /dev/null
+++ b/examples/flutter/quickstart/web/index.html
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ quickstart
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples/flutter/quickstart/web/manifest.json b/examples/flutter/quickstart/web/manifest.json
new file mode 100644
index 00000000..1dd1a2f1
--- /dev/null
+++ b/examples/flutter/quickstart/web/manifest.json
@@ -0,0 +1,35 @@
+{
+ "name": "quickstart",
+ "short_name": "quickstart",
+ "start_url": ".",
+ "display": "standalone",
+ "background_color": "#0175C2",
+ "theme_color": "#0175C2",
+ "description": "A new Flutter project.",
+ "orientation": "portrait-primary",
+ "prefer_related_applications": false,
+ "icons": [
+ {
+ "src": "icons/Icon-192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "icons/Icon-512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ },
+ {
+ "src": "icons/Icon-maskable-192.png",
+ "sizes": "192x192",
+ "type": "image/png",
+ "purpose": "maskable"
+ },
+ {
+ "src": "icons/Icon-maskable-512.png",
+ "sizes": "512x512",
+ "type": "image/png",
+ "purpose": "maskable"
+ }
+ ]
+}
diff --git a/examples/flutter/quickstart/web/thermion_dart.js b/examples/flutter/quickstart/web/thermion_dart.js
new file mode 120000
index 00000000..5d40113f
--- /dev/null
+++ b/examples/flutter/quickstart/web/thermion_dart.js
@@ -0,0 +1 @@
+../../../assets/thermion_dart.js
\ No newline at end of file
diff --git a/examples/flutter/quickstart/web/thermion_dart.wasm b/examples/flutter/quickstart/web/thermion_dart.wasm
new file mode 120000
index 00000000..194fa421
--- /dev/null
+++ b/examples/flutter/quickstart/web/thermion_dart.wasm
@@ -0,0 +1 @@
+../../../assets/thermion_dart.wasm
\ No newline at end of file
diff --git a/examples/flutter/quickstart/windows/.gitignore b/examples/flutter/quickstart/windows/.gitignore
new file mode 100644
index 00000000..d492d0d9
--- /dev/null
+++ b/examples/flutter/quickstart/windows/.gitignore
@@ -0,0 +1,17 @@
+flutter/ephemeral/
+
+# Visual Studio user-specific files.
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# Visual Studio build-related files.
+x64/
+x86/
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
diff --git a/examples/flutter/quickstart/windows/CMakeLists.txt b/examples/flutter/quickstart/windows/CMakeLists.txt
new file mode 100644
index 00000000..21862f80
--- /dev/null
+++ b/examples/flutter/quickstart/windows/CMakeLists.txt
@@ -0,0 +1,108 @@
+# Project-level configuration.
+cmake_minimum_required(VERSION 3.14)
+project(quickstart LANGUAGES CXX)
+
+# The name of the executable created for the application. Change this to change
+# the on-disk name of your application.
+set(BINARY_NAME "quickstart")
+
+# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
+# versions of CMake.
+cmake_policy(VERSION 3.14...3.25)
+
+# Define build configuration option.
+get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
+if(IS_MULTICONFIG)
+ set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release"
+ CACHE STRING "" FORCE)
+else()
+ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_BUILD_TYPE "Debug" CACHE
+ STRING "Flutter build mode" FORCE)
+ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
+ "Debug" "Profile" "Release")
+ endif()
+endif()
+# Define settings for the Profile build mode.
+set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}")
+set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}")
+set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}")
+set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}")
+
+# Use Unicode for all projects.
+add_definitions(-DUNICODE -D_UNICODE)
+
+# Compilation settings that should be applied to most targets.
+#
+# Be cautious about adding new options here, as plugins use this function by
+# default. In most cases, you should add new options to specific targets instead
+# of modifying this function.
+function(APPLY_STANDARD_SETTINGS TARGET)
+ target_compile_features(${TARGET} PUBLIC cxx_std_17)
+ target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100")
+ target_compile_options(${TARGET} PRIVATE /EHsc)
+ target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0")
+ target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>")
+endfunction()
+
+# Flutter library and tool build rules.
+set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
+add_subdirectory(${FLUTTER_MANAGED_DIR})
+
+# Application build; see runner/CMakeLists.txt.
+add_subdirectory("runner")
+
+
+# Generated plugin build rules, which manage building the plugins and adding
+# them to the application.
+include(flutter/generated_plugins.cmake)
+
+
+# === Installation ===
+# Support files are copied into place next to the executable, so that it can
+# run in place. This is done instead of making a separate bundle (as on Linux)
+# so that building and running from within Visual Studio will work.
+set(BUILD_BUNDLE_DIR "$")
+# Make the "install" step default, as it's required to run.
+set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1)
+if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+ set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
+endif()
+
+set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
+set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}")
+
+install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
+ COMPONENT Runtime)
+
+install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+
+if(PLUGIN_BUNDLED_LIBRARIES)
+ install(FILES "${PLUGIN_BUNDLED_LIBRARIES}"
+ DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+endif()
+
+# Copy the native assets provided by the build.dart from all packages.
+set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/")
+install(DIRECTORY "${NATIVE_ASSETS_DIR}"
+ DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
+ COMPONENT Runtime)
+
+# Fully re-copy the assets directory on each build to avoid having stale files
+# from a previous install.
+set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
+install(CODE "
+ file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
+ " COMPONENT Runtime)
+install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
+ DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
+
+# Install the AOT library on non-Debug builds only.
+install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
+ CONFIGURATIONS Profile;Release
+ COMPONENT Runtime)
diff --git a/examples/flutter/quickstart/windows/flutter/CMakeLists.txt b/examples/flutter/quickstart/windows/flutter/CMakeLists.txt
new file mode 100644
index 00000000..903f4899
--- /dev/null
+++ b/examples/flutter/quickstart/windows/flutter/CMakeLists.txt
@@ -0,0 +1,109 @@
+# This file controls Flutter-level build steps. It should not be edited.
+cmake_minimum_required(VERSION 3.14)
+
+set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
+
+# Configuration provided via flutter tool.
+include(${EPHEMERAL_DIR}/generated_config.cmake)
+
+# TODO: Move the rest of this into files in ephemeral. See
+# https://github.com/flutter/flutter/issues/57146.
+set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper")
+
+# Set fallback configurations for older versions of the flutter tool.
+if (NOT DEFINED FLUTTER_TARGET_PLATFORM)
+ set(FLUTTER_TARGET_PLATFORM "windows-x64")
+endif()
+
+# === Flutter Library ===
+set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll")
+
+# Published to parent scope for install step.
+set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
+set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
+set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
+set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE)
+
+list(APPEND FLUTTER_LIBRARY_HEADERS
+ "flutter_export.h"
+ "flutter_windows.h"
+ "flutter_messenger.h"
+ "flutter_plugin_registrar.h"
+ "flutter_texture_registrar.h"
+)
+list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/")
+add_library(flutter INTERFACE)
+target_include_directories(flutter INTERFACE
+ "${EPHEMERAL_DIR}"
+)
+target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib")
+add_dependencies(flutter flutter_assemble)
+
+# === Wrapper ===
+list(APPEND CPP_WRAPPER_SOURCES_CORE
+ "core_implementations.cc"
+ "standard_codec.cc"
+)
+list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/")
+list(APPEND CPP_WRAPPER_SOURCES_PLUGIN
+ "plugin_registrar.cc"
+)
+list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/")
+list(APPEND CPP_WRAPPER_SOURCES_APP
+ "flutter_engine.cc"
+ "flutter_view_controller.cc"
+)
+list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/")
+
+# Wrapper sources needed for a plugin.
+add_library(flutter_wrapper_plugin STATIC
+ ${CPP_WRAPPER_SOURCES_CORE}
+ ${CPP_WRAPPER_SOURCES_PLUGIN}
+)
+apply_standard_settings(flutter_wrapper_plugin)
+set_target_properties(flutter_wrapper_plugin PROPERTIES
+ POSITION_INDEPENDENT_CODE ON)
+set_target_properties(flutter_wrapper_plugin PROPERTIES
+ CXX_VISIBILITY_PRESET hidden)
+target_link_libraries(flutter_wrapper_plugin PUBLIC flutter)
+target_include_directories(flutter_wrapper_plugin PUBLIC
+ "${WRAPPER_ROOT}/include"
+)
+add_dependencies(flutter_wrapper_plugin flutter_assemble)
+
+# Wrapper sources needed for the runner.
+add_library(flutter_wrapper_app STATIC
+ ${CPP_WRAPPER_SOURCES_CORE}
+ ${CPP_WRAPPER_SOURCES_APP}
+)
+apply_standard_settings(flutter_wrapper_app)
+target_link_libraries(flutter_wrapper_app PUBLIC flutter)
+target_include_directories(flutter_wrapper_app PUBLIC
+ "${WRAPPER_ROOT}/include"
+)
+add_dependencies(flutter_wrapper_app flutter_assemble)
+
+# === Flutter tool backend ===
+# _phony_ is a non-existent file to force this command to run every time,
+# since currently there's no way to get a full input/output list from the
+# flutter tool.
+set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_")
+set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE)
+add_custom_command(
+ OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
+ ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN}
+ ${CPP_WRAPPER_SOURCES_APP}
+ ${PHONY_OUTPUT}
+ COMMAND ${CMAKE_COMMAND} -E env
+ ${FLUTTER_TOOL_ENVIRONMENT}
+ "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
+ ${FLUTTER_TARGET_PLATFORM} $
+ VERBATIM
+)
+add_custom_target(flutter_assemble DEPENDS
+ "${FLUTTER_LIBRARY}"
+ ${FLUTTER_LIBRARY_HEADERS}
+ ${CPP_WRAPPER_SOURCES_CORE}
+ ${CPP_WRAPPER_SOURCES_PLUGIN}
+ ${CPP_WRAPPER_SOURCES_APP}
+)
diff --git a/examples/flutter/quickstart/windows/flutter/generated_plugin_registrant.cc b/examples/flutter/quickstart/windows/flutter/generated_plugin_registrant.cc
new file mode 100644
index 00000000..64919ad2
--- /dev/null
+++ b/examples/flutter/quickstart/windows/flutter/generated_plugin_registrant.cc
@@ -0,0 +1,14 @@
+//
+// Generated file. Do not edit.
+//
+
+// clang-format off
+
+#include "generated_plugin_registrant.h"
+
+#include
+
+void RegisterPlugins(flutter::PluginRegistry* registry) {
+ ThermionFlutterPluginCApiRegisterWithRegistrar(
+ registry->GetRegistrarForPlugin("ThermionFlutterPluginCApi"));
+}
diff --git a/examples/flutter/quickstart/windows/flutter/generated_plugin_registrant.h b/examples/flutter/quickstart/windows/flutter/generated_plugin_registrant.h
new file mode 100644
index 00000000..dc139d85
--- /dev/null
+++ b/examples/flutter/quickstart/windows/flutter/generated_plugin_registrant.h
@@ -0,0 +1,15 @@
+//
+// Generated file. Do not edit.
+//
+
+// clang-format off
+
+#ifndef GENERATED_PLUGIN_REGISTRANT_
+#define GENERATED_PLUGIN_REGISTRANT_
+
+#include
+
+// Registers Flutter plugins.
+void RegisterPlugins(flutter::PluginRegistry* registry);
+
+#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/examples/flutter/quickstart/windows/flutter/generated_plugins.cmake b/examples/flutter/quickstart/windows/flutter/generated_plugins.cmake
new file mode 100644
index 00000000..55f1a93d
--- /dev/null
+++ b/examples/flutter/quickstart/windows/flutter/generated_plugins.cmake
@@ -0,0 +1,24 @@
+#
+# Generated file, do not edit.
+#
+
+list(APPEND FLUTTER_PLUGIN_LIST
+ thermion_flutter
+)
+
+list(APPEND FLUTTER_FFI_PLUGIN_LIST
+)
+
+set(PLUGIN_BUNDLED_LIBRARIES)
+
+foreach(plugin ${FLUTTER_PLUGIN_LIST})
+ add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
+ target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
+ list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
+ list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
+endforeach(plugin)
+
+foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
+ add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
+ list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
+endforeach(ffi_plugin)
diff --git a/examples/flutter/quickstart/windows/runner/CMakeLists.txt b/examples/flutter/quickstart/windows/runner/CMakeLists.txt
new file mode 100644
index 00000000..394917c0
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/CMakeLists.txt
@@ -0,0 +1,40 @@
+cmake_minimum_required(VERSION 3.14)
+project(runner LANGUAGES CXX)
+
+# Define the application target. To change its name, change BINARY_NAME in the
+# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer
+# work.
+#
+# Any new source files that you add to the application should be added here.
+add_executable(${BINARY_NAME} WIN32
+ "flutter_window.cpp"
+ "main.cpp"
+ "utils.cpp"
+ "win32_window.cpp"
+ "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
+ "Runner.rc"
+ "runner.exe.manifest"
+)
+
+# Apply the standard set of build settings. This can be removed for applications
+# that need different build settings.
+apply_standard_settings(${BINARY_NAME})
+
+# Add preprocessor definitions for the build version.
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}")
+target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}")
+
+# Disable Windows macros that collide with C++ standard library functions.
+target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
+
+# Add dependency libraries and include directories. Add any application-specific
+# dependencies here.
+target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
+target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib")
+target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
+
+# Run the Flutter tool portions of the build. This must not be removed.
+add_dependencies(${BINARY_NAME} flutter_assemble)
diff --git a/examples/flutter/quickstart/windows/runner/Runner.rc b/examples/flutter/quickstart/windows/runner/Runner.rc
new file mode 100644
index 00000000..fb14283d
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/Runner.rc
@@ -0,0 +1,121 @@
+// Microsoft Visual C++ generated resource script.
+//
+#pragma code_page(65001)
+#include "resource.h"
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "winres.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (United States) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+ "resource.h\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+ "#include ""winres.h""\r\n"
+ "\0"
+END
+
+3 TEXTINCLUDE
+BEGIN
+ "\r\n"
+ "\0"
+END
+
+#endif // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Icon
+//
+
+// Icon with lowest ID value placed first to ensure application icon
+// remains consistent on all systems.
+IDI_APP_ICON ICON "resources\\app_icon.ico"
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
+#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
+#else
+#define VERSION_AS_NUMBER 1,0,0,0
+#endif
+
+#if defined(FLUTTER_VERSION)
+#define VERSION_AS_STRING FLUTTER_VERSION
+#else
+#define VERSION_AS_STRING "1.0.0"
+#endif
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION VERSION_AS_NUMBER
+ PRODUCTVERSION VERSION_AS_NUMBER
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904e4"
+ BEGIN
+ VALUE "CompanyName", "com.example" "\0"
+ VALUE "FileDescription", "quickstart" "\0"
+ VALUE "FileVersion", VERSION_AS_STRING "\0"
+ VALUE "InternalName", "quickstart" "\0"
+ VALUE "LegalCopyright", "Copyright (C) 2024 com.example. All rights reserved." "\0"
+ VALUE "OriginalFilename", "quickstart.exe" "\0"
+ VALUE "ProductName", "quickstart" "\0"
+ VALUE "ProductVersion", VERSION_AS_STRING "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END
+
+#endif // English (United States) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif // not APSTUDIO_INVOKED
diff --git a/examples/flutter/quickstart/windows/runner/flutter_window.cpp b/examples/flutter/quickstart/windows/runner/flutter_window.cpp
new file mode 100644
index 00000000..955ee303
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/flutter_window.cpp
@@ -0,0 +1,71 @@
+#include "flutter_window.h"
+
+#include
+
+#include "flutter/generated_plugin_registrant.h"
+
+FlutterWindow::FlutterWindow(const flutter::DartProject& project)
+ : project_(project) {}
+
+FlutterWindow::~FlutterWindow() {}
+
+bool FlutterWindow::OnCreate() {
+ if (!Win32Window::OnCreate()) {
+ return false;
+ }
+
+ RECT frame = GetClientArea();
+
+ // The size here must match the window dimensions to avoid unnecessary surface
+ // creation / destruction in the startup path.
+ flutter_controller_ = std::make_unique(
+ frame.right - frame.left, frame.bottom - frame.top, project_);
+ // Ensure that basic setup of the controller was successful.
+ if (!flutter_controller_->engine() || !flutter_controller_->view()) {
+ return false;
+ }
+ RegisterPlugins(flutter_controller_->engine());
+ SetChildContent(flutter_controller_->view()->GetNativeWindow());
+
+ flutter_controller_->engine()->SetNextFrameCallback([&]() {
+ this->Show();
+ });
+
+ // Flutter can complete the first frame before the "show window" callback is
+ // registered. The following call ensures a frame is pending to ensure the
+ // window is shown. It is a no-op if the first frame hasn't completed yet.
+ flutter_controller_->ForceRedraw();
+
+ return true;
+}
+
+void FlutterWindow::OnDestroy() {
+ if (flutter_controller_) {
+ flutter_controller_ = nullptr;
+ }
+
+ Win32Window::OnDestroy();
+}
+
+LRESULT
+FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ // Give Flutter, including plugins, an opportunity to handle window messages.
+ if (flutter_controller_) {
+ std::optional result =
+ flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
+ lparam);
+ if (result) {
+ return *result;
+ }
+ }
+
+ switch (message) {
+ case WM_FONTCHANGE:
+ flutter_controller_->engine()->ReloadSystemFonts();
+ break;
+ }
+
+ return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
+}
diff --git a/examples/flutter/quickstart/windows/runner/flutter_window.h b/examples/flutter/quickstart/windows/runner/flutter_window.h
new file mode 100644
index 00000000..6da0652f
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/flutter_window.h
@@ -0,0 +1,33 @@
+#ifndef RUNNER_FLUTTER_WINDOW_H_
+#define RUNNER_FLUTTER_WINDOW_H_
+
+#include
+#include
+
+#include
+
+#include "win32_window.h"
+
+// A window that does nothing but host a Flutter view.
+class FlutterWindow : public Win32Window {
+ public:
+ // Creates a new FlutterWindow hosting a Flutter view running |project|.
+ explicit FlutterWindow(const flutter::DartProject& project);
+ virtual ~FlutterWindow();
+
+ protected:
+ // Win32Window:
+ bool OnCreate() override;
+ void OnDestroy() override;
+ LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
+ LPARAM const lparam) noexcept override;
+
+ private:
+ // The project to run.
+ flutter::DartProject project_;
+
+ // The Flutter instance hosted by this window.
+ std::unique_ptr flutter_controller_;
+};
+
+#endif // RUNNER_FLUTTER_WINDOW_H_
diff --git a/examples/flutter/quickstart/windows/runner/main.cpp b/examples/flutter/quickstart/windows/runner/main.cpp
new file mode 100644
index 00000000..b7fd16b9
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/main.cpp
@@ -0,0 +1,43 @@
+#include
+#include
+#include
+
+#include "flutter_window.h"
+#include "utils.h"
+
+int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
+ _In_ wchar_t *command_line, _In_ int show_command) {
+ // Attach to console when present (e.g., 'flutter run') or create a
+ // new console when running with a debugger.
+ if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
+ CreateAndAttachConsole();
+ }
+
+ // Initialize COM, so that it is available for use in the library and/or
+ // plugins.
+ ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
+
+ flutter::DartProject project(L"data");
+
+ std::vector command_line_arguments =
+ GetCommandLineArguments();
+
+ project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
+
+ FlutterWindow window(project);
+ Win32Window::Point origin(10, 10);
+ Win32Window::Size size(1280, 720);
+ if (!window.Create(L"quickstart", origin, size)) {
+ return EXIT_FAILURE;
+ }
+ window.SetQuitOnClose(true);
+
+ ::MSG msg;
+ while (::GetMessage(&msg, nullptr, 0, 0)) {
+ ::TranslateMessage(&msg);
+ ::DispatchMessage(&msg);
+ }
+
+ ::CoUninitialize();
+ return EXIT_SUCCESS;
+}
diff --git a/examples/flutter/quickstart/windows/runner/resource.h b/examples/flutter/quickstart/windows/runner/resource.h
new file mode 100644
index 00000000..66a65d1e
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/resource.h
@@ -0,0 +1,16 @@
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by Runner.rc
+//
+#define IDI_APP_ICON 101
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 102
+#define _APS_NEXT_COMMAND_VALUE 40001
+#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif
diff --git a/examples/flutter/quickstart/windows/runner/resources/app_icon.ico b/examples/flutter/quickstart/windows/runner/resources/app_icon.ico
new file mode 100644
index 00000000..c04e20ca
Binary files /dev/null and b/examples/flutter/quickstart/windows/runner/resources/app_icon.ico differ
diff --git a/examples/flutter/quickstart/windows/runner/runner.exe.manifest b/examples/flutter/quickstart/windows/runner/runner.exe.manifest
new file mode 100644
index 00000000..153653e8
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/runner.exe.manifest
@@ -0,0 +1,14 @@
+
+
+
+
+ PerMonitorV2
+
+
+
+
+
+
+
+
+
diff --git a/examples/flutter/quickstart/windows/runner/utils.cpp b/examples/flutter/quickstart/windows/runner/utils.cpp
new file mode 100644
index 00000000..3a0b4651
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/utils.cpp
@@ -0,0 +1,65 @@
+#include "utils.h"
+
+#include
+#include
+#include
+#include
+
+#include
+
+void CreateAndAttachConsole() {
+ if (::AllocConsole()) {
+ FILE *unused;
+ if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
+ _dup2(_fileno(stdout), 1);
+ }
+ if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
+ _dup2(_fileno(stdout), 2);
+ }
+ std::ios::sync_with_stdio();
+ FlutterDesktopResyncOutputStreams();
+ }
+}
+
+std::vector GetCommandLineArguments() {
+ // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
+ int argc;
+ wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
+ if (argv == nullptr) {
+ return std::vector();
+ }
+
+ std::vector command_line_arguments;
+
+ // Skip the first argument as it's the binary name.
+ for (int i = 1; i < argc; i++) {
+ command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
+ }
+
+ ::LocalFree(argv);
+
+ return command_line_arguments;
+}
+
+std::string Utf8FromUtf16(const wchar_t* utf16_string) {
+ if (utf16_string == nullptr) {
+ return std::string();
+ }
+ unsigned int target_length = ::WideCharToMultiByte(
+ CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
+ -1, nullptr, 0, nullptr, nullptr)
+ -1; // remove the trailing null character
+ int input_length = (int)wcslen(utf16_string);
+ std::string utf8_string;
+ if (target_length == 0 || target_length > utf8_string.max_size()) {
+ return utf8_string;
+ }
+ utf8_string.resize(target_length);
+ int converted_length = ::WideCharToMultiByte(
+ CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
+ input_length, utf8_string.data(), target_length, nullptr, nullptr);
+ if (converted_length == 0) {
+ return std::string();
+ }
+ return utf8_string;
+}
diff --git a/examples/flutter/quickstart/windows/runner/utils.h b/examples/flutter/quickstart/windows/runner/utils.h
new file mode 100644
index 00000000..3879d547
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/utils.h
@@ -0,0 +1,19 @@
+#ifndef RUNNER_UTILS_H_
+#define RUNNER_UTILS_H_
+
+#include
+#include
+
+// Creates a console for the process, and redirects stdout and stderr to
+// it for both the runner and the Flutter library.
+void CreateAndAttachConsole();
+
+// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
+// encoded in UTF-8. Returns an empty std::string on failure.
+std::string Utf8FromUtf16(const wchar_t* utf16_string);
+
+// Gets the command line arguments passed in as a std::vector,
+// encoded in UTF-8. Returns an empty std::vector on failure.
+std::vector GetCommandLineArguments();
+
+#endif // RUNNER_UTILS_H_
diff --git a/examples/flutter/quickstart/windows/runner/win32_window.cpp b/examples/flutter/quickstart/windows/runner/win32_window.cpp
new file mode 100644
index 00000000..60608d0f
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/win32_window.cpp
@@ -0,0 +1,288 @@
+#include "win32_window.h"
+
+#include
+#include
+
+#include "resource.h"
+
+namespace {
+
+/// Window attribute that enables dark mode window decorations.
+///
+/// Redefined in case the developer's machine has a Windows SDK older than
+/// version 10.0.22000.0.
+/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute
+#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE
+#define DWMWA_USE_IMMERSIVE_DARK_MODE 20
+#endif
+
+constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW";
+
+/// Registry key for app theme preference.
+///
+/// A value of 0 indicates apps should use dark mode. A non-zero or missing
+/// value indicates apps should use light mode.
+constexpr const wchar_t kGetPreferredBrightnessRegKey[] =
+ L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize";
+constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme";
+
+// The number of Win32Window objects that currently exist.
+static int g_active_window_count = 0;
+
+using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd);
+
+// Scale helper to convert logical scaler values to physical using passed in
+// scale factor
+int Scale(int source, double scale_factor) {
+ return static_cast(source * scale_factor);
+}
+
+// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module.
+// This API is only needed for PerMonitor V1 awareness mode.
+void EnableFullDpiSupportIfAvailable(HWND hwnd) {
+ HMODULE user32_module = LoadLibraryA("User32.dll");
+ if (!user32_module) {
+ return;
+ }
+ auto enable_non_client_dpi_scaling =
+ reinterpret_cast(
+ GetProcAddress(user32_module, "EnableNonClientDpiScaling"));
+ if (enable_non_client_dpi_scaling != nullptr) {
+ enable_non_client_dpi_scaling(hwnd);
+ }
+ FreeLibrary(user32_module);
+}
+
+} // namespace
+
+// Manages the Win32Window's window class registration.
+class WindowClassRegistrar {
+ public:
+ ~WindowClassRegistrar() = default;
+
+ // Returns the singleton registrar instance.
+ static WindowClassRegistrar* GetInstance() {
+ if (!instance_) {
+ instance_ = new WindowClassRegistrar();
+ }
+ return instance_;
+ }
+
+ // Returns the name of the window class, registering the class if it hasn't
+ // previously been registered.
+ const wchar_t* GetWindowClass();
+
+ // Unregisters the window class. Should only be called if there are no
+ // instances of the window.
+ void UnregisterWindowClass();
+
+ private:
+ WindowClassRegistrar() = default;
+
+ static WindowClassRegistrar* instance_;
+
+ bool class_registered_ = false;
+};
+
+WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr;
+
+const wchar_t* WindowClassRegistrar::GetWindowClass() {
+ if (!class_registered_) {
+ WNDCLASS window_class{};
+ window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
+ window_class.lpszClassName = kWindowClassName;
+ window_class.style = CS_HREDRAW | CS_VREDRAW;
+ window_class.cbClsExtra = 0;
+ window_class.cbWndExtra = 0;
+ window_class.hInstance = GetModuleHandle(nullptr);
+ window_class.hIcon =
+ LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON));
+ window_class.hbrBackground = 0;
+ window_class.lpszMenuName = nullptr;
+ window_class.lpfnWndProc = Win32Window::WndProc;
+ RegisterClass(&window_class);
+ class_registered_ = true;
+ }
+ return kWindowClassName;
+}
+
+void WindowClassRegistrar::UnregisterWindowClass() {
+ UnregisterClass(kWindowClassName, nullptr);
+ class_registered_ = false;
+}
+
+Win32Window::Win32Window() {
+ ++g_active_window_count;
+}
+
+Win32Window::~Win32Window() {
+ --g_active_window_count;
+ Destroy();
+}
+
+bool Win32Window::Create(const std::wstring& title,
+ const Point& origin,
+ const Size& size) {
+ Destroy();
+
+ const wchar_t* window_class =
+ WindowClassRegistrar::GetInstance()->GetWindowClass();
+
+ const POINT target_point = {static_cast(origin.x),
+ static_cast(origin.y)};
+ HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST);
+ UINT dpi = FlutterDesktopGetDpiForMonitor(monitor);
+ double scale_factor = dpi / 96.0;
+
+ HWND window = CreateWindow(
+ window_class, title.c_str(), WS_OVERLAPPEDWINDOW,
+ Scale(origin.x, scale_factor), Scale(origin.y, scale_factor),
+ Scale(size.width, scale_factor), Scale(size.height, scale_factor),
+ nullptr, nullptr, GetModuleHandle(nullptr), this);
+
+ if (!window) {
+ return false;
+ }
+
+ UpdateTheme(window);
+
+ return OnCreate();
+}
+
+bool Win32Window::Show() {
+ return ShowWindow(window_handle_, SW_SHOWNORMAL);
+}
+
+// static
+LRESULT CALLBACK Win32Window::WndProc(HWND const window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ if (message == WM_NCCREATE) {
+ auto window_struct = reinterpret_cast(lparam);
+ SetWindowLongPtr(window, GWLP_USERDATA,
+ reinterpret_cast(window_struct->lpCreateParams));
+
+ auto that = static_cast(window_struct->lpCreateParams);
+ EnableFullDpiSupportIfAvailable(window);
+ that->window_handle_ = window;
+ } else if (Win32Window* that = GetThisFromHandle(window)) {
+ return that->MessageHandler(window, message, wparam, lparam);
+ }
+
+ return DefWindowProc(window, message, wparam, lparam);
+}
+
+LRESULT
+Win32Window::MessageHandler(HWND hwnd,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ switch (message) {
+ case WM_DESTROY:
+ window_handle_ = nullptr;
+ Destroy();
+ if (quit_on_close_) {
+ PostQuitMessage(0);
+ }
+ return 0;
+
+ case WM_DPICHANGED: {
+ auto newRectSize = reinterpret_cast(lparam);
+ LONG newWidth = newRectSize->right - newRectSize->left;
+ LONG newHeight = newRectSize->bottom - newRectSize->top;
+
+ SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth,
+ newHeight, SWP_NOZORDER | SWP_NOACTIVATE);
+
+ return 0;
+ }
+ case WM_SIZE: {
+ RECT rect = GetClientArea();
+ if (child_content_ != nullptr) {
+ // Size and position the child window.
+ MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left,
+ rect.bottom - rect.top, TRUE);
+ }
+ return 0;
+ }
+
+ case WM_ACTIVATE:
+ if (child_content_ != nullptr) {
+ SetFocus(child_content_);
+ }
+ return 0;
+
+ case WM_DWMCOLORIZATIONCOLORCHANGED:
+ UpdateTheme(hwnd);
+ return 0;
+ }
+
+ return DefWindowProc(window_handle_, message, wparam, lparam);
+}
+
+void Win32Window::Destroy() {
+ OnDestroy();
+
+ if (window_handle_) {
+ DestroyWindow(window_handle_);
+ window_handle_ = nullptr;
+ }
+ if (g_active_window_count == 0) {
+ WindowClassRegistrar::GetInstance()->UnregisterWindowClass();
+ }
+}
+
+Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
+ return reinterpret_cast(
+ GetWindowLongPtr(window, GWLP_USERDATA));
+}
+
+void Win32Window::SetChildContent(HWND content) {
+ child_content_ = content;
+ SetParent(content, window_handle_);
+ RECT frame = GetClientArea();
+
+ MoveWindow(content, frame.left, frame.top, frame.right - frame.left,
+ frame.bottom - frame.top, true);
+
+ SetFocus(child_content_);
+}
+
+RECT Win32Window::GetClientArea() {
+ RECT frame;
+ GetClientRect(window_handle_, &frame);
+ return frame;
+}
+
+HWND Win32Window::GetHandle() {
+ return window_handle_;
+}
+
+void Win32Window::SetQuitOnClose(bool quit_on_close) {
+ quit_on_close_ = quit_on_close;
+}
+
+bool Win32Window::OnCreate() {
+ // No-op; provided for subclasses.
+ return true;
+}
+
+void Win32Window::OnDestroy() {
+ // No-op; provided for subclasses.
+}
+
+void Win32Window::UpdateTheme(HWND const window) {
+ DWORD light_mode;
+ DWORD light_mode_size = sizeof(light_mode);
+ LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey,
+ kGetPreferredBrightnessRegValue,
+ RRF_RT_REG_DWORD, nullptr, &light_mode,
+ &light_mode_size);
+
+ if (result == ERROR_SUCCESS) {
+ BOOL enable_dark_mode = light_mode == 0;
+ DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE,
+ &enable_dark_mode, sizeof(enable_dark_mode));
+ }
+}
diff --git a/examples/flutter/quickstart/windows/runner/win32_window.h b/examples/flutter/quickstart/windows/runner/win32_window.h
new file mode 100644
index 00000000..e901dde6
--- /dev/null
+++ b/examples/flutter/quickstart/windows/runner/win32_window.h
@@ -0,0 +1,102 @@
+#ifndef RUNNER_WIN32_WINDOW_H_
+#define RUNNER_WIN32_WINDOW_H_
+
+#include
+
+#include
+#include
+#include
+
+// A class abstraction for a high DPI-aware Win32 Window. Intended to be
+// inherited from by classes that wish to specialize with custom
+// rendering and input handling
+class Win32Window {
+ public:
+ struct Point {
+ unsigned int x;
+ unsigned int y;
+ Point(unsigned int x, unsigned int y) : x(x), y(y) {}
+ };
+
+ struct Size {
+ unsigned int width;
+ unsigned int height;
+ Size(unsigned int width, unsigned int height)
+ : width(width), height(height) {}
+ };
+
+ Win32Window();
+ virtual ~Win32Window();
+
+ // Creates a win32 window with |title| that is positioned and sized using
+ // |origin| and |size|. New windows are created on the default monitor. Window
+ // sizes are specified to the OS in physical pixels, hence to ensure a
+ // consistent size this function will scale the inputted width and height as
+ // as appropriate for the default monitor. The window is invisible until
+ // |Show| is called. Returns true if the window was created successfully.
+ bool Create(const std::wstring& title, const Point& origin, const Size& size);
+
+ // Show the current window. Returns true if the window was successfully shown.
+ bool Show();
+
+ // Release OS resources associated with window.
+ void Destroy();
+
+ // Inserts |content| into the window tree.
+ void SetChildContent(HWND content);
+
+ // Returns the backing Window handle to enable clients to set icon and other
+ // window properties. Returns nullptr if the window has been destroyed.
+ HWND GetHandle();
+
+ // If true, closing this window will quit the application.
+ void SetQuitOnClose(bool quit_on_close);
+
+ // Return a RECT representing the bounds of the current client area.
+ RECT GetClientArea();
+
+ protected:
+ // Processes and route salient window messages for mouse handling,
+ // size change and DPI. Delegates handling of these to member overloads that
+ // inheriting classes can handle.
+ virtual LRESULT MessageHandler(HWND window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept;
+
+ // Called when CreateAndShow is called, allowing subclass window-related
+ // setup. Subclasses should return false if setup fails.
+ virtual bool OnCreate();
+
+ // Called when Destroy is called.
+ virtual void OnDestroy();
+
+ private:
+ friend class WindowClassRegistrar;
+
+ // OS callback called by message pump. Handles the WM_NCCREATE message which
+ // is passed when the non-client area is being created and enables automatic
+ // non-client DPI scaling so that the non-client area automatically
+ // responds to changes in DPI. All other messages are handled by
+ // MessageHandler.
+ static LRESULT CALLBACK WndProc(HWND const window,
+ UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept;
+
+ // Retrieves a class instance pointer for |window|
+ static Win32Window* GetThisFromHandle(HWND const window) noexcept;
+
+ // Update the window frame's theme to match the system theme.
+ static void UpdateTheme(HWND const window);
+
+ bool quit_on_close_ = false;
+
+ // window handle for top level window.
+ HWND window_handle_ = nullptr;
+
+ // window handle for hosted content.
+ HWND child_content_ = nullptr;
+};
+
+#endif // RUNNER_WIN32_WINDOW_H_
diff --git a/materials/Makefile b/materials/Makefile
deleted file mode 100644
index 1fd88cde..00000000
--- a/materials/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:14a484a441dacbc49ce6b8b189a8900a7bb2ab2072731a3a493676aa046b5888
-size 1009
diff --git a/materials/gizmo.mat b/materials/gizmo.mat
index 5b7bc75b..df673663 100644
--- a/materials/gizmo.mat
+++ b/materials/gizmo.mat
@@ -1,3 +1,50 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3158461d081f058dcb9582ce19cc2daedc73abbe758ba5094c94df89028d8c4d
-size 981
+ material {
+ name : Gizmo,
+ parameters : [
+ {
+ type : mat4,
+ name : transform,
+ precision : high
+ },
+ {
+ type : float4,
+ name : color,
+ precision : low
+ }
+ ],
+ depthWrite : true,
+ depthCulling : false,
+ shadingModel : unlit,
+ blending: transparent,
+ variantFilter : [ skinning, shadowReceiver, vsm ],
+ culling: none,
+ instanced: false,
+ vertexDomain: object
+ }
+
+ vertex {
+ void materialVertex(inout MaterialVertexInputs material) {
+
+ // we want to ensure the gizmo has the same size (in screen-space), no matter the distance from the camera
+ // we do this by scaling the model-space vertex positions by the distance from the camera
+ vec4 modelSpace = getPosition();
+ vec4 worldSpace = getWorldFromModelMatrix() * modelSpace;
+ vec4 viewSpace = getViewFromWorldMatrix() * worldSpace;
+ float distanceFromCamera = length(viewSpace.xyz);
+ modelSpace.xyz *= (distanceFromCamera / 4.0f); // divide by 4 so that the size is equivalent to the camera being 4 world-space units away from the (unscaled) gizmo
+
+ worldSpace = getWorldFromModelMatrix() * modelSpace;
+ material.worldPosition = worldSpace;
+ //vec4 clipSpace = getClipFromWorldMatrix() * worldSpace;
+ //clipSpace.z = 0.99f;
+ //material.worldPosition = getWorldFromClipMatrix() * clipSpace;
+ }
+ }
+
+ fragment {
+ void material(inout MaterialInputs material) {
+ prepareMaterial(material);
+ material.baseColor = materialParams.color;
+ }
+ }
+
diff --git a/materials/grid.mat b/materials/grid.mat
new file mode 100644
index 00000000..cf3faf25
--- /dev/null
+++ b/materials/grid.mat
@@ -0,0 +1,53 @@
+material {
+ name : Grid,
+ parameters : [
+ {
+ type : float,
+ name : maxDistance
+ },
+ {
+ type : float3,
+ name : color
+ }
+ ],
+ depthWrite : true,
+ depthCulling : false,
+ shadingModel : unlit,
+ blending: transparent,
+ variantFilter : [ skinning, shadowReceiver, vsm ],
+ culling: none,
+ instanced: false,
+ vertexDomain: object
+}
+
+vertex {
+ void materialVertex(inout MaterialVertexInputs material) {
+ material.worldPosition = getWorldFromModelMatrix() * getPosition();
+ }
+}
+
+fragment {
+ void material(inout MaterialInputs material) {
+ prepareMaterial(material);
+
+ // Convert world position to view space
+ float4 viewPos = getViewFromWorldMatrix() * float4(getWorldPosition(), 1.0);
+
+ // Calculate distance in view space (camera is at 0,0,0 in view space)
+ float distance = length(viewPos.xz);
+
+ // Discard fragment if it's too far from the camera
+ if (distance > materialParams.maxDistance) {
+ material.baseColor = float4(0.0);
+ } else {
+ material.baseColor = float4(materialParams.color, 1.0);
+
+ // Optional: fade out as we approach maxDistance
+ float fadeStart = materialParams.maxDistance * 0.8;
+ if (distance > fadeStart) {
+ float fade = 1.0 - (distance - fadeStart) / (materialParams.maxDistance - fadeStart);
+ material.baseColor.a = fade;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/materials/image.mat b/materials/image.mat
index 0775f048..132a8de2 100644
--- a/materials/image.mat
+++ b/materials/image.mat
@@ -1,3 +1,52 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:273059c97f96c6848807914d937583864445b51d8e0f1cd98c3e4e0e4bd9f411
-size 1451
+material {
+ name : Image,
+ parameters : [
+ {
+ type : sampler2d,
+ name : image
+ },
+ {
+ type : mat4,
+ name : transform,
+ precision : high
+ },
+ {
+ type : float4,
+ name : backgroundColor
+ },
+ {
+ type : int,
+ name : showImage
+ }
+ ],
+ variables : [
+ imageUV
+ ],
+ vertexDomain : device,
+ depthWrite : false,
+ shadingModel : unlit,
+ variantFilter : [ skinning, shadowReceiver, vsm ],
+ culling: none
+}
+
+vertex {
+ void materialVertex(inout MaterialVertexInputs material) {
+ material.imageUV.st = getPosition().st * 0.5 + 0.5;
+ }
+}
+
+fragment {
+ void material(inout MaterialInputs material) {
+ prepareMaterial(material);
+ highp vec2 uv = (materialParams.transform * vec4(saturate(variable_imageUV.st), 1.0, 1.0)).st;
+ if (materialParams.showImage == 0 || uv.s > 1.0 || uv.s < 0.0 || uv.t < 0.0 || uv.t > 1.0) {
+ material.baseColor = materialParams.backgroundColor;
+ } else {
+ uv.t = 1.0 - uv.t;
+ vec4 color = max(texture(materialParams_image, uv.st), 0.0);
+ color.rgb *= color.a;
+ // Manual, pre-multiplied srcOver with opaque destination optimization
+ material.baseColor.rgb = color.rgb + materialParams.backgroundColor.rgb * (1.0 - color.a);
+ }
+ }
+}
diff --git a/materials/unlit.mat b/materials/unlit.mat
new file mode 100644
index 00000000..14df39b2
--- /dev/null
+++ b/materials/unlit.mat
@@ -0,0 +1,42 @@
+material {
+ name : unlit,
+ requires : [ uv0 ],
+ parameters : [
+ {
+ type : sampler2d,
+ name : baseColorMap
+ },
+ {
+ type : float4,
+ name : baseColorFactor
+ },
+ {
+ type : int,
+ name : baseColorIndex
+ },
+ {
+ type : float2,
+ name : uvScale
+ }
+ ],
+ depthWrite : true,
+ depthCulling : true,
+ shadingModel : unlit,
+ blending: opaque,
+ culling: none,
+ instanced: false,
+ vertexDomain: object,
+}
+
+ fragment {
+ void material(inout MaterialInputs material) {
+ prepareMaterial(material);
+ material.baseColor = materialParams.baseColorFactor;
+
+ if (materialParams.baseColorIndex > -1) {
+ highp float2 uv = getUV0();
+ uv.y = 1.0 - uv.y;
+ material.baseColor *= texture(materialParams_baseColorMap, uv);
+ }
+ }
+ }
diff --git a/materials/unlit_opaque.mat b/materials/unlit_opaque.mat
deleted file mode 100644
index a322a468..00000000
--- a/materials/unlit_opaque.mat
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4abb9e737d20956cced366af6a54dd31ab17cc8d0d1773f02c57a5712760fe10
-size 7385
diff --git a/thermion_dart/CHANGELOG.md b/thermion_dart/CHANGELOG.md
index 31b73847..59dc4ddc 100644
--- a/thermion_dart/CHANGELOG.md
+++ b/thermion_dart/CHANGELOG.md
@@ -1,3 +1,158 @@
+## 0.2.1-dev.0.0.8
+
+ - **FIX**: move ThermionWin32.h to include.
+
+## 0.2.1-dev.0.0.7
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.7`.
+
+## 0.2.1-dev.0.0.6
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.6`.
+
+## 0.2.1-dev.0.0.5
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.5`.
+
+## 0.2.1-dev.0.0.4
+
+## 0.2.1-dev.0.0.3
+
+ - Bump "thermion_dart" to `0.2.1-dev.0.0.3`.
+
+## 0.2.1-dev.0.0.2
+
+## 0.2.1-dev.0.0.1
+
+## 0.2.1-dev.0.0.0
+
+ - y
+
+## 0.2.0
+
+ - Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
+
+## 0.2.0-dev.8.0.0
+
+> Note: This release has breaking changes.
+
+ - **REFACTOR**: continual refactor to support multiple render targets.
+ - **FEAT**: camera and resizing improvements.
+ - **FEAT**: support multiple ThermionWidget on Android.
+ - **FEAT**: use imported texture on iOS.
+ - **FEAT**: working implementation of multiple widgets on macos.
+ - **FEAT**: more work on multiple views/swapchains.
+ - **FEAT**: add setParameterFloat2 method.
+ - **FEAT**: add setParameterFloat2 method.
+ - **FEAT**: add uvScale to unlit material.
+ - **FEAT**: add ThirdPersonCameraDelegate.
+ - **FEAT**: set camera model matrix directly.
+ - **FEAT**: expose more camera methods.
+ - **BREAKING** **REFACTOR**: refactor to support multiple Views/Render Targets.
+ - **BREAKING** **REFACTOR**: remove RenderThread methods no longer needed.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FIX**: replace queuePosition/Rotation with queueTransforms.
+ - **BREAKING** **FEAT**: big refactor to support multiple swapchains.
+ - **BREAKING** **FEAT**: set baseColorIndex to -1 by default in unlit materialss.
+
+## 0.2.0-dev.7.0
+
+> Note: This release has breaking changes.
+
+ - **BREAKING** **FIX**: fix min SDK for thermion_dart.
+
+## 0.2.0-dev.6.0
+
+> Note: This release has breaking changes.
+
+ - **BREAKING** **CHORE**: cleanup deleted export.
+
+## 0.2.0-dev.5.0
+
+> Note: This release has breaking changes.
+
+ - **BREAKING** **CHORE**: remove EntityTransformController (requires replacement).
+
+## 0.2.0-dev.4.0
+
+> Note: This release has breaking changes.
+
+ - **BREAKING** **FIX**: (web/wasm) free pick callbacks on dispose.
+ - **BREAKING** **CHORE**: restructure viewer folders as libraries to only export the public interface.
+
+## 0.2.0-dev.1.0
+
+> Note: This release has breaking changes.
+
+ - **REFACTOR**: native types.
+ - **REFACTOR**: native types.
+ - **REFACTOR**: move native types to own header, add methods for create/destroy material instance, add priority/layer to load_glb_from_buffer.
+ - **REFACTOR**: Dart types.
+ - **FIX**: (web) add emscripten guards for flushAndWait call when swapchain destroyed.
+ - **FIX**: ignore pick results directly on axis.
+ - **FIX**: properly destroy entities/material/etc in Gizmo on destruction, remove custom scene creation logic.
+ - **FIX**: add check for nan NDC coordinates for viewport translation.
+ - **FIX**: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy.
+ - **FIX**: add more nan checks for gizmo manipulation.
+ - **FIX**: emscripten export visibility for add_light.
+ - **FIX**: add Fence to capture() and set stencil buffer by default.
+ - **FEAT**: add removeStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionViewer.
+ - **FEAT**: add removeStencilHighlight, accept color param for setStencilHighlight, queuePositionUpdateFromViewportCoords to ThermionDartApi.
+ - **FEAT**: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method.
+ - **FEAT**: grid uses own material.
+ - **FEAT**: parent the cloned entity instance when setting stencil highlight.
+ - **FEAT**: add grid material.
+ - **FEAT**: expose setLightDirection and setLightPosition.
+ - **FEAT**: move HighlightOverlay to nested class, move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector.
+ - **FEAT**: move createGeometry to SceneManager, add queueRelativePositionUpdateFromViewportVector and removeStencilHighlight.
+ - **FEAT**: add setGizmoVisibility/pickGizmo methods to ThermionViewer.
+ - **FEAT**: remove gizmo view references, exclude gizmo entities from picking, add createIbl.
+ - **FEAT**: set stencil highlight on gizmo attach.
+ - **FEAT**: add getAncestor method.
+ - **FEAT**: expose API methods for create_ibl, pick/set gizmo visibility.
+ - **FEAT**: create transparent overlay for gizmo for easier picking.
+ - **FEAT**: rescale gizmo based on distance from camera.
+ - **FEAT**: rescale gizmo based on distance from camera.
+ - **FEAT**: add getAncestor method.
+ - **FEAT**: add startOffset parameter to gltf playAnimation.
+ - **FEAT**: layers, grid.
+ - **FEAT**: layers, grid.
+ - **FEAT**: ignore grid overlay and gizmo center when picking, implement highlighting.
+ - **FEAT**: SceneManager updates (setLayer, add grid, queueRelativePositionUpdateWorld.
+ - **FEAT**: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h.
+ - **FEAT**: add getCameraFov to FilamentViewer.
+ - **FEAT**: add new grid overlay files to web CmakeLists.
+ - **FEAT**: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity.
+ - **FEAT**: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView.
+ - **FEAT**: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection.
+ - **FEAT**: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG).
+ - **FEAT**: (web) allow table growth in emscripten module for passing C-style callback function pointers.
+ - **FEAT**: (web) add capture() method and missing camera navigation controls.
+ - **FEAT**: createIbl.
+ - **BREAKING** **FEAT**: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML).
+ - **BREAKING** **FEAT**: update web/http dependencies.
+
+## 0.1.3
+
+ - **FIX**: manually remove leading slash for compiler path on Windows when building for Android.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: shadow JS<->WASM bridge methods.
+ - **FIX**: manually remove leading slash for compiler path on Windows when building for Android.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: shadow JS<->WASM bridge methods.
+ - **FEAT**: add clearMorphAnimationData function.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+
+## 0.1.2
+
+ - **FIX**: manually remove leading slash for compiler path on Windows when building for Android.
+ - **FIX**: web/JS bool checks need to compare to int.
+ - **FIX**: shadow JS<->WASM bridge methods.
+ - **FEAT**: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths.
+
## 0.1.1+5
- Bump "thermion_dart" to `0.1.1+5`.
diff --git a/thermion_dart/README.md b/thermion_dart/README.md
index ce9d6503..89b9b6bd 100644
--- a/thermion_dart/README.md
+++ b/thermion_dart/README.md
@@ -21,3 +21,4 @@
- glTF, KTX, PNG & JPEG texture support
- camera/entity manipulation with mouse (desktop) and gestures (mobile)
- skinning + morph animations
+
diff --git a/thermion_dart/example/README.md b/thermion_dart/example/README.md
new file mode 100644
index 00000000..b7895dd9
--- /dev/null
+++ b/thermion_dart/example/README.md
@@ -0,0 +1 @@
+For an example with both pure Dart and Flutter, see the [example repository](https://github.com/nmfisher/thermion_examples).
\ No newline at end of file
diff --git a/thermion_dart/extras/windows/CMakeLists.txt b/thermion_dart/extras/windows/CMakeLists.txt
new file mode 100644
index 00000000..8d239884
--- /dev/null
+++ b/thermion_dart/extras/windows/CMakeLists.txt
@@ -0,0 +1,30 @@
+cmake_minimum_required(VERSION 3.14)
+set(PROJECT_NAME "thermion_windows")
+project(${PROJECT_NAME} LANGUAGES C CXX)
+
+cmake_policy(VERSION 3.14...3.25)
+
+add_compile_definitions(WGL_USE_BACKING_WINDOW)
+add_compile_definitions(UNICODE)
+
+add_library(${PROJECT_NAME} SHARED
+ "thermion_window.cpp"
+)
+
+set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+
+target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
+target_include_directories(${PROJECT_NAME} INTERFACE
+ "${CMAKE_CURRENT_SOURCE_DIR}/include"
+ "${CMAKE_SOURCE_DIR}/../../../../thermion_dart/native/include/filament"
+ "${CMAKE_SOURCE_DIR}/../../../../thermion_dart/native/include"
+ ${CMAKE_CURRENT_SOURCE_DIR}/include
+)
+
+target_link_libraries(${PROJECT_NAME} PRIVATE
+ Shlwapi
+ opengl32
+ dwmapi
+ comctl32
+)
+
diff --git a/thermion_dart/extras/windows/thermion_window.cpp b/thermion_dart/extras/windows/thermion_window.cpp
new file mode 100644
index 00000000..d189f6bc
--- /dev/null
+++ b/thermion_dart/extras/windows/thermion_window.cpp
@@ -0,0 +1,244 @@
+#include "thermion_window.h"
+
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+#pragma comment(lib, "dwmapi.lib")
+#pragma comment(lib, "comctl32.lib")
+
+namespace thermion {
+
+static constexpr auto kClassName = L"THERMION_WINDOW";
+static constexpr auto kWindowName = L"thermion_window";
+static bool was_window_hidden_due_to_minimize_ = false;
+static WPARAM last_wm_size_wparam_ = SIZE_RESTORED;
+uint64_t last_thread_time_ = 0;
+static constexpr auto kNativeViewPositionAndShowDelay = 300;
+
+typedef enum _WINDOWCOMPOSITIONATTRIB {
+ WCA_UNDEFINED = 0,
+ WCA_NCRENDERING_ENABLED = 1,
+ WCA_NCRENDERING_POLICY = 2,
+ WCA_TRANSITIONS_FORCEDISABLED = 3,
+ WCA_ALLOW_NCPAINT = 4,
+ WCA_CAPTION_BUTTON_BOUNDS = 5,
+ WCA_NONCLIENT_RTL_LAYOUT = 6,
+ WCA_FORCE_ICONIC_REPRESENTATION = 7,
+ WCA_EXTENDED_FRAME_BOUNDS = 8,
+ WCA_HAS_ICONIC_BITMAP = 9,
+ WCA_THEME_ATTRIBUTES = 10,
+ WCA_NCRENDERING_EXILED = 11,
+ WCA_NCADORNMENTINFO = 12,
+ WCA_EXCLUDED_FROM_LIVEPREVIEW = 13,
+ WCA_VIDEO_OVERLAY_ACTIVE = 14,
+ WCA_FORCE_ACTIVEWINDOW_APPEARANCE = 15,
+ WCA_DISALLOW_PEEK = 16,
+ WCA_CLOAK = 17,
+ WCA_CLOAKED = 18,
+ WCA_ACCENT_POLICY = 19,
+ WCA_FREEZE_REPRESENTATION = 20,
+ WCA_EVER_UNCLOAKED = 21,
+ WCA_VISUAL_OWNER = 22,
+ WCA_HOLOGRAPHIC = 23,
+ WCA_EXCLUDED_FROM_DDA = 24,
+ WCA_PASSIVEUPDATEMODE = 25,
+ WCA_USEDARKMODECOLORS = 26,
+ WCA_LAST = 27
+} WINDOWCOMPOSITIONATTRIB;
+
+typedef struct _WINDOWCOMPOSITIONATTRIBDATA {
+ WINDOWCOMPOSITIONATTRIB Attrib;
+ PVOID pvData;
+ SIZE_T cbData;
+} WINDOWCOMPOSITIONATTRIBDATA;
+
+typedef enum _ACCENT_STATE {
+ ACCENT_DISABLED = 0,
+ ACCENT_ENABLE_GRADIENT = 1,
+ ACCENT_ENABLE_TRANSPARENTGRADIENT = 2,
+ ACCENT_ENABLE_BLURBEHIND = 3,
+ ACCENT_ENABLE_ACRYLICBLURBEHIND = 4,
+ ACCENT_ENABLE_HOSTBACKDROP = 5,
+ ACCENT_INVALID_STATE = 6
+} ACCENT_STATE;
+
+typedef struct _ACCENT_POLICY {
+ ACCENT_STATE AccentState;
+ DWORD AccentFlags;
+ DWORD GradientColor;
+ DWORD AnimationId;
+} ACCENT_POLICY;
+
+typedef BOOL(WINAPI* _GetWindowCompositionAttribute)(
+ HWND, WINDOWCOMPOSITIONATTRIBDATA*);
+typedef BOOL(WINAPI* _SetWindowCompositionAttribute)(
+ HWND, WINDOWCOMPOSITIONATTRIBDATA*);
+
+static _SetWindowCompositionAttribute g_set_window_composition_attribute = NULL;
+static bool g_set_window_composition_attribute_initialized = false;
+
+typedef LONG NTSTATUS, *PNTSTATUS;
+#define STATUS_SUCCESS (0x00000000)
+
+typedef NTSTATUS(WINAPI* RtlGetVersionPtr)(PRTL_OSVERSIONINFOW);
+
+RTL_OSVERSIONINFOW GetWindowsVersion() {
+ HMODULE hmodule = ::GetModuleHandleW(L"ntdll.dll");
+ if (hmodule) {
+ RtlGetVersionPtr rtl_get_version_ptr =
+ (RtlGetVersionPtr)::GetProcAddress(hmodule, "RtlGetVersion");
+ if (rtl_get_version_ptr != nullptr) {
+ RTL_OSVERSIONINFOW rovi = {0};
+ rovi.dwOSVersionInfoSize = sizeof(rovi);
+ if (STATUS_SUCCESS == rtl_get_version_ptr(&rovi)) {
+ return rovi;
+ }
+ }
+ }
+ RTL_OSVERSIONINFOW rovi = {0};
+ return rovi;
+}
+
+void SetWindowComposition(HWND window, int32_t accent_state,
+ int32_t gradient_color) {
+ // TODO: Look for a better available API.
+ if (GetWindowsVersion().dwBuildNumber >= 18362) {
+ if (!g_set_window_composition_attribute_initialized) {
+ auto user32 = ::GetModuleHandleA("user32.dll");
+ if (user32) {
+ g_set_window_composition_attribute =
+ reinterpret_cast<_SetWindowCompositionAttribute>(
+ ::GetProcAddress(user32, "SetWindowCompositionAttribute"));
+ if (g_set_window_composition_attribute) {
+ g_set_window_composition_attribute_initialized = true;
+ }
+ }
+ }
+ ACCENT_POLICY accent = {static_cast(accent_state), 2,
+ static_cast(gradient_color), 0};
+ WINDOWCOMPOSITIONATTRIBDATA data;
+ data.Attrib = WCA_ACCENT_POLICY;
+ data.pvData = &accent;
+ data.cbData = sizeof(accent);
+ g_set_window_composition_attribute(window, &data);
+ }
+}
+
+
+LRESULT CALLBACK FilamentWindowProc(HWND const window, UINT const message,
+ WPARAM const wparam,
+ LPARAM const lparam) noexcept {
+ switch (message) {
+ std::cout << message <(user_data);
+ ::SetForegroundWindow(flutterRootWindow);
+ LONG ex_style = ::GetWindowLong(flutterRootWindow, GWL_EXSTYLE);
+ ex_style &= ~(WS_EX_TRANSPARENT | WS_EX_LAYERED);
+ ::SetWindowLong(flutterRootWindow, GWL_EXSTYLE, ex_style);
+ }
+ break;
+ }
+ case WM_ERASEBKGND: {
+ HDC hdc = (HDC)wparam;
+ RECT rect;
+ GetClientRect(window, &rect);
+
+ // Get the ThermionWindow instance associated with this window
+ ThermionWindow* thermionWindow = reinterpret_cast(
+ GetWindowLongPtr(window, GWLP_USERDATA));
+
+ if (thermionWindow) {
+ HBRUSH brush = CreateSolidBrush(RGB(0, 0, 255));
+ FillRect(hdc, &rect, brush);
+ DeleteObject(brush);
+ }
+
+ break;
+ }
+ case WM_SIZE:
+ break;
+ case WM_MOVE:
+ case WM_MOVING:
+ case WM_ACTIVATE:
+ case WM_WINDOWPOSCHANGED: {
+ // NativeViewCore::GetInstance()->SetHitTestBehavior(0);
+ auto user_data = ::GetWindowLongPtr(window, GWLP_USERDATA);
+ if (user_data) {
+ HWND flutterRootWindow = reinterpret_cast(user_data);
+ ::SetForegroundWindow(flutterRootWindow);
+ // NativeViewCore::GetInstance()->SetHitTestBehavior(0);
+ LONG ex_style = ::GetWindowLong(flutterRootWindow, GWL_EXSTYLE);
+ ex_style &= ~(WS_EX_TRANSPARENT | WS_EX_LAYERED);
+ ::SetWindowLong(flutterRootWindow, GWL_EXSTYLE, ex_style);
+ }
+ break;
+ }
+ default:
+ break;
+ }
+ return ::DefWindowProc(window, message, wparam, lparam);
+}
+
+ThermionWindow::ThermionWindow(int width,
+ int height,
+ int left,
+ int top) : _width(width), _height(height), _left(left), _top(top) {
+ // create the HWND for Filament
+ auto window_class = WNDCLASSEX{};
+ ::SecureZeroMemory(&window_class, sizeof(window_class));
+ window_class.cbSize = sizeof(window_class);
+ window_class.style = CS_HREDRAW | CS_VREDRAW;
+ window_class.lpfnWndProc = FilamentWindowProc;
+ window_class.hInstance = 0;
+ window_class.lpszClassName = kClassName;
+ window_class.hCursor = ::LoadCursorW(nullptr, IDC_ARROW);
+ window_class.hbrBackground = ::CreateSolidBrush(RGB(0,255,0));
+ ::RegisterClassExW(&window_class);
+ _windowHandle = ::CreateWindow(kClassName, kWindowName, WS_OVERLAPPEDWINDOW,
+ 0, 0, _width, _height, nullptr,
+ nullptr, GetModuleHandle(nullptr), nullptr);
+
+ // Disable DWM animations
+ auto disable_window_transitions = TRUE;
+ DwmSetWindowAttribute(_windowHandle, DWMWA_TRANSITIONS_FORCEDISABLED,
+ &disable_window_transitions,
+ sizeof(disable_window_transitions));
+
+ auto style = ::GetWindowLong(_windowHandle, GWL_STYLE);
+ style &= ~(WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX |
+ WS_EX_APPWINDOW);
+ ::SetWindowLong(_windowHandle, GWL_STYLE, style);
+
+ // // remove taskbar entry for the window we created
+ // ITaskbarList3* taskbar = nullptr;
+ // ::CoCreateInstance(CLSID_TaskbarList, 0, CLSCTX_INPROC_SERVER,
+ // IID_PPV_ARGS(&taskbar));
+ // taskbar->DeleteTab(_windowHandle);
+ // taskbar->Release();
+ ::ShowWindow(_windowHandle, SW_SHOW);
+ UpdateWindow(_windowHandle);
+}
+
+void ThermionWindow::Resize(int width, int height, int left, int top) {
+ _width = width;
+ _height = height;
+ _left = left;
+ _top = top;
+}
+
+HWND ThermionWindow::GetHandle() { return _windowHandle; }
+} // namespace thermion_flutter
diff --git a/thermion_dart/extras/windows/thermion_window.h b/thermion_dart/extras/windows/thermion_window.h
new file mode 100644
index 00000000..d22976d4
--- /dev/null
+++ b/thermion_dart/extras/windows/thermion_window.h
@@ -0,0 +1,57 @@
+#pragma once
+
+#ifdef _WIN32
+#ifdef IS_DLL
+#define EMSCRIPTEN_KEEPALIVE __declspec(dllimport)
+#else
+#define EMSCRIPTEN_KEEPALIVE __declspec(dllexport)
+#endif
+
+#include
+#include
+#include
+
+namespace thermion {
+
+///
+/// Instantiating a ThermionWindow creates a HWND that can be passed
+/// to Filament to create a swapchain.
+///
+///
+class ThermionWindow {
+ public:
+ ThermionWindow(
+ int width,
+ int height,
+ int left,
+ int top);
+ HWND GetHandle();
+ void Resize(int width, int height, int left, int top);
+ private:
+ HWND _windowHandle;
+ uint32_t _width = 0;
+ uint32_t _height = 0;
+ uint32_t _left = 0;
+ uint32_t _top = 0;
+};
+
+static ThermionWindow* _window;
+
+extern "C" {
+ EMSCRIPTEN_KEEPALIVE intptr_t create_thermion_window(int width, int height, int left, int top) {
+ _window = new ThermionWindow(width, height, left, top);
+ return (intptr_t)_window->GetHandle();
+ }
+
+ EMSCRIPTEN_KEEPALIVE void update() {
+ MSG msg;
+ if(GetMessage(&msg, NULL, 0, 0))
+ {
+ TranslateMessage(&msg);
+ DispatchMessage(&msg);
+ }
+ }
+}
+
+}
+#endif
\ No newline at end of file
diff --git a/thermion_dart/ffigen/native.yaml b/thermion_dart/ffigen/native.yaml
index c4472fde..bfb0c0d2 100644
--- a/thermion_dart/ffigen/native.yaml
+++ b/thermion_dart/ffigen/native.yaml
@@ -1,13 +1,25 @@
-output: '../lib/thermion_dart/compatibility/native/thermion_dart.g.dart'
+output: '../lib/src/viewer/src/ffi/src/thermion_dart.g.dart'
headers:
entry-points:
- - '../native/include/ThermionDartFFIApi.h'
+ - '../native/include/ThermionDartRenderThreadApi.h'
- '../native/include/ThermionDartApi.h'
+ - '../native/include/TView.h'
+ - '../native/include/TCamera.h'
+ - '../native/include/TGizmo.h'
- '../native/include/ResourceBuffer.h'
include-directives:
- - '../native/include/ThermionDartFFIApi.h'
+ - '../native/include/ThermionDartRenderThreadApi.h'
- '../native/include/ThermionDartApi.h'
+ - '../native/include/TView.h'
+ - '../native/include/TCamera.h'
+ - '../native/include/TGizmo.h'
- '../native/include/ResourceBuffer.h'
+ - '../native/include/APIBoundaryTypes.h'
ffi-native:
assetId: package:thermion_dart/thermion_dart.dart
ignore-source-errors: true
+functions:
+ leaf:
+ include:
+ - '.*'
+
diff --git a/thermion_dart/ffigen/swift.yaml b/thermion_dart/ffigen/swift.yaml
index fae767e1..a207a3fd 100644
--- a/thermion_dart/ffigen/swift.yaml
+++ b/thermion_dart/ffigen/swift.yaml
@@ -1,15 +1,15 @@
-name: ThermionDartTexture
-description: Bindings for ThermionDartTexture.
+name: ThermionTextureSwift
+description: Bindings for ThermionTexture.
language: objc
-output: 'lib/thermion_dart/swift/swift_bindings.g.dart'
+output: '../lib/src/swift/swift_bindings.g.dart'
exclude-all-by-default: true
objc-interfaces:
include:
- - 'ThermionDartTexture'
+ - 'ThermionTextureSwift'
module:
- 'ThermionDartTexture': 'thermion_dart_texture'
+ 'ThermionTextureSwift': 'swift_module'
headers:
entry-points:
- - 'native/lib/macos/swift/ThermionDartTexture.h'
+ - '../native/include/generated/ThermionTextureSwiftObjCAPI.h'
preamble: |
// ignore_for_file: camel_case_types, non_constant_identifier_names, unused_element, unused_field, return_of_invalid_type, void_checks, annotate_overrides, no_leading_underscores_for_local_identifiers, library_private_types_in_public_apia
\ No newline at end of file
diff --git a/thermion_dart/hook/build.dart b/thermion_dart/hook/build.dart
index 25a1bad1..aecda6b2 100644
--- a/thermion_dart/hook/build.dart
+++ b/thermion_dart/hook/build.dart
@@ -32,19 +32,14 @@ void main(List args) async {
final name = "thermion_dart.dart";
final libUri = config.outputDirectory
.resolve(config.targetOS.libraryFileName(name, linkMode));
- output.addAssets(
- [
- NativeCodeAsset(
- package: config.packageName,
- name: name,
- file: libUri,
- linkMode: linkMode,
- os: config.targetOS,
- architecture: config.dryRun ? null : config.targetArchitecture,
- )
- ],
- linkInPackage: null,
- );
+ output.addAsset(NativeCodeAsset(
+ package: config.packageName,
+ name: name,
+ file: libUri,
+ linkMode: linkMode,
+ os: config.targetOS,
+ architecture: config.dryRun ? null : config.targetArchitecture,
+ ));
return;
}
@@ -58,8 +53,10 @@ void main(List args) async {
.map((f) => f.path)
.toList();
sources.addAll([
- "${config.packageRoot.toFilePath()}/native/include/material/gizmo.c",
+ "${config.packageRoot.toFilePath()}/native/include/material/gizmo_material.c",
"${config.packageRoot.toFilePath()}/native/include/material/image.c",
+ "${config.packageRoot.toFilePath()}/native/include/material/grid.c",
+ "${config.packageRoot.toFilePath()}/native/include/material/unlit.c",
]);
var libs = [
@@ -76,7 +73,6 @@ void main(List args) async {
"image",
"imageio",
"tinyexr",
- "gltfio_core",
"filaflat",
"dracodec",
"ibl",
@@ -91,7 +87,6 @@ void main(List args) async {
"basis_transcoder"
];
-
if (platform == "windows") {
libDir = Directory(libDir).uri.toFilePath();
libs = libs.map((lib) => "${libDir}${lib}.lib").toList();
@@ -117,7 +112,12 @@ void main(List args) async {
defines["WIN32"] = "1";
defines["_DEBUG"] = "1";
defines["_DLL"] = "1";
- flags.addAll(["/std:c++20", "/MDd"]);
+ flags.addAll([
+ "/std:c++20",
+ "/MDd",
+ "/VERBOSE",
+ ...defines.keys.map((k) => "/D$k=${defines[k]}").toList()
+ ]);
}
if (platform == "ios") {
@@ -148,16 +148,26 @@ void main(List args) async {
name: packageName,
language: Language.cpp,
assetName: 'thermion_dart.dart',
- sources: sources,
- includes: ['native/include', 'native/include/filament'],
- defines: defines,
+ sources: platform == "windows" ? [] : sources,
+ includes: platform == "windows"
+ ? []
+ : ['native/include', 'native/include/filament'],
+ defines: platform == "windows" ? {} : defines,
flags: [
if (platform == "macos") '-mmacosx-version-min=13.0',
if (platform == "ios") '-mios-version-min=13.0',
...flags,
...frameworks,
- ...libs.map((lib) => "-l$lib"),
- "-L$libDir",
+ if (platform != "windows") ...libs.map((lib) => "-l$lib"),
+ if (platform != "windows") "-L$libDir",
+ if (platform == "windows") ...[
+ "/I${config.packageRoot.toFilePath()}\\native\\include",
+ "/I${config.packageRoot.toFilePath()}native\\include\\filament",
+ ...sources,
+ '/link',
+ "/LIBPATH:$libDir",
+ '/DLL',
+ ]
],
dartBuildFiles: ['hook/build.dart'],
);
@@ -176,9 +186,24 @@ void main(List args) async {
Architecture.ia32 => "i686-linux-android",
_ => throw FormatException('Invalid')
};
- var ndkRoot = File(config.cCompiler.compiler!.path).parent.parent.path;
- var stlPath =
- File("$ndkRoot/sysroot/usr/lib/${archExtension}/libc++_shared.so");
+
+ var compilerPath = config.cCompiler.compiler!.path;
+
+ if (Platform.isWindows && compilerPath.startsWith("/")) {
+ compilerPath = compilerPath.substring(1);
+ }
+
+ var ndkRoot =
+ File(compilerPath).parent.parent.uri.toFilePath(windows: true);
+
+ var stlPath = File([
+ ndkRoot,
+ "sysroot",
+ "usr",
+ "lib",
+ archExtension,
+ "libc++_shared.so"
+ ].join(Platform.pathSeparator));
output.addAsset(NativeCodeAsset(
package: "thermion_dart",
name: "libc++_shared.so",
@@ -192,7 +217,7 @@ void main(List args) async {
if (config.targetOS == "windows") {
output.addAsset(
NativeCodeAsset(
- package: "thermion_dart",
+ package: config.packageName,
name: "thermion_dart.dll",
linkMode: DynamicLoadingBundled(),
os: config.targetOS,
diff --git a/thermion_dart/lib/src/input/input.dart b/thermion_dart/lib/src/input/input.dart
new file mode 100644
index 00000000..1ac364f3
--- /dev/null
+++ b/thermion_dart/lib/src/input/input.dart
@@ -0,0 +1,7 @@
+library;
+
+export 'src/input_handler.dart';
+export 'src/delegates.dart';
+export 'src/delegate_gesture_handler.dart';
+export 'src/implementations/default_pick_delegate.dart';
+export 'src/implementations/third_person_camera_delegate.dart';
diff --git a/thermion_dart/lib/src/input/src/delegate_gesture_handler.dart b/thermion_dart/lib/src/input/src/delegate_gesture_handler.dart
new file mode 100644
index 00000000..5a53ed19
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/delegate_gesture_handler.dart
@@ -0,0 +1,282 @@
+import 'dart:async';
+import 'dart:math';
+import 'package:logging/logging.dart';
+import 'package:thermion_dart/thermion_dart.dart';
+import 'package:vector_math/vector_math_64.dart';
+
+import 'implementations/fixed_orbit_camera_rotation_delegate.dart';
+import 'implementations/free_flight_camera_delegate.dart';
+
+class DelegateInputHandler implements InputHandler {
+ final ThermionViewer viewer;
+
+ Stream> get gestures => _gesturesController.stream;
+ final _gesturesController = StreamController>.broadcast();
+
+ Stream get cameraUpdated => _cameraUpdatedController.stream;
+ final _cameraUpdatedController = StreamController.broadcast();
+
+ final _logger = Logger("DelegateInputHandler");
+
+ InputHandlerDelegate? transformDelegate;
+ PickDelegate? pickDelegate;
+
+ final Set _pressedKeys = {};
+
+ final _inputDeltas = {};
+
+ Map _actions = {
+ InputType.LMB_HOLD_AND_MOVE: InputAction.TRANSLATE,
+ InputType.SCALE1: InputAction.TRANSLATE,
+ InputType.SCALE2: InputAction.ZOOM,
+ InputType.MMB_HOLD_AND_MOVE: InputAction.ROTATE,
+ InputType.SCROLLWHEEL: InputAction.TRANSLATE,
+ InputType.POINTER_MOVE: InputAction.NONE,
+ InputType.KEYDOWN_W: InputAction.TRANSLATE,
+ InputType.KEYDOWN_S: InputAction.TRANSLATE,
+ InputType.KEYDOWN_A: InputAction.TRANSLATE,
+ InputType.KEYDOWN_D: InputAction.TRANSLATE,
+ };
+
+ final _axes = {};
+
+ void setTransformForAction(InputType inputType, Matrix3 transform) {
+ _axes[inputType] = transform;
+ }
+
+ DelegateInputHandler({
+ required this.viewer,
+ required this.transformDelegate,
+ this.pickDelegate,
+ Map? actions,
+ }) {
+ if (actions != null) {
+ _actions = actions;
+ }
+
+ for (var gestureType in InputType.values) {
+ _inputDeltas[gestureType] = Vector3.zero();
+ }
+
+ viewer.registerRequestFrameHook(process);
+ }
+
+ factory DelegateInputHandler.fixedOrbit(ThermionViewer viewer,
+ {double minimumDistance = 10.0,
+ Future Function(Vector3)? getDistanceToTarget,
+ ThermionEntity? entity,
+ PickDelegate? pickDelegate}) =>
+ DelegateInputHandler(
+ viewer: viewer,
+ pickDelegate: pickDelegate,
+ transformDelegate: FixedOrbitRotateInputHandlerDelegate(viewer,
+ getDistanceToTarget: getDistanceToTarget,
+ minimumDistance: minimumDistance),
+ actions: {
+ InputType.MMB_HOLD_AND_MOVE: InputAction.ROTATE,
+ InputType.SCROLLWHEEL: InputAction.TRANSLATE
+ });
+
+ factory DelegateInputHandler.flight(ThermionViewer viewer,
+ {PickDelegate? pickDelegate,
+ bool freeLook = false,
+ double panSensitivity = 0.1,
+ double movementSensitivity = 0.1,
+ double rotateSensitivity = 0.01,
+ double? clampY,
+ ThermionEntity? entity}) =>
+ DelegateInputHandler(
+ viewer: viewer,
+ pickDelegate: pickDelegate,
+ transformDelegate: FreeFlightInputHandlerDelegate(viewer,
+ clampY: clampY,
+ entity: entity,
+ rotationSensitivity: rotateSensitivity,
+ panSensitivity: panSensitivity,
+ movementSensitivity: movementSensitivity),
+ actions: {
+ InputType.MMB_HOLD_AND_MOVE: InputAction.ROTATE,
+ InputType.SCROLLWHEEL: InputAction.TRANSLATE,
+ InputType.LMB_HOLD_AND_MOVE: InputAction.TRANSLATE,
+ InputType.KEYDOWN_A: InputAction.TRANSLATE,
+ InputType.KEYDOWN_W: InputAction.TRANSLATE,
+ InputType.KEYDOWN_S: InputAction.TRANSLATE,
+ InputType.KEYDOWN_D: InputAction.TRANSLATE,
+ InputType.SCALE1: InputAction.TRANSLATE,
+ InputType.SCALE2: InputAction.ZOOM,
+ if (freeLook) InputType.POINTER_MOVE: InputAction.ROTATE,
+ });
+
+ bool _processing = false;
+ Future process() async {
+ _processing = true;
+ for (var gestureType in _inputDeltas.keys) {
+ var vector = _inputDeltas[gestureType]!;
+ var action = _actions[gestureType];
+ if (action == null) {
+ continue;
+ }
+ final transform = _axes[gestureType];
+ if (transform != null) {
+ vector = transform * vector;
+ }
+
+ await transformDelegate?.queue(action, vector);
+ }
+ final keyTypes = [];
+ for (final key in _pressedKeys) {
+ InputAction? keyAction;
+ InputType? keyType = null;
+ Vector3? vector;
+
+ switch (key) {
+ case PhysicalKey.W:
+ keyType = InputType.KEYDOWN_W;
+ vector = Vector3(0, 0, -1);
+ break;
+ case PhysicalKey.A:
+ keyType = InputType.KEYDOWN_A;
+ vector = Vector3(-1, 0, 0);
+ break;
+ case PhysicalKey.S:
+ keyType = InputType.KEYDOWN_S;
+ vector = Vector3(0, 0, 1);
+ break;
+ case PhysicalKey.D:
+ keyType = InputType.KEYDOWN_D;
+ vector = Vector3(1, 0, 0);
+ break;
+ }
+
+ // ignore: unnecessary_null_comparison
+ if (keyType != null) {
+ keyAction = _actions[keyType];
+
+ if (keyAction != null) {
+ var transform = _axes[keyAction];
+ if (transform != null) {
+ vector = transform * vector;
+ }
+ transformDelegate?.queue(keyAction, vector!);
+ keyTypes.add(keyType);
+ }
+ }
+ }
+
+ await transformDelegate?.execute();
+ var updates = _inputDeltas.keys.followedBy(keyTypes).toList();
+ if (updates.isNotEmpty) {
+ _gesturesController.add(updates);
+ _cameraUpdatedController.add(true);
+ }
+
+ _inputDeltas.clear();
+ _processing = false;
+ }
+
+ @override
+ Future onPointerDown(Vector2 localPosition, bool isMiddle) async {
+ if (!isMiddle) {
+ final action = _actions[InputType.LMB_DOWN];
+ switch (action) {
+ case InputAction.PICK:
+ pickDelegate?.pick(localPosition);
+ default:
+ // noop
+ }
+ }
+ }
+
+ @override
+ Future onPointerMove(
+ Vector2 localPosition, Vector2 delta, bool isMiddle) async {
+ if (_processing) {
+ return;
+ }
+ if (isMiddle) {
+ _inputDeltas[InputType.MMB_HOLD_AND_MOVE] =
+ (_inputDeltas[InputType.MMB_HOLD_AND_MOVE] ?? Vector3.zero()) +
+ Vector3(delta.x, delta.y, 0.0);
+ } else {
+ _inputDeltas[InputType.LMB_HOLD_AND_MOVE] =
+ (_inputDeltas[InputType.LMB_HOLD_AND_MOVE] ?? Vector3.zero()) +
+ Vector3(delta.x, delta.y, 0.0);
+ }
+ }
+
+ @override
+ Future onPointerUp(bool isMiddle) async {}
+
+ @override
+ Future onPointerHover(Vector2 localPosition, Vector2 delta) async {
+ if (_processing) {
+ return;
+ }
+ _inputDeltas[InputType.POINTER_MOVE] =
+ (_inputDeltas[InputType.POINTER_MOVE] ?? Vector3.zero()) +
+ Vector3(delta.x, delta.y, 0.0);
+ }
+
+ @override
+ Future onPointerScroll(
+ Vector2 localPosition, double scrollDelta) async {
+ if (_processing) {
+ return;
+ }
+ try {
+ _inputDeltas[InputType.SCROLLWHEEL] =
+ (_inputDeltas[InputType.SCROLLWHEEL] ?? Vector3.zero()) +
+ Vector3(0, 0, scrollDelta > 0 ? 1 : -1);
+ } catch (e) {
+ _logger.warning("Error during scroll accumulation: $e");
+ }
+ }
+
+ @override
+ Future dispose() async {
+ viewer.unregisterRequestFrameHook(process);
+ }
+
+ @override
+ Future get initialized => viewer.initialized;
+
+ @override
+ void setActionForType(InputType gestureType, InputAction gestureAction) {
+ _actions[gestureType] = gestureAction;
+ }
+
+ @override
+ InputAction? getActionForType(InputType gestureType) {
+ return _actions[gestureType];
+ }
+
+ void keyDown(PhysicalKey key) {
+ _pressedKeys.add(key);
+ }
+
+ void keyUp(PhysicalKey key) {
+ _pressedKeys.remove(key);
+ }
+
+ @override
+ Future onScaleEnd(int pointerCount) async {}
+
+ @override
+ Future onScaleStart(Vector2 localPosition, int pointerCount) async {
+ // noop
+ }
+
+ @override
+ Future onScaleUpdate(Vector2 focalPoint, Vector2 focalPointDelta,
+ double horizontalScale, double verticalScale, double scale, int pointerCount) async {
+ if (pointerCount == 1) {
+ _inputDeltas[InputType.SCALE1] =
+ Vector3(focalPointDelta.x, focalPointDelta.y, 0);
+ } else if (pointerCount == 2) {
+ _inputDeltas[InputType.SCALE2] =
+ Vector3(0, 0, max(horizontalScale, verticalScale));
+ } else {
+ throw UnimplementedError("Only pointerCount <= 2 supported");
+ }
+ }
+}
diff --git a/thermion_dart/lib/src/input/src/delegates.dart b/thermion_dart/lib/src/input/src/delegates.dart
new file mode 100644
index 00000000..c2cdb2f1
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/delegates.dart
@@ -0,0 +1,27 @@
+import 'package:vector_math/vector_math_64.dart';
+
+import 'input_handler.dart';
+
+abstract class InputHandlerDelegate {
+ Future queue(InputAction action, Vector3? delta);
+ Future execute();
+}
+
+abstract class VelocityDelegate {
+ Vector2? get velocity;
+
+ void updateVelocity(Vector2 delta);
+
+ void startDeceleration();
+
+ void stopDeceleration();
+
+ void dispose() {
+ stopDeceleration();
+ }
+}
+
+abstract class PickDelegate {
+ const PickDelegate();
+ void pick(Vector2 location);
+}
diff --git a/thermion_dart/lib/src/input/src/implementations/default_keyboard_camera_flight_delegate.dart b/thermion_dart/lib/src/input/src/implementations/default_keyboard_camera_flight_delegate.dart
new file mode 100644
index 00000000..eb95816d
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/default_keyboard_camera_flight_delegate.dart
@@ -0,0 +1,87 @@
+// import 'dart:async';
+// import 'dart:ui';
+
+// import 'package:flutter/services.dart';
+// import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
+// import 'package:thermion_dart/thermion_dart/input/delegates.dart';
+// import 'package:vector_math/vector_math_64.dart';
+
+// class DefaultKeyboardCameraFlightDelegate
+// {
+// final ThermionViewer viewer;
+
+// static const double _panSensitivity = 0.005;
+// static const double _keyMoveSensitivity = 0.1;
+
+// final Map _pressedKeys = {};
+// Timer? _moveTimer;
+
+// DefaultKeyboardCameraFlightDelegate(this.viewer) {
+// _startMoveLoop();
+// }
+
+// @override
+// Future panCamera(Offset delta, Vector2? velocity) async {
+// double deltaX = delta.dx;
+// double deltaY = delta.dy;
+// deltaX *= _panSensitivity * viewer.pixelRatio;
+// deltaY *= _panSensitivity * viewer.pixelRatio;
+
+// await _moveCamera(deltaX, deltaY, 0);
+// }
+
+// @override
+// Future onKeypress(PhysicalKeyboardKey key) async {
+// _pressedKeys[key] = true;
+// }
+
+// // New method to handle key release
+// Future onKeyRelease(PhysicalKeyboardKey key) async {
+// _pressedKeys.remove(key);
+// }
+
+// void _startMoveLoop() {
+// _moveTimer = Timer.periodic(
+// Duration(milliseconds: 16), (_) => _processKeyboardInput());
+// }
+
+// Future _processKeyboardInput() async {
+// double dx = 0, dy = 0, dz = 0;
+
+// if (_pressedKeys[PhysicalKeyboardKey.keyW] == true)
+// dz += _keyMoveSensitivity;
+// if (_pressedKeys[PhysicalKeyboardKey.keyS] == true)
+// dz -= _keyMoveSensitivity;
+// if (_pressedKeys[PhysicalKeyboardKey.keyA] == true)
+// dx -= _keyMoveSensitivity;
+// if (_pressedKeys[PhysicalKeyboardKey.keyD] == true)
+// dx += _keyMoveSensitivity;
+
+// if (dx != 0 || dy != 0 || dz != 0) {
+// await _moveCamera(dx, dy, dz);
+// }
+// // Removed _pressedKeys.clear(); from here
+// }
+
+// Future _moveCamera(double dx, double dy, double dz) async {
+// Matrix4 currentModelMatrix = await viewer.getCameraModelMatrix();
+// Vector3 currentPosition = currentModelMatrix.getTranslation();
+// Quaternion currentRotation =
+// Quaternion.fromRotation(currentModelMatrix.getRotation());
+
+// Vector3 forward = Vector3(0, 0, -1)..applyQuaternion(currentRotation);
+// Vector3 right = Vector3(1, 0, 0)..applyQuaternion(currentRotation);
+// Vector3 up = Vector3(0, 1, 0)..applyQuaternion(currentRotation);
+
+// Vector3 moveOffset = right * dx + up * dy + forward * dz;
+// Vector3 newPosition = currentPosition + moveOffset;
+
+// Matrix4 newModelMatrix =
+// Matrix4.compose(newPosition, currentRotation, Vector3(1, 1, 1));
+// await viewer.setCameraModelMatrix4(newModelMatrix);
+// }
+
+// void dispose() {
+// _moveTimer?.cancel();
+// }
+// }
\ No newline at end of file
diff --git a/thermion_dart/lib/src/input/src/implementations/default_pan_camera_delegate.dart b/thermion_dart/lib/src/input/src/implementations/default_pan_camera_delegate.dart
new file mode 100644
index 00000000..288627fd
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/default_pan_camera_delegate.dart
@@ -0,0 +1,35 @@
+// import 'dart:ui';
+
+// import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
+// import 'package:thermion_flutter/thermion/widgets/camera/gestures/v2/delegates.dart';
+// import 'package:vector_math/vector_math_64.dart';
+
+// class DefaultPanInputHandlerDelegate implements PanInputHandlerDelegate {
+// final ThermionViewer viewer;
+
+// static const double _panSensitivity = 0.005;
+
+// DefaultPanInputHandlerDelegate(this.viewer);
+// static const double _panSensitivity = 0.005;
+
+// @override
+// Future panCamera(Offset delta, Vector2? velocity) async {
+// double deltaX = delta.dx;
+// double deltaY = delta.dy;
+// deltaX *= _panSensitivity * viewer.pixelRatio;
+// deltaY *= _panSensitivity * viewer.pixelRatio;
+
+// Matrix4 currentModelMatrix = await viewer.getCameraModelMatrix();
+// Vector3 currentPosition = currentModelMatrix.getTranslation();
+// Quaternion currentRotation = Quaternion.fromRotation(currentModelMatrix.getRotation());
+
+// Vector3 right = Vector3(1, 0, 0)..applyQuaternion(currentRotation);
+// Vector3 up = Vector3(0, 1, 0)..applyQuaternion(currentRotation);
+
+// Vector3 panOffset = right * -deltaX + up * deltaY;
+// Vector3 newPosition = currentPosition + panOffset;
+
+// Matrix4 newModelMatrix = Matrix4.compose(newPosition, currentRotation, Vector3(1, 1, 1));
+// await viewer.setCameraModelMatrix4(newModelMatrix);
+// }
+// }
\ No newline at end of file
diff --git a/thermion_dart/lib/src/input/src/implementations/default_pick_delegate.dart b/thermion_dart/lib/src/input/src/implementations/default_pick_delegate.dart
new file mode 100644
index 00000000..73835163
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/default_pick_delegate.dart
@@ -0,0 +1,13 @@
+import 'package:thermion_dart/thermion_dart.dart';
+import 'package:vector_math/vector_math_64.dart';
+
+class DefaultPickDelegate extends PickDelegate {
+ final ThermionViewer viewer;
+
+ const DefaultPickDelegate(this.viewer);
+
+ @override
+ void pick(Vector2 location) {
+ viewer.pick(location.x.toInt(), location.y.toInt());
+ }
+}
diff --git a/thermion_dart/lib/src/input/src/implementations/fixed_orbit_camera_rotation_delegate.dart b/thermion_dart/lib/src/input/src/implementations/fixed_orbit_camera_rotation_delegate.dart
new file mode 100644
index 00000000..68aec940
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/fixed_orbit_camera_rotation_delegate.dart
@@ -0,0 +1,183 @@
+import 'dart:async';
+import 'package:vector_math/vector_math_64.dart';
+import '../../../viewer/src/shared_types/camera.dart';
+import '../../../viewer/viewer.dart';
+import '../../input.dart';
+import '../input_handler.dart';
+
+class FixedOrbitRotateInputHandlerDelegate implements InputHandlerDelegate {
+ final ThermionViewer viewer;
+ late Future _camera;
+ final double minimumDistance;
+ Future Function(Vector3)? getDistanceToTarget;
+
+ Vector2 _queuedRotationDelta = Vector2.zero();
+ double _queuedZoomDelta = 0.0;
+
+ static final _up = Vector3(0, 1, 0);
+ Timer? _updateTimer;
+
+ FixedOrbitRotateInputHandlerDelegate(
+ this.viewer, {
+ this.getDistanceToTarget,
+ this.minimumDistance = 10.0,
+ }) {
+ _camera = viewer.getMainCamera().then((Camera cam) async {
+ var viewMatrix = makeViewMatrix(Vector3(0.0, 0, -minimumDistance),
+ Vector3.zero(), Vector3(0.0, 1.0, 0.0));
+ viewMatrix.invert();
+
+ await cam.setTransform(viewMatrix);
+ return cam;
+ });
+ }
+
+ void dispose() {
+ _updateTimer?.cancel();
+ }
+
+ @override
+ Future queue(InputAction action, Vector3? delta) async {
+ if (delta == null) return;
+
+ switch (action) {
+ case InputAction.ROTATE:
+ _queuedRotationDelta += Vector2(delta.x, delta.y);
+ break;
+ case InputAction.TRANSLATE:
+ _queuedZoomDelta += delta.z;
+ break;
+ case InputAction.PICK:
+ break;
+ case InputAction.NONE:
+ // Do nothing
+ break;
+ case InputAction.ZOOM:
+ _queuedZoomDelta += delta.z;
+ break;
+ }
+ }
+
+ bool _executing = false;
+
+ @override
+ Future execute() async {
+ if (_queuedRotationDelta.length2 == 0.0 && _queuedZoomDelta == 0.0) {
+ return;
+ }
+
+ if (_executing) {
+ return;
+ }
+
+ _executing = true;
+
+ final view = await viewer.getViewAt(0);
+ final viewport = await view.getViewport();
+
+ var viewMatrix = await viewer.getCameraViewMatrix();
+ var modelMatrix = await viewer.getCameraModelMatrix();
+ var projectionMatrix = await viewer.getCameraProjectionMatrix();
+ var inverseProjectionMatrix = projectionMatrix.clone()..invert();
+ Vector3 currentPosition = modelMatrix.getTranslation();
+
+ Vector3 forward = -currentPosition.normalized();
+
+ if (forward.length == 0) {
+ forward = Vector3(0, 0, -1);
+ currentPosition = Vector3(0, 0, minimumDistance);
+ }
+
+ Vector3 right = _up.cross(forward).normalized();
+ Vector3 up = forward.cross(right);
+
+ // Calculate the point where the camera forward ray intersects with the
+ // surface of the target sphere
+ var distanceToTarget =
+ (await getDistanceToTarget?.call(currentPosition)) ?? 0;
+
+ Vector3 intersection =
+ (-forward).scaled(currentPosition.length - distanceToTarget);
+
+ final intersectionInViewSpace = viewMatrix *
+ Vector4(intersection.x, intersection.y, intersection.z, 1.0);
+ final intersectionInClipSpace = projectionMatrix * intersectionInViewSpace;
+ final intersectionInNdcSpace =
+ intersectionInClipSpace / intersectionInClipSpace.w;
+
+ // Calculate new camera position based on rotation
+ final ndcX = 2 * ((-_queuedRotationDelta.x) / viewport.width);
+ final ndcY = 2 * ((_queuedRotationDelta.y) / viewport.height);
+ final ndc = Vector4(ndcX, ndcY, intersectionInNdcSpace.z, 1.0);
+
+ var clipSpace = Vector4(
+ ndc.x * intersectionInClipSpace.w,
+ ndcY * intersectionInClipSpace.w,
+ ndc.z * intersectionInClipSpace.w,
+ intersectionInClipSpace.w);
+ Vector4 cameraSpace = inverseProjectionMatrix * clipSpace;
+ Vector4 worldSpace = modelMatrix * cameraSpace;
+
+ var worldSpace3 = worldSpace.xyz.normalized() * currentPosition.length;
+ currentPosition = worldSpace3;
+
+ // Zoom
+ if (_queuedZoomDelta != 0.0) {
+ var distToIntersection =
+ (currentPosition - intersection).length - minimumDistance;
+
+ // if we somehow overshot the minimum distance, reset the camera to the minimum distance
+ if (distToIntersection < 0) {
+ currentPosition +=
+ (intersection.normalized().scaled(-distToIntersection * 10));
+ } else {
+ bool zoomingOut = _queuedZoomDelta > 0;
+ late Vector3 offset;
+
+ // when zooming, we don't always use fractions of the distance from
+ // the camera to the target (this is due to float precision issues at
+ // large distances, and also it doesn't work well for UI).
+
+ // if we're zooming out and the distance is less than 10m, we zoom out by 1 unit
+ if (zoomingOut) {
+ if (distToIntersection < 10) {
+ offset = intersection.normalized();
+ } else {
+ offset = intersection.normalized().scaled(distToIntersection / 10);
+ }
+ // if we're zooming in and the distance is less than 5m, zoom in by 1/2 the distance,
+ // otherwise 1/10 of the distance each time
+ } else {
+ if (distToIntersection < 5) {
+ offset = intersection.normalized().scaled(-distToIntersection / 2);
+ } else {
+ offset = intersection.normalized().scaled(-distToIntersection / 10);
+ }
+
+ if (offset.length > distToIntersection) {
+ offset = Vector3.zero();
+ }
+ }
+ currentPosition += offset;
+ }
+ }
+
+ // Calculate view matrix
+ forward = -currentPosition.normalized();
+ right = _up.cross(forward).normalized();
+ up = forward.cross(right);
+
+ Matrix4 newViewMatrix = makeViewMatrix(currentPosition, Vector3.zero(), up);
+ newViewMatrix.invert();
+
+ // Set the camera model matrix
+ var camera = await _camera;
+ await camera.setModelMatrix(newViewMatrix);
+
+ // Reset queued deltas
+ _queuedRotationDelta = Vector2.zero();
+ _queuedZoomDelta = 0.0;
+
+ _executing = false;
+ }
+}
diff --git a/thermion_dart/lib/src/input/src/implementations/free_flight_camera_delegate.dart b/thermion_dart/lib/src/input/src/implementations/free_flight_camera_delegate.dart
new file mode 100644
index 00000000..ba36fe27
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/free_flight_camera_delegate.dart
@@ -0,0 +1,183 @@
+import 'dart:async';
+import 'package:vector_math/vector_math_64.dart';
+import '../../../viewer/viewer.dart';
+import '../delegates.dart';
+import '../input_handler.dart';
+
+class FreeFlightInputHandlerDelegate implements InputHandlerDelegate {
+ final ThermionViewer viewer;
+ late Future entity;
+ final Vector3? minBounds;
+ final Vector3? maxBounds;
+ final double rotationSensitivity;
+ final double movementSensitivity;
+ final double zoomSensitivity;
+ final double panSensitivity;
+ final double? clampY;
+
+ static final _up = Vector3(0, 1, 0);
+ static final _forward = Vector3(0, 0, -1);
+ static final Vector3 _right = Vector3(1, 0, 0);
+
+ Vector2 _queuedRotationDelta = Vector2.zero();
+ Vector3 _queuedTranslateDelta = Vector3.zero();
+ double _queuedZoomDelta = 0.0;
+ Vector3 _queuedMoveDelta = Vector3.zero();
+
+ FreeFlightInputHandlerDelegate(this.viewer,
+ {this.minBounds,
+ this.maxBounds,
+ this.rotationSensitivity = 0.001,
+ this.movementSensitivity = 0.1,
+ this.zoomSensitivity = 0.1,
+ this.panSensitivity = 0.1,
+ this.clampY,
+ ThermionEntity? entity}) {
+ if (entity != null) {
+ this.entity = Future.value(entity);
+ } else {
+ this.entity = viewer.getMainCameraEntity();
+ }
+ }
+
+ @override
+ Future queue(InputAction action, Vector3? delta) async {
+ if (delta == null) return;
+
+ switch (action) {
+ case InputAction.ROTATE:
+ _queuedRotationDelta += Vector2(delta.x, delta.y);
+ break;
+ case InputAction.TRANSLATE:
+ _queuedTranslateDelta += delta;
+ break;
+ case InputAction.PICK:
+ _queuedZoomDelta += delta.z;
+ break;
+ case InputAction.NONE:
+ break;
+ case InputAction.ZOOM:
+ _queuedZoomDelta += delta.z;
+ break;
+ }
+ }
+
+ bool _executing = false;
+
+ @override
+ Future execute() async {
+ if (_executing) {
+ return;
+ }
+
+ _executing = true;
+
+ if (_queuedRotationDelta.length2 == 0.0 &&
+ _queuedTranslateDelta.length2 == 0.0 &&
+ _queuedZoomDelta == 0.0 &&
+ _queuedMoveDelta.length2 == 0.0) {
+ _executing = false;
+ return;
+ }
+
+ final activeCamera = await viewer.getActiveCamera();
+
+ Matrix4 currentTransform = await viewer.getLocalTransform(await entity);
+
+ Quaternion currentRotation =
+ Quaternion.fromRotation(currentTransform.getRotation());
+
+ // Calculate relative transform
+ Matrix4 relativeTransform = Matrix4.identity();
+ Vector3 relativeTranslation = Vector3.zero();
+ Quaternion relativeRotation = Quaternion.identity();
+
+ // Apply rotation
+ if (_queuedRotationDelta.length2 > 0.0) {
+ double deltaX = _queuedRotationDelta.x * rotationSensitivity;
+ double deltaY = _queuedRotationDelta.y * rotationSensitivity;
+
+ Quaternion yawRotation = Quaternion.axisAngle(_up, -deltaX);
+ Quaternion pitchRotation = Quaternion.axisAngle(_right, -deltaY);
+
+ relativeRotation = pitchRotation * yawRotation;
+ _queuedRotationDelta = Vector2.zero();
+ }
+
+ // Apply pan
+ if (_queuedTranslateDelta.length2 > 0.0) {
+ double deltaX = _queuedTranslateDelta.x * panSensitivity;
+ double deltaY = _queuedTranslateDelta.y * panSensitivity;
+ double deltaZ = -_queuedTranslateDelta.z * panSensitivity;
+
+ relativeTranslation += _right * deltaX + _up * deltaY + _forward * deltaZ;
+ _queuedTranslateDelta = Vector3.zero();
+ }
+
+ // Apply zoom
+ if (_queuedZoomDelta != 0.0) {
+ Vector3 forward = _forward.clone()..applyQuaternion(currentRotation);
+ relativeTranslation += forward * -_queuedZoomDelta * zoomSensitivity;
+ _queuedZoomDelta = 0.0;
+ }
+
+ // Apply queued movement
+ if (_queuedMoveDelta.length2 > 0.0) {
+ Vector3 forward = _forward.clone()..applyQuaternion(currentRotation);
+ Vector3 right = _right.clone()..applyQuaternion(currentRotation);
+ Vector3 up = _up.clone()..applyQuaternion(currentRotation);
+
+ relativeTranslation += (right * _queuedMoveDelta.x +
+ up * _queuedMoveDelta.y +
+ forward * _queuedMoveDelta.z) *
+ movementSensitivity;
+
+ _queuedMoveDelta = Vector3.zero();
+ }
+
+ // If the managed entity is not the active camera, we need to apply the rotation from the current camera model matrix
+ // to the entity's translation
+ if (await entity != activeCamera.getEntity()) {
+ Matrix4 modelMatrix = await activeCamera.getModelMatrix();
+ relativeTranslation = modelMatrix.getRotation() * relativeTranslation;
+ }
+
+ // Compose relative transform
+ relativeTransform = Matrix4.compose(
+ relativeTranslation, relativeRotation, Vector3(1, 1, 1));
+
+ // Apply relative transform to current transform
+ Matrix4 newTransform = currentTransform * relativeTransform;
+
+ // Extract new position and constrain it
+ Vector3 newPosition = newTransform.getTranslation();
+ newPosition = _constrainPosition(newPosition);
+
+ // Recompose final transform with constrained position
+ Matrix4 finalTransform = Matrix4.compose(newPosition,
+ Quaternion.fromRotation(newTransform.getRotation()), Vector3(1, 1, 1));
+
+ // Update camera
+ await viewer.setTransform(await entity, finalTransform);
+
+ _executing = false;
+ }
+
+ Vector3 _constrainPosition(Vector3 position) {
+ if (minBounds != null) {
+ position.x = position.x.clamp(minBounds!.x, double.infinity);
+ position.y = position.y.clamp(minBounds!.y, double.infinity);
+ position.z = position.z.clamp(minBounds!.z, double.infinity);
+ }
+ if (maxBounds != null) {
+ position.x = position.x.clamp(double.negativeInfinity, maxBounds!.x);
+ position.y = position.y.clamp(double.negativeInfinity, maxBounds!.y);
+ position.z = position.z.clamp(double.negativeInfinity, maxBounds!.z);
+ }
+
+ if (clampY != null) {
+ position.y = clampY!;
+ }
+ return position;
+ }
+}
diff --git a/thermion_dart/lib/src/input/src/implementations/picking_camera_gesture_handler.dart b/thermion_dart/lib/src/input/src/implementations/picking_camera_gesture_handler.dart
new file mode 100644
index 00000000..f3056f20
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/picking_camera_gesture_handler.dart
@@ -0,0 +1,230 @@
+// import 'dart:async';
+
+// import 'package:flutter/gestures.dart';
+// import 'package:flutter/services.dart';
+// import 'package:logging/logging.dart';
+// import 'package:thermion_dart/thermion_dart/entities/abstract_gizmo.dart';
+// import 'package:thermion_dart/thermion_dart/thermion_viewer.dart';
+// import 'dart:ui';
+// import 'package:thermion_dart/thermion_dart/input/input_handler.dart';
+
+// // Renamed implementation
+// class PickingCameraGestureHandler implements InputHandler {
+// final ThermionViewer viewer;
+// final bool enableCamera;
+// final bool enablePicking;
+// final Logger _logger = Logger("PickingCameraGestureHandler");
+
+// AbstractGizmo? _gizmo;
+// Timer? _scrollTimer;
+// ThermionEntity? _highlightedEntity;
+// StreamSubscription? _pickResultSubscription;
+
+// bool _gizmoAttached = false;
+
+// PickingCameraGestureHandler({
+// required this.viewer,
+// this.enableCamera = true,
+// this.enablePicking = true,
+// }) {
+// try {
+// _gizmo = viewer.gizmo;
+// } catch (err) {
+// _logger.warning(
+// "Failed to get gizmo. If you are running on WASM, this is expected");
+// }
+
+// _pickResultSubscription = viewer.pickResult.listen(_onPickResult);
+
+// // Add keyboard listener
+// RawKeyboard.instance.addListener(_handleKeyEvent);
+// }
+
+// @override
+// ThermionGestureState get currentState => _currentState;
+
+// void _handleKeyEvent(RawKeyEvent event) {
+// if (event is RawKeyDownEvent &&
+// event.logicalKey == LogicalKeyboardKey.escape) {
+// _resetToNullState();
+// }
+// }
+
+// void _resetToNullState() async {
+// _currentState = ThermionGestureState.NULL;
+// if (_highlightedEntity != null) {
+// await viewer.removeStencilHighlight(_highlightedEntity!);
+// _highlightedEntity = null;
+// }
+// }
+
+// void _onPickResult(FilamentPickResult result) async {
+// var targetEntity = await viewer.getAncestor(result.entity) ?? result.entity;
+
+// if (_highlightedEntity != targetEntity) {
+// if (_highlightedEntity != null) {
+// await viewer.removeStencilHighlight(_highlightedEntity!);
+// }
+
+// _highlightedEntity = targetEntity;
+// if (_highlightedEntity != null) {
+// await viewer.setStencilHighlight(_highlightedEntity!);
+// _gizmo?.attach(_highlightedEntity!);
+// }
+// }
+// }
+
+// @override
+// Future onPointerHover(Offset localPosition, Offset delta) async {
+// if (_gizmoAttached) {
+// _gizmo?.checkHover(localPosition.dx, localPosition.dy);
+// }
+
+// if (_highlightedEntity != null) {
+// await viewer.queuePositionUpdateFromViewportCoords(
+// _highlightedEntity!,
+// localPosition.dx,
+// localPosition.dy,
+// );
+// }
+// }
+
+// @override
+// Future onPointerScroll(Offset localPosition, double scrollDelta) async {
+// if (!enableCamera) {
+// return;
+// }
+// if (_currentState == ThermionGestureState.NULL ||
+// _currentState == ThermionGestureState.ZOOMING) {
+// await _zoom(localPosition, scrollDelta);
+// }
+// }
+
+// @override
+// Future onPointerDown(Offset localPosition, int buttons) async {
+// if (_highlightedEntity != null) {
+// _resetToNullState();
+// return;
+// }
+
+// if (enablePicking && buttons != kMiddleMouseButton) {
+// viewer.pick(localPosition.dx.toInt(), localPosition.dy.toInt());
+// }
+
+// if (buttons == kMiddleMouseButton && enableCamera) {
+// await viewer.rotateStart(localPosition.dx, localPosition.dy);
+// _currentState = ThermionGestureState.ROTATING;
+// } else if (buttons == kPrimaryMouseButton && enableCamera) {
+// await viewer.panStart(localPosition.dx, localPosition.dy);
+// _currentState = ThermionGestureState.PANNING;
+// }
+// }
+
+// @override
+// Future onPointerMove(
+// Offset localPosition, Offset delta, int buttons) async {
+// if (_highlightedEntity != null) {
+// await _handleEntityHighlightedMove(localPosition);
+// return;
+// }
+
+// switch (_currentState) {
+// case ThermionGestureState.NULL:
+// break;
+
+// case ThermionGestureState.ROTATING:
+// if (enableCamera) {
+// await viewer.rotateUpdate(localPosition.dx, localPosition.dy);
+// }
+// break;
+// case ThermionGestureState.PANNING:
+// if (enableCamera) {
+// await viewer.panUpdate(localPosition.dx, localPosition.dy);
+// }
+// break;
+// case ThermionGestureState.ZOOMING:
+// // ignore
+// break;
+// }
+// }
+
+// @override
+// Future onPointerUp(int buttons) async {
+// switch (_currentState) {
+// case ThermionGestureState.ROTATING:
+// await viewer.rotateEnd();
+// _currentState = ThermionGestureState.NULL;
+// break;
+// case ThermionGestureState.PANNING:
+// await viewer.panEnd();
+// _currentState = ThermionGestureState.NULL;
+// break;
+// default:
+// break;
+// }
+// }
+
+// Future _handleEntityHighlightedMove(Offset localPosition) async {
+// if (_highlightedEntity != null) {
+// await viewer.queuePositionUpdateFromViewportCoords(
+// _highlightedEntity!,
+// localPosition.dx,
+// localPosition.dy,
+// );
+// }
+// }
+
+// Future _zoom(Offset localPosition, double scrollDelta) async {
+// _scrollTimer?.cancel();
+// _currentState = ThermionGestureState.ZOOMING;
+// await viewer.zoomBegin();
+// await viewer.zoomUpdate(
+// localPosition.dx, localPosition.dy, scrollDelta > 0 ? 1 : -1);
+
+// _scrollTimer = Timer(const Duration(milliseconds: 100), () async {
+// await viewer.zoomEnd();
+// _currentState = ThermionGestureState.NULL;
+// });
+// }
+
+// @override
+// void dispose() {
+// _pickResultSubscription?.cancel();
+// if (_highlightedEntity != null) {
+// viewer.removeStencilHighlight(_highlightedEntity!);
+// }
+// RawKeyboard.instance.removeListener(_handleKeyEvent);
+// }
+
+// @override
+// Future get initialized => viewer.initialized;
+
+// @override
+// InputAction getActionForType(InputType type) {
+// // TODO: implement getActionForType
+// throw UnimplementedError();
+// }
+
+// @override
+// Future onScaleEnd() {
+// // TODO: implement onScaleEnd
+// throw UnimplementedError();
+// }
+
+// @override
+// Future onScaleStart() {
+// // TODO: implement onScaleStart
+// throw UnimplementedError();
+// }
+
+// @override
+// Future onScaleUpdate() {
+// // TODO: implement onScaleUpdate
+// throw UnimplementedError();
+// }
+
+// @override
+// void setActionForType(InputType type, InputAction action) {
+// // TODO: implement setActionForType
+// }
+// }
diff --git a/thermion_dart/lib/src/input/src/implementations/third_person_camera_delegate.dart b/thermion_dart/lib/src/input/src/implementations/third_person_camera_delegate.dart
new file mode 100644
index 00000000..eaa73807
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/implementations/third_person_camera_delegate.dart
@@ -0,0 +1,122 @@
+import 'dart:async';
+import 'dart:math';
+import 'package:vector_math/vector_math_64.dart';
+import '../../../viewer/viewer.dart';
+import '../delegates.dart';
+import '../input_handler.dart';
+
+class OverTheShoulderCameraDelegate implements InputHandlerDelegate {
+ final ThermionViewer viewer;
+
+ late ThermionEntity player;
+ late Camera camera;
+
+ final double rotationSensitivity;
+ final double movementSensitivity;
+ final double zoomSensitivity;
+ final double panSensitivity;
+ final double? clampY;
+
+ static final _up = Vector3(0, 1, 0);
+ static final _forward = Vector3(0, 0, -1);
+ static final Vector3 _right = Vector3(1, 0, 0);
+
+ Vector2 _queuedRotationDelta = Vector2.zero();
+ double _queuedZoomDelta = 0.0;
+ Vector3 _queuedMoveDelta = Vector3.zero();
+
+ final cameraPosition = Vector3(-0.5, 2.5, -3);
+ final cameraUp = Vector3(0, 1, 0);
+ var cameraLookAt = Vector3(0, 0.5, 3);
+
+ final void Function(Matrix4 transform)? onUpdate;
+
+ OverTheShoulderCameraDelegate(this.viewer, this.player, this.camera,
+ {this.rotationSensitivity = 0.001,
+ this.movementSensitivity = 0.1,
+ this.zoomSensitivity = 0.1,
+ this.panSensitivity = 0.1,
+ this.clampY,
+ ThermionEntity? entity,
+ this.onUpdate}) {}
+
+ @override
+ Future queue(InputAction action, Vector3? delta) async {
+ if (delta == null) return;
+
+ switch (action) {
+ case InputAction.ROTATE:
+ _queuedRotationDelta += Vector2(delta.x, delta.y);
+ break;
+ case InputAction.TRANSLATE:
+ _queuedMoveDelta += delta;
+ break;
+ case InputAction.PICK:
+ _queuedZoomDelta += delta.z;
+ break;
+ case InputAction.NONE:
+ break;
+ case InputAction.ZOOM:
+ break;
+ }
+ }
+
+ static bool _executing = false;
+ static bool get executing => _executing;
+
+ @override
+ Future execute() async {
+ if (_executing) {
+ return;
+ }
+
+ _executing = true;
+
+ if (_queuedRotationDelta.length2 == 0.0 &&
+ _queuedZoomDelta == 0.0 &&
+ _queuedMoveDelta.length2 == 0.0) {
+ _executing = false;
+ return;
+ }
+
+ Matrix4 currentPlayerTransform = await viewer.getWorldTransform(player);
+
+ // first we need to convert the move vector to player space
+ var newTransform =
+ Matrix4.translation(_queuedMoveDelta * movementSensitivity);
+
+ _queuedMoveDelta = Vector3.zero();
+ Matrix4 newPlayerTransform = newTransform * currentPlayerTransform;
+ await viewer.setTransform(player, newPlayerTransform);
+
+ if (_queuedZoomDelta != 0.0) {
+ // Ignore zoom
+ }
+
+ var inverted = newPlayerTransform.clone()..invert();
+
+ // camera is always looking at -Z, whereas models generally face towards +Z
+ if (_queuedRotationDelta.length2 > 0.0) {
+ double deltaX =
+ _queuedRotationDelta.x * rotationSensitivity;
+ double deltaY =
+ _queuedRotationDelta.y * rotationSensitivity;
+
+ cameraLookAt = Matrix4.rotationY(-deltaX) *
+ Matrix4.rotationX(-deltaY) *
+ cameraLookAt;
+ _queuedRotationDelta = Vector2.zero();
+ }
+
+ var newCameraViewMatrix =
+ makeViewMatrix(cameraPosition, cameraLookAt, cameraUp);
+ newCameraViewMatrix.invert();
+ var newCameraTransform = newPlayerTransform * newCameraViewMatrix;
+ await camera.setTransform(newCameraTransform);
+
+ await viewer.queueTransformUpdates(
+ [camera.getEntity(), player], [newCameraTransform, newPlayerTransform]);
+ onUpdate?.call(newPlayerTransform);
+ _executing = false;
+ }
+}
diff --git a/thermion_dart/lib/src/input/src/input_handler.dart b/thermion_dart/lib/src/input/src/input_handler.dart
new file mode 100644
index 00000000..90983d48
--- /dev/null
+++ b/thermion_dart/lib/src/input/src/input_handler.dart
@@ -0,0 +1,49 @@
+import 'dart:async';
+
+import 'package:vector_math/vector_math_64.dart';
+
+enum InputType {
+ LMB_DOWN,
+ LMB_HOLD_AND_MOVE,
+ LMB_UP,
+ LMB_HOVER,
+ MMB_DOWN,
+ MMB_HOLD_AND_MOVE,
+
+ MMB_UP,
+ MMB_HOVER,
+ SCALE1,
+ SCALE2,
+ SCROLLWHEEL,
+ POINTER_MOVE,
+ KEYDOWN_W,
+ KEYDOWN_A,
+ KEYDOWN_S,
+ KEYDOWN_D,
+}
+
+enum PhysicalKey { W, A, S, D }
+
+enum InputAction { TRANSLATE, ROTATE, PICK, ZOOM, NONE }
+
+abstract class InputHandler {
+ Stream get cameraUpdated;
+
+ Future onPointerHover(Vector2 localPosition, Vector2 delta);
+ Future onPointerScroll(Vector2 localPosition, double scrollDelta);
+ Future onPointerDown(Vector2 localPosition, bool isMiddle);
+ Future onPointerMove(
+ Vector2 localPosition, Vector2 delta, bool isMiddle);
+ Future onPointerUp(bool isMiddle);
+ Future onScaleStart(Vector2 focalPoint, int pointerCount);
+ Future onScaleUpdate(Vector2 focalPoint, Vector2 focalPointDelta, double horizontalScale, double verticalScale, double scale, int pointerCount);
+ Future onScaleEnd(int pointerCount);
+ Future get initialized;
+ Future dispose();
+
+ void setActionForType(InputType gestureType, InputAction gestureAction);
+ InputAction? getActionForType(InputType gestureType);
+
+ void keyDown(PhysicalKey key);
+ void keyUp(PhysicalKey key);
+}
diff --git a/thermion_dart/lib/src/scene.dart b/thermion_dart/lib/src/scene.dart
new file mode 100644
index 00000000..647b0e5f
--- /dev/null
+++ b/thermion_dart/lib/src/scene.dart
@@ -0,0 +1,234 @@
+import 'dart:convert';
+import 'package:vector_math/vector_math_64.dart';
+
+import '../thermion_dart.dart';
+
+class SceneV2 {
+ final Map assets;
+ final List lights;
+ List cameras;
+ final List entities;
+ EnvironmentInfo? environment;
+
+ SceneV2({
+ Map? assets,
+ List? lights,
+ List? cameras,
+ List? entities,
+ this.environment,
+ }) : assets = assets ?? {},
+ lights = lights ?? [],
+ cameras = cameras ?? [],
+ entities = entities ?? [];
+
+ void addAsset(String uri, AssetType type) {
+ assets[uri] = AssetInfo(uri: uri, type: type);
+ }
+
+ void addLight(LightInfo light) {
+ lights.add(light);
+ }
+
+ void clearAssets() {
+ assets.clear();
+ }
+
+ void clearLights() {
+ lights.clear();
+ }
+
+ void setCamera(Matrix4 modelMatrix, Matrix4 projectionMatrix) {
+ var camera = cameras.firstWhere((cam) => cam.isActive);
+ camera.modelMatrix = modelMatrix;
+ camera.projectionMatrix = projectionMatrix;
+ }
+
+ void addEntity(String assetUri, Matrix4 transform) {
+ if (assets.containsKey(assetUri)) {
+ entities.add(EntityInfo(assetUri: assetUri, transform: transform));
+ } else {
+ throw Exception('Asset not found: $assetUri');
+ }
+ }
+
+ void setEnvironment(String? skyboxUri, String? iblUri) {
+ environment = EnvironmentInfo(skyboxUri: skyboxUri, iblUri: iblUri);
+ }
+
+ Map toJson() => {
+ 'assets': assets.map((key, value) => MapEntry(key, value.toJson())),
+ 'lights': lights.map((light) => light.toJson()).toList(),
+ 'cameras': cameras.map((camera) => camera.toJson()),
+ 'entities': entities.map((entity) => entity.toJson()).toList(),
+ 'environment': environment?.toJson(),
+ };
+
+ String toJsonString() => jsonEncode(toJson());
+
+ static SceneV2 fromJson(Map json) {
+ return SceneV2(
+ assets: (json['assets'] as Map).map(
+ (key, value) => MapEntry(key, AssetInfo.fromJson(value)),
+ ),
+ lights: (json['lights'] as List)
+ .map((light) => LightInfo.fromJson(light))
+ .toList(),
+ cameras: json['cameras'].map((camera) => CameraInfo.fromJson),
+ entities: (json['entities'] as List)
+ .map((entity) => EntityInfo.fromJson(entity))
+ .toList(),
+ environment: json['environment'] != null
+ ? EnvironmentInfo.fromJson(json['environment'])
+ : null,
+ );
+ }
+
+ static SceneV2 fromJsonString(String jsonString) =>
+ fromJson(jsonDecode(jsonString));
+}
+
+class AssetInfo {
+ final String uri;
+ final AssetType type;
+
+ AssetInfo({required this.uri, required this.type});
+
+ Map toJson() => {
+ 'uri': uri,
+ 'type': type.toString().split('.').last,
+ };
+
+ static AssetInfo fromJson(Map json) {
+ return AssetInfo(
+ uri: json['uri'],
+ type: AssetType.values.firstWhere(
+ (e) => e.toString().split('.').last == json['type'],
+ orElse: () => AssetType.glb),
+ );
+ }
+}
+
+enum AssetType { glb, gltf, geometryPrimitive }
+
+class LightInfo {
+ final LightType type;
+ final Vector3 position;
+ final Vector3 direction;
+ final Color color;
+ final double intensity;
+
+ LightInfo({
+ required this.type,
+ required this.position,
+ required this.direction,
+ required this.color,
+ required this.intensity,
+ });
+
+ Map toJson() => {
+ 'type': type.toString().split('.').last,
+ 'position': [position.x, position.y, position.z],
+ 'direction': [direction.x, direction.y, direction.z],
+ 'color': color.toJson(),
+ 'intensity': intensity,
+ };
+
+ static LightInfo fromJson(Map json) {
+ return LightInfo(
+ type: LightType.values.firstWhere((e) => e.name == json['type']),
+ position: Vector3.array(json['position'].cast()),
+ direction: Vector3.array(json['direction'].cast()),
+ color: Color.fromJson(json['color']),
+ intensity: json['intensity'],
+ );
+ }
+}
+
+class CameraInfo {
+ final bool isActive;
+ Matrix4 modelMatrix;
+ Matrix4 projectionMatrix;
+
+ CameraInfo(
+ {required this.isActive,
+ required this.modelMatrix,
+ required this.projectionMatrix});
+
+ Map toJson() => {
+ 'modelMatrix': modelMatrix.storage,
+ 'projectionMatrix': projectionMatrix.storage,
+ 'isActive': isActive,
+ };
+
+ static CameraInfo fromJson(Map json) {
+ return CameraInfo(
+ modelMatrix:
+ Matrix4.fromFloat64List(json['modelMatrix'].cast()),
+ projectionMatrix:
+ Matrix4.fromFloat64List(json['modelMatrix'].cast()),
+ isActive: json["isActive"]);
+ }
+}
+
+class EntityInfo {
+ final String assetUri;
+ final Matrix4 transform;
+
+ EntityInfo({required this.assetUri, required this.transform});
+
+ Map toJson() => {
+ 'assetUri': assetUri,
+ 'transform': transform.storage,
+ };
+
+ static EntityInfo fromJson(Map json) {
+ return EntityInfo(
+ assetUri: json['assetUri'],
+ transform: Matrix4.fromList(List.from(json['transform'])),
+ );
+ }
+}
+
+class EnvironmentInfo {
+ final String? skyboxUri;
+ final String? iblUri;
+
+ EnvironmentInfo({this.skyboxUri, this.iblUri});
+
+ Map toJson() => {
+ 'skyboxUri': skyboxUri,
+ 'iblUri': iblUri,
+ };
+
+ static EnvironmentInfo fromJson(Map json) {
+ return EnvironmentInfo(
+ skyboxUri: json['skyboxUri'],
+ iblUri: json['iblUri'],
+ );
+ }
+}
+
+class Color {
+ final double r;
+ final double g;
+ final double b;
+ final double a;
+
+ Color({required this.r, required this.g, required this.b, this.a = 1.0});
+
+ Map toJson() => {
+ 'r': r,
+ 'g': g,
+ 'b': b,
+ 'a': a,
+ };
+
+ static Color fromJson(Map json) {
+ return Color(
+ r: json['r'],
+ g: json['g'],
+ b: json['b'],
+ a: json['a'],
+ );
+ }
+}
diff --git a/thermion_dart/lib/src/utils/src/axis.dart b/thermion_dart/lib/src/utils/src/axis.dart
new file mode 100644
index 00000000..6c9226e4
--- /dev/null
+++ b/thermion_dart/lib/src/utils/src/axis.dart
@@ -0,0 +1,44 @@
+import 'dart:typed_data';
+
+import 'package:vector_math/vector_math_64.dart';
+
+import '../../viewer/viewer.dart';
+
+class Axis {
+ final ThermionViewer _viewer;
+ final ThermionEntity xAxis;
+ final ThermionEntity yAxis;
+ final ThermionEntity zAxis;
+
+ Axis._(this.xAxis, this.yAxis, this.zAxis, this._viewer);
+
+ static Future create(ThermionViewer viewer) async {
+ final xAxis = await viewer!.createGeometry(
+ Geometry(Float32List.fromList([0, 0, 0, 10, 0, 0]), [0, 1],
+ primitiveType: PrimitiveType.LINES),
+ materialInstance: await viewer!.createUnlitMaterialInstance());
+ final yAxis = await viewer!.createGeometry(
+ Geometry(Float32List.fromList([0, 0, 0, 0, 10, 0]), [0, 1],
+ primitiveType: PrimitiveType.LINES),
+ materialInstance: await viewer!.createUnlitMaterialInstance());
+ final zAxis = await viewer!.createGeometry(
+ Geometry(Float32List.fromList([0, 0, 0, 0, 0, 10]), [0, 1],
+ primitiveType: PrimitiveType.LINES),
+ materialInstance: await viewer!.createUnlitMaterialInstance());
+
+ await viewer!.setMaterialPropertyFloat4(
+ xAxis, "baseColorFactor", 0, 1.0, 0.0, 0.0, 1.0);
+ await viewer!.setMaterialPropertyFloat4(
+ yAxis, "baseColorFactor", 0, 0.0, 1.0, 0.0, 1.0);
+ await viewer!.setMaterialPropertyFloat4(
+ zAxis, "baseColorFactor", 0, 0.0, 0.0, 1.0, 1.0);
+ return Axis._(xAxis, yAxis, zAxis, viewer);
+ }
+
+ Future setTransform(Matrix4 transform) async {
+ await _viewer.setTransform(xAxis, transform);
+ await _viewer.setTransform(yAxis, transform);
+ await _viewer.setTransform(zAxis, transform);
+
+ }
+}
diff --git a/thermion_dart/lib/thermion_dart/utils/camera_orientation.dart b/thermion_dart/lib/src/utils/src/camera_orientation.dart
similarity index 100%
rename from thermion_dart/lib/thermion_dart/utils/camera_orientation.dart
rename to thermion_dart/lib/src/utils/src/camera_orientation.dart
diff --git a/thermion_dart/lib/thermion_dart/utils/dart_resources.dart b/thermion_dart/lib/src/utils/src/dart_resources.dart
similarity index 89%
rename from thermion_dart/lib/thermion_dart/utils/dart_resources.dart
rename to thermion_dart/lib/src/utils/src/dart_resources.dart
index e9b0f71d..c4c5278d 100644
--- a/thermion_dart/lib/thermion_dart/utils/dart_resources.dart
+++ b/thermion_dart/lib/src/utils/src/dart_resources.dart
@@ -1,6 +1,9 @@
import 'dart:ffi';
import 'dart:io';
-import '../compatibility/compatibility.dart';
+
+import 'package:ffi/ffi.dart';
+
+import '../../viewer/src/ffi/src/thermion_dart.g.dart';
class DartResourceLoader {
static final _assets = {};
diff --git a/thermion_dart/lib/src/utils/src/geometry.dart b/thermion_dart/lib/src/utils/src/geometry.dart
new file mode 100644
index 00000000..2e70ff90
--- /dev/null
+++ b/thermion_dart/lib/src/utils/src/geometry.dart
@@ -0,0 +1,334 @@
+import 'dart:math';
+import 'dart:typed_data';
+
+import '../../../thermion_dart.dart';
+
+class GeometryHelper {
+ static Geometry sphere({bool normals = true, bool uvs = true}) {
+ int latitudeBands = 20;
+ int longitudeBands = 20;
+
+ List verticesList = [];
+ List normalsList = [];
+ List uvsList = [];
+ List indices = [];
+
+ for (int latNumber = 0; latNumber <= latitudeBands; latNumber++) {
+ double theta = latNumber * pi / latitudeBands;
+ double sinTheta = sin(theta);
+ double cosTheta = cos(theta);
+
+ for (int longNumber = 0; longNumber <= longitudeBands; longNumber++) {
+ double phi = longNumber * 2 * pi / longitudeBands;
+ double sinPhi = sin(phi);
+ double cosPhi = cos(phi);
+
+ double x = cosPhi * sinTheta;
+ double y = cosTheta;
+ double z = sinPhi * sinTheta;
+
+ verticesList.addAll([x, y, z]);
+ normalsList.addAll([x, y, z]);
+
+ uvsList.addAll([longNumber / longitudeBands, latNumber / latitudeBands]);
+ }
+ }
+
+ for (int latNumber = 0; latNumber < latitudeBands; latNumber++) {
+ for (int longNumber = 0; longNumber < longitudeBands; longNumber++) {
+ int first = (latNumber * (longitudeBands + 1)) + longNumber;
+ int second = first + longitudeBands + 1;
+
+ indices.addAll([first, second, first + 1, second, second + 1, first + 1]);
+ }
+ }
+
+ Float32List vertices = Float32List.fromList(verticesList);
+ Float32List? _normals = normals ? Float32List.fromList(normalsList) : null;
+ Float32List? _uvs = uvs ? Float32List.fromList(uvsList) : null;
+
+ return Geometry(vertices, indices, normals: _normals, uvs: _uvs);
+ }
+
+static Geometry cube({bool normals = true, bool uvs = true}) {
+ final vertices = Float32List.fromList([
+ // Front face
+ -1, -1, 1,
+ 1, -1, 1,
+ 1, 1, 1,
+ -1, 1, 1,
+
+ // Back face
+ -1, -1, -1,
+ -1, 1, -1,
+ 1, 1, -1,
+ 1, -1, -1,
+
+ // Top face
+ -1, 1, -1,
+ -1, 1, 1,
+ 1, 1, 1,
+ 1, 1, -1,
+
+ // Bottom face
+ -1, -1, -1,
+ 1, -1, -1,
+ 1, -1, 1,
+ -1, -1, 1,
+
+ // Right face
+ 1, -1, -1,
+ 1, 1, -1,
+ 1, 1, 1,
+ 1, -1, 1,
+
+ // Left face
+ -1, -1, -1,
+ -1, -1, 1,
+ -1, 1, 1,
+ -1, 1, -1,
+ ]);
+
+ final _normals = normals ? Float32List.fromList([
+ // Front face
+ 0, 0, 1,
+ 0, 0, 1,
+ 0, 0, 1,
+ 0, 0, 1,
+
+ // Back face
+ 0, 0, -1,
+ 0, 0, -1,
+ 0, 0, -1,
+ 0, 0, -1,
+
+ // Top face
+ 0, 1, 0,
+ 0, 1, 0,
+ 0, 1, 0,
+ 0, 1, 0,
+
+ // Bottom face
+ 0, -1, 0,
+ 0, -1, 0,
+ 0, -1, 0,
+ 0, -1, 0,
+
+ // Right face
+ 1, 0, 0,
+ 1, 0, 0,
+ 1, 0, 0,
+ 1, 0, 0,
+
+ // Left face
+ -1, 0, 0,
+ -1, 0, 0,
+ -1, 0, 0,
+ -1, 0, 0,
+ ]) : null;
+
+ final _uvs = uvs ? Float32List.fromList([
+ // Front face
+ 1/3, 1/3,
+ 2/3, 1/3,
+ 2/3, 2/3,
+ 1/3, 2/3,
+
+ // Back face
+ 2/3, 2/3,
+ 2/3, 1,
+ 1, 1,
+ 1, 2/3,
+
+ // Top face
+ 1/3, 0,
+ 1/3, 1/3,
+ 2/3, 1/3,
+ 2/3, 0,
+
+ // Bottom face
+ 1/3, 2/3,
+ 2/3, 2/3,
+ 2/3, 1,
+ 1/3, 1,
+
+ // Right face
+ 2/3, 1/3,
+ 2/3, 2/3,
+ 1, 2/3,
+ 1, 1/3,
+
+ // Left face
+ 0, 1/3,
+ 1/3, 1/3,
+ 1/3, 2/3,
+ 0, 2/3,
+ ]) : null;
+
+ final indices = [
+ // Front face
+ 0, 1, 2, 0, 2, 3,
+ // Back face
+ 4, 5, 6, 4, 6, 7,
+ // Top face
+ 8, 9, 10, 8, 10, 11,
+ // Bottom face
+ 12, 13, 14, 12, 14, 15,
+ // Right face
+ 16, 17, 18, 16, 18, 19,
+ // Left face
+ 20, 21, 22, 20, 22, 23
+ ];
+ return Geometry(vertices, indices, normals: _normals, uvs: _uvs);
+}
+
+ static Geometry cylinder({double radius = 1.0, double length = 1.0, bool normals = true, bool uvs = true }) {
+ int segments = 32;
+ List verticesList = [];
+ List normalsList = [];
+ List uvsList = [];
+ List indices = [];
+
+ // Create vertices, normals, and UVs
+ for (int i = 0; i <= segments; i++) {
+ double theta = i * 2 * pi / segments;
+ double x = radius * cos(theta);
+ double z = radius * sin(theta);
+
+ // Top circle
+ verticesList.addAll([x, length / 2, z]);
+ normalsList.addAll([x / radius, 0, z / radius]);
+ uvsList.addAll([i / segments, 1]);
+
+ // Bottom circle
+ verticesList.addAll([x, -length / 2, z]);
+ normalsList.addAll([x / radius, 0, z / radius]);
+ uvsList.addAll([i / segments, 0]);
+ }
+
+ // Create indices
+ for (int i = 0; i < segments; i++) {
+ int topFirst = i * 2;
+ int topSecond = (i + 1) * 2;
+ int bottomFirst = topFirst + 1;
+ int bottomSecond = topSecond + 1;
+
+ // Top face (counter-clockwise)
+ indices.addAll([segments * 2, topSecond, topFirst]);
+ // Bottom face (counter-clockwise when viewed from below)
+ indices.addAll([segments * 2 + 1, bottomFirst, bottomSecond]);
+ // Side faces (counter-clockwise)
+ indices.addAll([topFirst, bottomFirst, topSecond]);
+ indices.addAll([bottomFirst, bottomSecond, topSecond]);
+ }
+
+ // Add center vertices, normals, and UVs for top and bottom faces
+ verticesList.addAll([0, length / 2, 0]); // Top center
+ normalsList.addAll([0, 1, 0]);
+ uvsList.addAll([0.5, 0.5]); // Center of top face
+
+ verticesList.addAll([0, -length / 2, 0]); // Bottom center
+ normalsList.addAll([0, -1, 0]);
+ uvsList.addAll([0.5, 0.5]); // Center of bottom face
+
+ // Add top and bottom face normals and UVs
+ for (int i = 0; i <= segments; i++) {
+ normalsList.addAll([0, 1, 0]); // Top face normal
+ normalsList.addAll([0, -1, 0]); // Bottom face normal
+
+ double u = 0.5 + 0.5 * cos(i * 2 * pi / segments);
+ double v = 0.5 + 0.5 * sin(i * 2 * pi / segments);
+ uvsList.addAll([u, v]); // Top face UV
+ uvsList.addAll([u, v]); // Bottom face UV
+ }
+
+ Float32List vertices = Float32List.fromList(verticesList);
+ Float32List? _normals = normals ? Float32List.fromList(normalsList) : null;
+ Float32List? _uvs = uvs ? Float32List.fromList(uvsList) : null;
+
+ return Geometry(vertices, indices, normals: _normals, uvs: _uvs);
+ }
+
+ static Geometry conic({double radius = 1.0, double length = 1.0, bool normals = true, bool uvs = true}) {
+ int segments = 32;
+ List verticesList = [];
+ List normalsList = [];
+ List uvsList = [];
+ List indices = [];
+
+ // Create vertices, normals, and UVs
+ for (int i = 0; i <= segments; i++) {
+ double theta = i * 2 * pi / segments;
+ double x = radius * cos(theta);
+ double z = radius * sin(theta);
+
+ // Base circle
+ verticesList.addAll([x, 0, z]);
+
+ // Calculate normal for the side
+ double nx = x / sqrt(x * x + length * length);
+ double nz = z / sqrt(z * z + length * length);
+ double ny = radius / sqrt(radius * radius + length * length);
+ normalsList.addAll([nx, ny, nz]);
+
+ // UV coordinates
+ uvsList.addAll([i / segments, 0]);
+ }
+ // Apex
+ verticesList.addAll([0, length, 0]);
+ normalsList.addAll([0, 1, 0]); // Normal at apex points straight up
+ uvsList.addAll([0.5, 1]); // UV for apex
+
+ // Create indices
+ for (int i = 0; i < segments; i++) {
+ // Base face (fixed to counterclockwise)
+ indices.addAll([segments + 1, i + 1, i]);
+ // Side faces (already correct)
+ indices.addAll([i, segments, i + 1]);
+ }
+
+ // Add base face normals and UVs
+ for (int i = 0; i <= segments; i++) {
+ normalsList.addAll([0, -1, 0]); // Base face normal
+ double u = 0.5 + 0.5 * cos(i * 2 * pi / segments);
+ double v = 0.5 + 0.5 * sin(i * 2 * pi / segments);
+ uvsList.addAll([u, v]); // Base face UV
+ }
+
+ Float32List vertices = Float32List.fromList(verticesList);
+ Float32List? _normals = normals ? Float32List.fromList(normalsList) : null;
+ Float32List? _uvs = uvs ? Float32List.fromList(uvsList) : null;
+
+ return Geometry(vertices, indices, normals: _normals, uvs: _uvs);
+ }
+
+ static Geometry plane({double width = 1.0, double height = 1.0, bool normals = true, bool uvs = true}) {
+ Float32List vertices = Float32List.fromList([
+ -width / 2, 0, -height / 2,
+ width / 2, 0, -height / 2,
+ width / 2, 0, height / 2,
+ -width / 2, 0, height / 2,
+ ]);
+
+ Float32List? _normals = normals ? Float32List.fromList([
+ 0, 1, 0,
+ 0, 1, 0,
+ 0, 1, 0,
+ 0, 1, 0,
+ ]) : null;
+
+ Float32List? _uvs = uvs ? Float32List.fromList([
+ 0, 0,
+ 1, 0,
+ 1, 1,
+ 0, 1,
+ ]) : null;
+
+ List indices = [
+ 0, 2, 1,
+ 0, 3, 2,
+ ];
+
+ return Geometry(vertices, indices, normals: _normals, uvs: _uvs);
+ }
+}
\ No newline at end of file
diff --git a/thermion_dart/lib/src/utils/src/gizmo.dart b/thermion_dart/lib/src/utils/src/gizmo.dart
new file mode 100644
index 00000000..ad023f0c
--- /dev/null
+++ b/thermion_dart/lib/src/utils/src/gizmo.dart
@@ -0,0 +1,127 @@
+import 'dart:async';
+
+import 'package:thermion_dart/src/viewer/viewer.dart';
+import 'package:vector_math/vector_math_64.dart';
+
+abstract class Gizmo {
+ bool get isVisible;
+ bool get isHovered;
+
+ void reset();
+
+ Future attach(ThermionEntity entity);
+ Future detach();
+
+ Stream get boundingBox;
+
+ void checkHover(int x, int y);
+}
+
+abstract class BaseGizmo extends Gizmo {
+ final ThermionEntity x;
+ final ThermionEntity y;
+ final ThermionEntity z;
+ final ThermionEntity center;
+
+ ThermionEntity? _activeAxis;
+ ThermionEntity? _activeEntity;
+ ThermionViewer viewer;
+
+ bool _visible = false;
+ bool get isVisible => _visible;
+
+ bool _isHovered = false;
+ bool get isHovered => _isHovered;
+
+ final Set ignore;
+
+ Stream get boundingBox => _boundingBoxController.stream;
+ final _boundingBoxController = StreamController.broadcast();
+
+ BaseGizmo({required this.x, required this.y, required this.z, required this.center, required this.viewer,
+ this.ignore = const {}}) {
+ onPick(_onGizmoPickResult);
+ }
+
+ final _stopwatch = Stopwatch();
+
+ double _transX = 0.0;
+ double _transY = 0.0;
+
+ Future translate(double transX, double transY) async {
+ if (!_stopwatch.isRunning) {
+ _stopwatch.start();
+ }
+
+ _transX += transX;
+ _transY += transY;
+
+ if (_stopwatch.elapsedMilliseconds < 16) {
+ return;
+ }
+
+ final axis = Vector3(_activeAxis == x ? 1.0 : 0.0,
+ _activeAxis == y ? 1.0 : 0.0, _activeAxis == z ? 1.0 : 0.0);
+
+ await viewer.queueRelativePositionUpdateWorldAxis(
+ _activeEntity!,
+ _transX,
+ -_transY, // flip the sign because "up" in NDC Y axis is positive, but negative in Flutter
+ axis.x,
+ axis.y,
+ axis.z);
+ _transX = 0;
+ _transY = 0;
+ _stopwatch.reset();
+ }
+
+ void reset() {
+ _activeAxis = null;
+ }
+
+ void _onGizmoPickResult(FilamentPickResult result) async {
+ if (result.entity == x || result.entity == y || result.entity == z) {
+ _activeAxis = result.entity;
+ _isHovered = true;
+ } else if (result.entity == 0) {
+ _activeAxis = null;
+ _isHovered = false;
+ } else {
+ throw Exception("Unexpected gizmo pick result");
+ }
+ }
+
+ Future attach(ThermionEntity entity) async {
+ _activeAxis = null;
+ if (entity == _activeEntity) {
+ return;
+ }
+ if (entity == center) {
+ _activeEntity = null;
+ return;
+ }
+ _visible = true;
+
+ if (_activeEntity != null) {
+ await viewer.removeStencilHighlight(_activeEntity!);
+ }
+ _activeEntity = entity;
+
+ await viewer.setParent(center, entity, preserveScaling: false);
+ _boundingBoxController.sink.add(await viewer.getViewportBoundingBox(x));
+ }
+
+ Future detach() async {
+ await setVisibility(false);
+ }
+
+ @override
+ void checkHover(int x, int y) {
+ pick(x, y);
+ }
+
+ Future pick(int x, int y);
+
+ Future setVisibility(bool visible);
+ void onPick(void Function(PickResult result) callback);
+}
diff --git a/thermion_dart/lib/src/utils/src/matrix.dart b/thermion_dart/lib/src/utils/src/matrix.dart
new file mode 100644
index 00000000..98eb0d42
--- /dev/null
+++ b/thermion_dart/lib/src/utils/src/matrix.dart
@@ -0,0 +1,38 @@
+// Helper function to convert double4x4 to Matrix4
+import 'package:thermion_dart/src/viewer/src/ffi/src/thermion_dart.g.dart';
+import 'package:vector_math/vector_math_64.dart';
+import 'dart:ffi';
+
+Matrix4 double4x4ToMatrix4(double4x4 mat) {
+ return Matrix4.fromList([
+ mat.col1[0],
+ mat.col1[1],
+ mat.col1[2],
+ mat.col1[3],
+ mat.col2[0],
+ mat.col2[1],
+ mat.col2[2],
+ mat.col2[3],
+ mat.col3[0],
+ mat.col3[1],
+ mat.col3[2],
+ mat.col3[3],
+ mat.col4[0],
+ mat.col4[1],
+ mat.col4[2],
+ mat.col4[3],
+ ]);
+}
+
+double4x4 matrix4ToDouble4x4(Matrix4 mat) {
+ final out = Struct.create();
+
+ for (int i = 0; i < 4; i++) {
+ out.col1[i] = mat.storage[i];
+ out.col2[i] = mat.storage[i + 4];
+ out.col3[i] = mat.storage[i + 8];
+ out.col4[i] = mat.storage[i + 12];
+ }
+
+ return out;
+}
diff --git a/thermion_dart/lib/src/utils/utils.dart b/thermion_dart/lib/src/utils/utils.dart
new file mode 100644
index 00000000..33016b9c
--- /dev/null
+++ b/thermion_dart/lib/src/utils/utils.dart
@@ -0,0 +1,4 @@
+library;
+
+export 'src/geometry.dart';
+export 'src/axis.dart';
diff --git a/thermion_dart/lib/src/viewer/src/events.dart b/thermion_dart/lib/src/viewer/src/events.dart
new file mode 100644
index 00000000..0180ef1d
--- /dev/null
+++ b/thermion_dart/lib/src/viewer/src/events.dart
@@ -0,0 +1,85 @@
+import 'shared_types/shared_types.dart';
+
+///
+/// To ensure we can easily store/recreate a particular, [ThermionViewer] will raise an event whenever an
+/// entity is added/removed.
+///
+enum EventType { EntityAdded, EntityRemoved, EntityHidden, EntityRevealed, ClearLights }
+
+///
+/// An "entity added" event must provide sufficient detail to enable that asset to be reloaded in future.
+/// This requires a bit more legwork because entities may be lights (direct/indirect), geometry or gltf.
+///
+enum EntityType { Geometry, Gltf, DirectLight, IBL }
+
+class SceneUpdateEvent {
+ late final ThermionEntity? entity;
+ late final EventType eventType;
+
+ EntityType get addedEntityType {
+ if (_directLight != null) {
+ return EntityType.DirectLight;
+ } else if (_ibl != null) {
+ return EntityType.IBL;
+ } else if (_gltf != null) {
+ return EntityType.Gltf;
+ } else if (_geometry != null) {
+ return EntityType.Geometry;
+ } else {
+ throw Exception("Unknown entity type");
+ }
+ }
+
+ DirectLight? _directLight;
+ IBL? _ibl;
+ GLTF? _gltf;
+ Geometry? _geometry;
+
+ SceneUpdateEvent.remove(this.entity) {
+ this.eventType = EventType.EntityRemoved;
+ }
+
+ SceneUpdateEvent.reveal(this.entity) {
+ this.eventType = EventType.EntityRevealed;
+ }
+
+ SceneUpdateEvent.hide(this.entity) {
+ this.eventType = EventType.EntityHidden;
+ }
+
+ SceneUpdateEvent.addDirectLight(this.entity, this._directLight) {
+ this.eventType = EventType.EntityAdded;
+ }
+
+ SceneUpdateEvent.addIbl(this.entity, this._ibl) {
+ this.eventType = EventType.EntityAdded;
+ }
+
+ SceneUpdateEvent.addGltf(this.entity, this._gltf) {
+ this.eventType = EventType.EntityAdded;
+ }
+
+ SceneUpdateEvent.addGeometry(this.entity, this._geometry) {
+ this.eventType = EventType.EntityAdded;
+ }
+
+ SceneUpdateEvent.clearLights() {
+ this.eventType = EventType.ClearLights;
+ }
+
+ DirectLight getDirectLight() {
+ return _directLight!;
+ }
+
+ IBL getAsIBL() {
+ return _ibl!;
+ }
+
+ GLTF getAsGLTF() {
+ return _gltf!;
+ }
+
+ Geometry getAsGeometry() {
+ return _geometry!;
+ }
+}
diff --git a/thermion_dart/lib/thermion_dart/compatibility/native/compatibility.dart b/thermion_dart/lib/src/viewer/src/ffi/src/callbacks.dart
similarity index 82%
rename from thermion_dart/lib/thermion_dart/compatibility/native/compatibility.dart
rename to thermion_dart/lib/src/viewer/src/ffi/src/callbacks.dart
index 453f3bb4..41f65a6a 100644
--- a/thermion_dart/lib/thermion_dart/compatibility/native/compatibility.dart
+++ b/thermion_dart/lib/src/viewer/src/ffi/src/callbacks.dart
@@ -8,6 +8,11 @@ export 'thermion_dart.g.dart';
final allocator = calloc;
+void using(Pointer ptr, Future Function(Pointer ptr) function) async {
+ await function.call(ptr);
+ allocator.free(ptr);
+}
+
Future withVoidCallback(
Function(Pointer>) func) async {
final completer = Completer();
@@ -21,20 +26,20 @@ Future withVoidCallback(
nativeCallable.close();
}
-Future withVoidPointerCallback(
- Function(Pointer)>>)
+Future> withPointerCallback(
+ Function(Pointer)>>)
func) async {
- final completer = Completer>();
+ final completer = Completer>();
// ignore: prefer_function_declarations_over_variables
- void Function(Pointer) callback = (Pointer