Commit Graph

147 Commits

Author SHA1 Message Date
Nick Fisher
d9e36d2bc3 Add reverse animation 2022-10-03 14:57:31 +11:00
Nick Fisher
fac6eebf28 change direction of zoom 2022-10-03 14:56:53 +11:00
Nick Fisher
b66995d9b8 add reverse animation and stopAnimation bindings for android 2022-09-11 18:55:29 +10:00
Nick Fisher
7a8784db57 asset loading failure checks & logging 2022-09-11 18:54:08 +10:00
Nick Fisher
5b99f8fa4a update example project 2022-09-09 13:02:36 +10:00
Nick Fisher
122f691a76 add unlit shader source to CMakeLists 2022-09-09 13:02:12 +10:00
Nick Fisher
27ad496b32 move pixel ratio to setPixelRatio function 2022-09-09 13:01:16 +10:00
Nick Fisher
01e1efabc1 add clamp option to android bindings and allow resource paths starting with file:// 2022-09-09 13:00:19 +10:00
Nick Fisher
7f2c68b199 allow setting bg texture from ktx 2022-09-09 12:59:55 +10:00
Nick Fisher
bac5c07c01 gesture detector fixes 2022-09-07 17:40:40 +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
ee30da5dad remove superseded props from viewer and add last frame time 2022-09-06 19:38:27 +10:00
Nick Fisher
ea449a21b4 manipulator fixes 2022-09-06 19:38:07 +10:00
Nick Fisher
1bade94c32 standard order of scale/translation 2022-09-06 19:37:39 +10:00
Nick Fisher
ea39d8c25d add explicit render platform channel method 2022-09-06 19:35:46 +10:00
Nick Fisher
ae7ebfdcbb add light creation/removal to API and destroy manipulator on grab/zoomEnd 2022-09-05 14:24:39 +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
5693a0a957 add bg image transform to example project 2022-09-05 12:40:22 +10:00
Nick Fisher
8eb2d8d658 add android bindings for bg image transform 2022-09-05 12:39:48 +10:00
Nick Fisher
060df5f16e update controls for widget rotation/panning/bg image 2022-09-05 12:39:17 +10:00
Nick Fisher
0ac25b32e3 add transform + controls for background image 2022-09-05 12:38:58 +10:00
Nick Fisher
0c39fec87d clean up initialization listener in FilamentWidget 2022-09-01 15:19:51 +10:00
Nick Fisher
168a347a7e add android option to pause rendering 2022-09-01 15:19:29 +10:00
Nick Fisher
2cfb8ee78b add android bindings for set_frame_interval and use frame time for render 2022-09-01 14:27:45 +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
f68fea29d8 android bindings for new camera/manipulator 2022-09-01 13:04:25 +10:00
Nick Fisher
822d938653 correctly return most recently modified asset during hot reload 2022-09-01 13:03:49 +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
6280ea5f57 fix HotReload helper to use proper paths consistently 2022-08-26 00:26:03 +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
f182af21b2 add proguard rules for release build 2022-08-20 22:19:46 +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
e473fe1d6f pickFirst libjnidispatch.so 2022-08-20 00:18:34 +10:00
Nick Fisher
8dfe219637 use C-style ResourceBuffer on Android 2022-08-20 00:18:18 +10:00
Nick Fisher
9779de09c3 update iOS project files 2022-08-19 21:51:22 +08:00
Nick Fisher
6e741556e5 add compiled metal material 2022-08-19 21:50:48 +08:00
Nick Fisher
6f7db82d57 update example project with stopAnimation 2022-08-19 21:50:28 +08:00
Nick Fisher
6f177897eb formatting 2022-08-19 21:50:09 +08:00
Nick Fisher
8a02c07941 add animationIndex to stopAnimation on Dart side 2022-08-19 21:49:15 +08:00
Nick Fisher
76f625d429 implement remaining asset methods 2022-08-19 21:48:37 +08:00
Nick Fisher
a44422521f update freeResource in SceneAsset to use id 2022-08-19 21:47:40 +08:00
Nick Fisher
e67b5afaa8 add resgen IOS materials 2022-08-19 21:47:16 +08:00
Nick Fisher
8e52ddc38d merge 2022-08-19 21:23:36 +08:00
Nick Fisher
5260c803da add rotation/position methods to SceneAsset 2022-08-19 16:48:46 +10:00
Nick Fisher
910114cd00 merge 2022-08-19 12:40:33 +08:00