Benjamin Doherty
8cd720b53a
Bump version to 1.17.0
2022-01-18 13:54:40 -08:00
Benjamin Doherty
a8d72bb226
Release Filament 1.16.1
2022-01-18 13:52:08 -08:00
Mathias Agopian
352acff396
improve documentation regarding post-processing and render targets
...
Fixes #5015
2022-01-13 09:59:58 -08:00
daemyung jang
6805940bbf
Compute morphing on GPU ( #4999 )
2022-01-12 11:06:47 -08:00
Romain Guy
954f9112e4
Replace generic tonemap curve with a simpler one ( #5041 )
...
* Replace generic tonemap curve with a simpler one
This change removes the shoulder parameter which had inconsistent
behaviors. The new curve is simpler and designed to still match
by default the gray point and the contrast of ACES in a bright
surround.
* Fix build
2022-01-12 09:55:35 -08:00
Jared Fowler
b67963176b
Moving UiHelper to the constructor which allows for more composable control of the underlying views & surface
2022-01-11 08:56:42 -08:00
Ankbzpx
fb1eb35ba5
Fix aabb misalignment for skinned gltf model ( #4973 )
2022-01-10 15:06:23 -08:00
Benjamin Doherty
a1a3adf8af
Release Filament 1.16.0
2022-01-10 10:43:35 -08:00
jeanlemotan
9d7f5f593e
Added line/triangle strip support ( #5017 )
...
* Added line/triangle strip support
* Added strip support for Java and JS
Changed README to indicate strip support for gltf
2022-01-06 13:07:32 -08:00
Benjamin Doherty
210a8c2260
Update Renderer comment
2022-01-06 10:47:54 -08:00
Benjamin Doherty
eaefaf8e59
Release Filament 1.15.2
2022-01-04 11:52:31 -08:00
Mathias Agopian
b5c4b30ff6
Fix a double release with Android bitmaps callbacks
...
The version of Texture::setBitmap() that tool an Android bitmap handled
callbacks differently and in certain case caused a "double release" of
the callback object. This didn't actually cause problems though.
We now use the same mechanism used elsewhere (i.e. JniCallback).
2021-12-15 09:18:23 -08:00
Mathias Agopian
88edbc7df8
Fix a java global reference leak
...
We were acquiring a reference twice by accident.
Fix #4957
2021-12-13 15:16:48 -08:00
Romain Guy
59ccc3021f
Add missing JNI impl ( #4959 )
2021-12-13 10:52:47 -08:00
Benjamin Doherty
8111c50a5a
Release Filament 1.15.1
2021-12-13 11:06:12 -07:00
Romain Guy
0e5e7e940c
Fix typo in JNI binding
2021-12-10 08:35:16 -08:00
Mathias Agopian
c91f28b6be
fix remote UI when dropping a new .hdr ibl file
...
- the ibl wasn't updated in internal structures
- the previous ibl was leaked
2021-12-08 00:17:29 -06:00
Mathias Agopian
078de4e422
Add support for basic PCSS
2021-12-08 00:17:12 -06:00
Romain Guy
332d5681e6
Update dependencies
2021-12-07 09:34:28 -08:00
Benjamin Doherty
3a33220dad
Release Filament 1.15.0
2021-12-06 11:12:58 -08:00
Mathias Agopian
4de3470de5
remove 'exponent' from VsmShadowOptions
...
this is an internal parameter and has no reason to be user settable.
2021-12-03 14:45:59 -06:00
Mathias Agopian
087f29c6c9
Added support for DPCF
2021-12-03 01:20:50 -06:00
Romain Guy
c275f61aeb
Add missing destroy method ( #4921 )
2021-12-02 08:53:55 -08:00
Ben Doherty
dbe1386785
Fix live wallpaper sample with Android 12+ ( #4917 )
2021-12-01 12:29:11 -08:00
Romain Guy
c0e8686297
Use __ANDROID__ instead of ANDROID
2021-11-30 11:14:35 -08:00
Romain Guy
01f18caf53
Workaround for a build system issue
2021-11-30 10:05:32 -08:00
Benjamin Doherty
519ae4d143
Release Filament 1.14.2
2021-11-29 14:05:55 -08:00
Romain Guy
2cbacb532a
Cache calls to Enum.values() ( #4902 )
...
Each call to .values() allocates a new array. Let's cache them once
and for all to avoid unncessary allocations.
2021-11-29 11:35:58 -08:00
Benjamin Doherty
15001524bd
Release Filament 1.14.1
2021-11-22 10:10:35 -08:00
Romain Guy
c1713e7501
Export activities on Android 12+
2021-11-22 09:25:13 -08:00
Romain Guy
0181584735
Update build tools ( #4866 )
...
* Update build tools
SDK API level 31
NDK 23
Kotlin 1.6
* Preserve tool suffix for Windows
2021-11-17 13:19:45 -08:00
Benjamin Doherty
f690015a88
Release Filament 1.14.0
2021-11-15 10:06:45 -08:00
Romain Guy
d67210155b
Skip task incompatible with configuration caching ( #4831 )
2021-11-09 15:01:02 -08:00
Benjamin Doherty
157c0264af
Release Filament 1.13.0
2021-11-08 11:49:39 -08:00
Ben Doherty
21db695e79
Call VirtualMachineEnv::JNI_OnLoad for non-Android Java builds (better fix) ( #4779 )
2021-11-04 13:28:08 -07:00
Ben Doherty
a8d3a61c25
Enforce readPixels is called within frame ( #4802 )
2021-11-03 10:59:25 -07:00
Mathias Agopian
e172f3a67f
Fix java shadow biases + minor cleanups
...
- constant bias and normal bias default values in java didn't match
C++ or the documentation
- stable shadows were enabled by default in java
- polygon offset biases were missing from the java API
- document and don't apply polygon offset to VSM
- remove unused code
2021-11-03 00:20:48 -07:00
Benjamin Doherty
81fa33abeb
Release Filament 1.12.11
2021-11-01 14:55:54 -07:00
Romain Guy
095179eeb3
Enabled Gradle configuration caching and rename properties ( #4769 )
...
* Fix configurationg caching problems
* Enable Gradle configuration caching
* Update BUILDING.md
* Update RELEASE_NOTES.md
Co-authored-by: Mathias Agopian <mathias@google.com >
Co-authored-by: Benjamin Doherty <bendoherty@google.com >
2021-10-26 12:47:35 -07:00
Benjamin Doherty
5fea428243
Release Filament 1.12.10
2021-10-25 11:06:12 -07:00
clayly
9a3c9ccbf3
android-samples-gradle-plugin-id ( #4740 )
2021-10-24 11:12:15 -07:00
Benjamin Doherty
1dcf347b87
Release Filament 1.12.9
2021-10-20 12:11:46 -07:00
Mathias Agopian
e15796b348
Rewrite controller for dynamic resolution scaling
...
- move the control code out of FrameInfo and into
View itself. FrameInfo now just gathers information about the
frames instead of also doing part of the control.
- the control code has been refactored into a more formal PIDController.
- a few bugs were fixed in the control loop and default parameters
tuned.
The control loop itself now outputs a relative scale factor instead
of an absolute one. The relative scale factor seems easier to
control and is less jittery, and doesn't have to rely on the "integral"
term of the PID.
It's possible that more tuning is needed, but the scaling is now
more stable.
2021-10-18 10:06:44 -07:00
Mathias Agopian
acbd6a5ca8
Improve dynamic resolution scaling
...
- defaults to 31 history points instead of 3, this gives a much better
estimate of the frame rate.
- make sure the calculations work for any definition of our internal
duration<> (it's useful to use milliseconds when dealing with
refresh periods).
- don't round to 8 pixels if the scale factor is exactly 1
- fix a few comments and warnings
2021-10-18 10:06:44 -07:00
Romain Guy
481038152f
Cleanup of Android projects ( #4730 )
2021-10-13 18:17:12 -07:00
Rupert Rawnsley
60bd72730d
ASTC texture enum missing in JNI interface
2021-10-13 10:18:54 -07:00
Benjamin Doherty
eabfd08473
Release Filament 1.12.8
2021-10-11 11:02:30 -07:00
Mathias Agopian
a66af0ac58
Minor settings cleanup
...
- set sensical default for gltf-viewer
- fix some warnings in ToneMapper
- fix some warnings in Settings.cpp
- minor refactor in Settings.h
2021-10-08 18:10:05 -07:00
Ben Doherty
aacaf5055e
Fix typo in View.java
2021-10-07 10:55:41 -07:00
Mathias Agopian
e6243b3df3
better API for MSAA options
2021-10-05 22:58:16 -07:00