Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher 313956bcc7 flip axis on Linux 2022-12-09 22:54:05 +08:00
Nick Fisher 1abaa116c1 more method channel work on linux 2022-12-09 15:47:33 +08:00
Nick Fisher 4c0d39ad36 accept file:// and asset:// URIs on linux 2022-12-09 14:52:13 +08:00
Nick Fisher 76ce8dad4b example project fixes 2022-12-09 14:45:35 +08:00
Nick Fisher 5684cddece change to Float on iOS for animation weight values 2022-12-09 14:45:21 +08:00
Nick Fisher 5bb9141f87 remove setRendering call from pan/rotate/etc 2022-12-09 14:43:58 +08:00
Nick Fisher 361b1aa8f2 fix desktop scroll/pan/zoom 2022-12-09 14:43:15 +08:00
Nick Fisher 964fdab8bc more method channel work for Linux 2022-12-09 14:42:54 +08:00
Nick Fisher 34c410dce9 flush stdout for Log 2022-12-09 14:42:38 +08:00
Nick Fisher f08318ac01 more linux work 2022-12-09 11:49:30 +08:00
Nick Fisher d15eb8c82c factor out resource loading into header 2022-12-09 10:39:45 +08:00
Nick Fisher c0667fee24 remove unused viewer app 2022-12-09 10:38:54 +08:00
Nick Fisher 27faaaf24f fix CMake linking on Linux 2022-12-08 20:43:15 +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 dc60fa3325 reorder init fields 2022-12-06 12:24:01 +08:00
Nick Fisher 4796667904 reorder SceneResources field init 2022-12-06 12:20:52 +08:00
Nick Fisher 2e28f7e812 fix imports 2022-12-05 18:04:53 +08:00
Nick Fisher b14678c3bf merge direct_texture display into master 2022-12-05 18:03:07 +08:00
Nick Fisher 7a30d94327 update README 2022-12-05 17:59:44 +08:00
Nick Fisher b108c2dcf0 update example project 2022-12-05 17:56:47 +08:00
Nick Fisher e8559ab5aa add standalone gesture detector widget 2022-12-05 17:56:24 +08:00
Nick Fisher eb28715b47 remove combined gesture widget 2022-12-05 17:56:08 +08:00
Nick Fisher b94c51465d store size 2022-12-05 17:53:40 +08:00
Nick Fisher c37d9595ea update podspec for new source files 2022-12-05 17:52:55 +08:00
Nick Fisher bd96d12777 update to new API re instance 2022-12-05 17:52:37 +08:00
Nick Fisher 4d90ba677b update to new API re instance 2022-12-05 17:52:25 +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 e0f9cfbde6 update headers 2022-12-05 17:51:44 +08:00
Nick Fisher 58942ba94d arrange plugin method handler in alphabetical order 2022-12-05 17:51:20 +08:00
Nick Fisher a89ff620ff iOS build fixes 2022-11-28 08:41:12 +08:00
Nick Fisher f799ae5677 update example project iOS project files 2022-10-04 09:27:15 +08:00
Nick Fisher af6f90c21e rearrange source/header files for compatibility with CocoaPods Framework structure 2022-10-04 09:24:27 +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 dc15a75713 remove logging 2022-10-03 14:59:23 +11:00
Nick Fisher 08ada735af pass through light type 2022-10-03 14:58:39 +11:00
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
Nick Fisher c6e429bcba replace view with texture, move plugin to Swift implementation 2022-08-19 12:39:55 +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 91597a9d38 update libs 2022-08-18 22:40:28 +08:00
Nick Fisher cab2ac45f8 render directly to Texture rather than PlatformView (Android only) 2022-08-17 19:46:02 +10:00
Nick Fisher b7fa36a320 update example styles.xml 2022-08-17 12:45:20 +10:00
Nick Fisher 8bae2001c1 add transformToUnitCube/setPosition/setRotation methods to FilamentController 2022-08-17 12:43:51 +10:00
Nick Fisher f8c43b8c1e add transformToUnitCube/setPosition/setRotation methods to FilamentView 2022-08-17 12:43:14 +10:00
Nick Fisher dcd36362f7 add transformToUnitCube/setPosition/setRotation methods to FilamentInterop 2022-08-17 12:42:10 +10:00
Nick Fisher f3bc9072e5 add transformToUnitCube/setPosition/setRotation methods to filament android 2022-08-17 12:41:49 +10:00
Nick Fisher 37700f5f19 defer freeing resource until after source data released and enable culling by default 2022-08-16 11:32:29 +10:00
Nick Fisher 3eef4e816e add setFirstCamera method to FilamentViewer 2022-08-16 11:32:03 +10:00
Nick Fisher 5c70d42f45 header guards for StreamBufferAdapter 2022-08-15 19:02:52 +10:00
Nick Fisher c6e96b0007 update cube assets 2022-08-15 19:02:04 +10:00
Nick Fisher e200064d1b add setTexture to Android API 2022-08-15 19:01:37 +10:00