Commit 0c59e5e
ARCore 1.26.0, Filament 1.12.0 Update. Refactoring (#143)
* Minor refactoring
* Splitted up the `render` function from the Sceneform Renderer class
into smaller parts.
* The Filament renderer `begingFrame` function call is now before
anything ArCore related is updated.
* Swapped order of the `doUpdate` and `doRender` function call in
SceneView.
* Added `Choreographer.getInstance().removeFrameCallback(this);` to the
destroy function call in SceneView.
* Splitted up the `onBeginFrame`function in ArSceneView a little bit.
* Added to BaseArFragment a new function to close the session and set
the variable to null. `
* Fixed unnecessary creation of a camere Texture.
* Recompiled filament materials to 1.12.0
* Updated dependencies
* compileSdkVersion 30 -> 31
* targetSdkVersion 30 -> 31
* sourceCompatibility VERSION_1_8 -> VERSION_11
* targetCompatibility VERSION_1_8 -> VERSION_11
* filament 1.10.7 -> 1.12.0
* arcore 1.25.0 -> 1.26.0
* appcompat 1.2.0 -> 1.3.1
* Added different sample glb files.
* Updated sample applications.
* Compiled missing filament materials
* Updated for the augmented-images sample app the filament dependency
* replaced deprecated code
* Instead of throwing an AssertionError if the SwapChain is null, just skip the render call
* Add a call to Session.close() an ArSceneView.destroy and ensure that everything is well called
* Add setters for ArFragment and ArSceneview Session and Session Config
* Improve session.getConfig() calls
* Review the SceneView/ArSceneView resume/pause order
* Remove the ensure updateMode == Config.UpdateMode.LATEST_CAMERA_IMAGE
* Cleanup
* Improvements
* Set the TonMapper for the Filament-Renderer to FILMIC
* Removed the manual setted TonMapper from every sample app
* gradle stuff
* Fixed deprecation warning.
* Replaced `requestPermissions` and `onRequestPermissionResult` with the
new way by creating a `ActivityResultLauncher` object. The result of the
request is handled via a callback function.
* Made the second half of the layout of the sceneview-background sample transparent again.
* Both dragons and backdrops are rendered.
Co-authored-by: r.gregat <[email protected]>
Co-authored-by: ThomasGorisse <[email protected]>1 parent 53e70bc commit 0c59e5e
File tree
49 files changed
+1403
-1288
lines changed- core
- src/main
- java/com/google/ar/sceneform
- rendering
- utilities
- res/raw
- gradle/wrapper
- samples
- augmented-images
- .settings
- src/main/java/com/google/ar/sceneform/samples/augmentedimages
- depth
- src/main/java/com/google/ar/sceneform/samples/depth
- gltf
- src/main/java/com/google/ar/sceneform/samples/gltf
- image-texture
- src/main/java/com/google/ar/sceneform/samples/imagetexture
- sceneview-background
- assets-sources/models
- src/main
- assets/models
- java/com/google/ar/sceneform/samples/sceneviewbackground
- res/layout
- video-texture
- .settings
- src/main/java/com/google/ar/sceneform/samples/videotexture
- sceneform
- ux
- src/main
- java/com/google/ar/sceneform/ux
- res/raw
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+1403
-1288
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
16 | | - | |
| 13 | + | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
33 | 36 | | |
34 | | - | |
35 | | - | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
0 commit comments