Commit Graph

112 Commits

Author SHA1 Message Date
Nick Fisher
f99d2d0ad3 use both ubershader/unlit material provider 2023-03-12 14:01:26 +08:00
Nick Fisher
e36ec57b17 api updates 2023-03-03 20:54:01 +08:00
Nick Fisher
713e4e8112 add setCameraModelMatrix method for iOS 2023-01-06 13:41:50 +08:00
Nick Fisher
7e84524118 use actual aspect ratio 2022-12-22 19:58:23 +08:00
Nick Fisher
edc95ae628 disable dynamic resolution by default and reenable AA 2022-12-19 09:46:51 +08:00
Nick Fisher
b1832c237f finalize bone transform animation 2022-12-17 16:31:20 +08:00
Nick Fisher
f50b5328db add manual bone transform animation 2022-12-15 16:56:57 +08:00
Nick Fisher
14d71891d3 add resize implementation on Linux and texture/render target destruction etc 2022-12-14 14:48:45 +08:00
Nick Fisher
5c7e014bd0 extend to support rendering to RenderTarget/OpenGL texture on Linux 2022-12-08 17:36:44 +08:00
Nick Fisher
9066429d52 update ResourceLoader call to new API and fix image material resource names 2022-12-05 17:52:07 +08:00
Nick Fisher
249d538f1d rearrange source/header files for compatibility with CocoaPods Framework structure 2022-10-04 09:23:53 +08:00
Nick Fisher
08ada735af pass through light type 2022-10-03 14:58:39 +11:00
Nick Fisher
7a8784db57 asset loading failure checks & logging 2022-09-11 18:54:08 +10:00
Nick Fisher
7f2c68b199 allow setting bg texture from ktx 2022-09-09 12:59:55 +10:00
Nick Fisher
fd90bae53f use pixels in setBackgroundImagePosition and add argument for clamp 2022-09-07 17:40:18 +10:00
Nick Fisher
a5cf61f410 fix starting target position for manipulator 2022-09-06 23:16:22 +10:00
Nick Fisher
ea449a21b4 manipulator fixes 2022-09-06 19:38:07 +10:00
Nick Fisher
5ae59794df add light creation/removal to API and destroy manipulator on grab/zoomEnd 2022-09-05 14:24:21 +10:00
Nick Fisher
0ac25b32e3 add transform + controls for background image 2022-09-05 12:38:58 +10:00
Nick Fisher
dc9e639c40 add setter for frame interval, separate FilamentController initialization from widget 2022-09-01 14:26:31 +10:00
Nick Fisher
b0ff3457f0 fix camera manipulator/gesture detector, add explicit functions to set camera pos/rot, add unlitshader material provider 2022-09-01 13:03:15 +10:00
Nick Fisher
d3faaac6c0 add camera utils to API 2022-08-26 00:25:45 +10:00
Nick Fisher
d78f70ac50 setRotation/setPosition from center 2022-08-25 19:01:04 +10:00
Nick Fisher
383aad8a21 remove unused threadpool references 2022-08-25 18:00:48 +10:00
Nick Fisher
ad25014981 run all Android work on separate thread, add HotReloadPathHelper, separate loadTexture/setTexture 2022-08-25 17:09:54 +10:00
Nick Fisher
a938a6656b make Android use new API, add delete_viewer method 2022-08-20 22:19:14 +10:00
Nick Fisher
21c749181c use correct ifdefs for iPhone/other material loading 2022-08-20 00:19:01 +10:00
Nick Fisher
910114cd00 merge 2022-08-19 12:40:33 +08:00
Nick Fisher
21fef19359 update FilamentViewer with iOS Metal 2022-08-19 12:37:28 +08:00
Nick Fisher
e64f426784 fix camera update 2022-08-19 14:33:22 +10:00
Nick Fisher
3eef4e816e add setFirstCamera method to FilamentViewer 2022-08-16 11:32:03 +10:00
Nick Fisher
4afea4413c cleanup unused mat transforms 2022-08-15 18:59:58 +10:00
Nick Fisher
47e37e6ed0 move color grading to FilamentViewer constructor 2022-08-15 17:09:13 +10:00
Nick Fisher
07411fe4ef revert to main camera when removing assets 2022-08-15 00:27:31 +10:00
Nick Fisher
6a7499099d add clearAssets method to viewer 2022-08-14 21:30:58 +10:00
Nick Fisher
e51577cf6b decouple assets from viewer to allow independent addition/removal/animation/etc 2022-08-13 00:25:56 +10:00
Nick Fisher
efabcc3171 separate IBL from skybox and add setBackgroundImage method 2022-08-09 09:52:07 +08:00
Nick Fisher
ce177e7fbd use focal length from GLTF 2022-07-18 12:24:53 +10:00
Nick Fisher
d512ebd38f add removeSkybox 2022-07-16 17:34:56 +10:00
Nick Fisher
a8ef628316 fixes for Android transparency and add removeAsset method 2022-07-11 19:12:49 +10:00
Nick Fisher
363d855cbe update FilamentViewer for v1.25 texture & shader providers 2022-07-10 17:51:46 +10:00
Nick Fisher
4664276fc4 fix off-by-one on morph animation frames 2022-06-21 13:05:36 +08:00
Nick Fisher
cc99482abb fix up morph target animations and add stopAnimation function 2022-04-28 15:54:09 +08:00
Nick Fisher
54f312cd63 replace calls to private Filament code with public API for morph target/animation names & cameras 2022-04-16 23:04:33 +08:00
Nick Fisher
629b81968d upgrade to Filament 1.21.0 2022-04-14 01:54:33 +08:00
Nick Fisher
b00fe3af1e add loop option to playAnimation 2022-03-29 15:49:03 +08:00
Nick Fisher
473ba59b27 add getters from animation names and play animation method 2022-03-22 22:33:50 +08:00
Nick Fisher
9892f36363 re-add morph animation 2022-02-07 14:52:03 +08:00
Nick Fisher
b28097b054 add fixes for setting camera 2022-02-07 13:19:20 +08:00
Nick Fisher
abb43d351c add android integration & make iOS API consistent
add pubspec android plugin

update android CMakeLists

add filament android libs for linking
2022-02-06 13:52:19 +08:00