Ben Doherty
9cd2f2edc1
Check in pristine copy of Clang iOS toolchain ( #2703 )
2020-06-18 10:19:31 -07:00
Philip Rideout
5c64ed5125
gltfio: use highp for UV coords.
...
Fixes #2500 .
2020-06-17 17:27:53 -07:00
Ben Doherty
623cd1a5f2
Remove PDB and ILK files when building for Windows CI ( #2698 )
2020-06-17 11:13:47 -07:00
Ben Doherty
94776a01b3
Add JNI bindings for gltfio camera ( #2693 )
2020-06-16 15:24:24 -07:00
Romain Guy
f462eafed0
Update workflows from master branch to main ( #2697 )
2020-06-16 13:40:34 -07:00
Romain Guy
7d1dbba2b4
Rename reference from master to main
2020-06-16 13:39:51 -07:00
Romain Guy
8c9cc988a6
Update references to master with references to main
2020-06-16 13:35:57 -07:00
@roxlu ☾
7a1d9968a7
Check if an existing material parameter is a sampler ( #2694 )
...
* Check if an material parameter is a sampler
* Rename hasSampler to isSampler
2020-06-16 13:32:23 -07:00
Romain Guy
56682794d3
Update getTime() documentation
2020-06-16 13:14:48 -07:00
Philip Rideout
87ee5783b7
export_graphviz() now includes name string.
2020-06-15 15:11:54 -07:00
Ben Doherty
7a1c079050
Use an int, not byte, for variantFilter ( #2691 )
2020-06-15 11:38:43 -07:00
Philip Rideout
242e8d1b56
Update live JS demos and tutorials.
...
At some point I should probably change the tutorials to use a versioned
NPM package rather than a checked-in prebuilt Filament WASM file.
Fixes #2686 .
2020-06-15 11:34:59 -07:00
Ben Doherty
42d55f226b
Support Metal in the iOS simulator ( #2678 )
2020-06-15 11:08:52 -07:00
Ben Doherty
25b43d7c2a
iOS samples: set opaque = YES on CAMetalLayer ( #2675 )
2020-06-15 11:05:17 -07:00
Ben Doherty
de3f757013
Add JS bindings to gltfio camera funcs ( #2681 )
2020-06-15 11:04:16 -07:00
Philip Rideout
ebd195f8e4
matdbg: Add support for Android.
...
See the matdbg README for details.
2020-06-14 22:42:55 -07:00
Romain Guy
a2ce57ade3
Fir applyAnimation() when scale is close or equal to 0
2020-06-13 14:48:07 -07:00
Ben Doherty
7a78ccd184
Turn off Windows DEBUG builds for continuous builds ( #2682 )
2020-06-12 16:48:53 -07:00
Philip Rideout
963a8958ec
Fix Ubuntu build.
2020-06-12 13:47:54 -07:00
Philip Rideout
899ac1224f
gltfio: Add Java bindings for desktop.
...
This is completely untested.
Fixes #2670 .
2020-06-12 13:47:54 -07:00
Romain Guy
a019de3363
Add (improved) color grading UI to gltf-viewer ( #2676 )
2020-06-12 08:30:43 -07:00
Ben Doherty
79c83f509c
Fix Metal bug not creating default depth attachment ( #2677 )
2020-06-11 17:55:20 -07:00
Ben Doherty
fde2d2e483
Fix MeshReader material bug ( #2674 )
2020-06-11 14:49:25 -07:00
Ben Doherty
b2c63b6cd2
Add support to gltfio for glTF cameras ( #2663 )
2020-06-11 13:57:01 -07:00
Philip Rideout
1f9d073a64
gltfio: enable unused UV attributes when possible.
...
Reproduced the issue by hacking the TexturedCube glTF file.
Verified the fix by viewing TexturedCube in ubershader mode, then
hacking the shader with matdbg in order to visualize texture
coordinates.
Fixes #2659
2020-06-11 12:05:43 -07:00
Philip Rideout
fa0f5e0501
Prep the build for multi-platform matdbg.
2020-06-10 20:00:24 -07:00
Philip Rideout
fee6a2f075
Miscellaneous matdbg improvements
...
matdbg
- Materials are now sorted by name and the sha id is hidden.
- PostProcess materials now separated from Surface materials.
- PostProcess details now hide the non-existing properties.
- Larger default pane size for the material list.
- Use nicer font.
matinfo
- Print out the Material Domain.
filament
- get*Slow methods in FMaterial are now private.
2020-06-10 20:00:24 -07:00
Romain Guy
19a212389b
Perform non-ACES grading in BT.2020 ( #2662 )
...
* Perform non-ACES grading in BT.2020
* Don't use BT.2020 with legacy filmic tone mapper
* Fix comments
* Use == operator instead of memcmp
2020-06-10 13:41:17 -07:00
Mathias Agopian
1b1ef591a4
fix typo that prevented fxaa to work properly ( #2667 )
...
It caused the wrong fxaa variant to be chosen, in turn causing
flickering due to temporal dithering.
2020-06-10 08:53:09 -07:00
Rupert Rawnsley
b0acb3216a
eglInitialize requires a non-null IntArray reference and different offsets for major and minor. ( #2668 )
2020-06-10 08:52:20 -07:00
Philip Rideout
10e1aaadff
Vulkan: fix mipmap generation on Android.
...
The blit DriverAPI command was not enforcing correct synchronization.
On Android, this manifested as an intermittent issue with bad mipmap
levels.
This did not trigger any validation warnings and therefore took a long
time to track down.
Fixes #2643
2020-06-09 21:11:44 -07:00
Pixelflinger
00b522669c
minor fixes for matdbg
...
- don't crash when a material doesn't have a name
- don't cache the program in PostProcessManager so we can do live
editing. Not needed anyways, because Material has a cache.
2020-06-09 13:27:56 -07:00
Philip Rideout
f125e1730d
Throw Java exception when using destroyed Animator.
...
Someone wise once said: "It is better to throw in Java than to crash in
Native."
Motivated by #2654 .
2020-06-09 10:36:35 -07:00
Rupert Rawnsley
18776fc432
SamplerType JNI definition was out of step with the native definition. ( #2658 )
...
When invoking MaterialBuilder.samplerParameter with Java enum SAMPLER_EXTERNAL it was wrongly recast as native enum SAMPLE_CUBEMAP in the JNI interface because the Java enum was missing SAMPLE_2D_ARRAY.
2020-06-09 08:35:33 -07:00
Romain Guy
4bf21876b4
Add new color grading feature, vibrance ( #2656 )
...
* Add new color grading feature, vibrance
* Address code review comment
2020-06-09 08:34:10 -07:00
Pixelflinger
1feca23477
don't attempt to call Android private APIs
...
This used to be tolerated, but no more with recent versions of android.
2020-06-08 16:18:33 -07:00
Romain Guy
b4d2a1991a
Add new curves color grading tool ( #2651 )
...
* Add new curves color grading tool
* Add release notes
2020-06-08 12:17:53 -07:00
Romain Guy
3e6ee4ca5e
Fix libimageio's HDR format decoder ( #2653 )
...
See https://cbloomrants.blogspot.com/2020/06/widespread-error-in-radiance-hdr-rgbe.html
2020-06-08 11:48:11 -07:00
Pixelflinger
ee6ddf675e
syscall (futex) errors are returned in errno
...
this fixes a problem where our implementation of Condition would not
handle timeouts properly
2020-06-06 15:50:38 -07:00
@roxlu ☾
7e6c38d098
Fix: cannot use parts index for material index. ( #2652 )
...
* Fix: cannot use parts index for material index.
* Fix formatting
Co-authored-by: Romain Guy <romainguy@curious-creature.com >
2020-06-06 10:42:53 -07:00
Ben Doherty
7a8755b5b2
Implement framebuffer fetch for Metal backend ( #2648 )
2020-06-05 17:31:12 -07:00
Pixelflinger
6461370cb8
more debug code to help catch an ANR
...
- assert that shutdown() is called from the main thread
- attempt to catch whether CommandBufferQueue::mExitRequested gets corrupted
(which could explain the ANR).
2020-06-05 14:50:16 -07:00
Ben Doherty
e56882d20f
Update tinyexr to 944c740 ( #2644 )
2020-06-05 12:22:28 -07:00
Philip Rideout
43f7bad8a3
Kotlin cleanup
2020-06-05 08:23:25 -07:00
Romain Guy
31bdb61047
Add PQ transfer functions
2020-06-04 18:18:01 -07:00
Romain Guy
2fcca9677d
Add Ushimura tone mapping operator
...
Also fix potential negative values when applying white balance
during color grading.
2020-06-04 15:17:08 -07:00
Philip Rideout
a4094193c3
gltfio: fix AABB when instancing is enabled
...
If a client opts in to AABB computation and uses instancing, the AABB
would be clobbered with an infinite box.
Fixes #2639
2020-06-04 14:06:50 -07:00
Romain Guy
1935598a7d
Add Java bindings for ColorGrading ( #2638 )
2020-06-04 11:03:15 -07:00
Romain Guy
6c3b7a2282
Update RELEASE_NOTES.md
2020-06-03 19:05:37 -07:00
Romain Guy
23b62e2d12
Add ASC CDL (Color decision list) to color grading ( #2635 )
...
A CDL is made of slope/offset/power, and is roughly equivalent
to lift/gamma/gain.
2020-06-03 19:01:22 -07:00