Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher 32226b2cef make pointers const for easier Swift compat 2022-12-19 14:42:16 +08:00
Nick Fisher 48c3dea0b7 update README 2022-12-19 10:46:35 +08:00
Nick Fisher 87e4935864 update to Filament libs with inverse bind matrices 2022-12-19 10:46:21 +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 de9797a20e partially reenable bone transforms 2022-12-16 00:13:54 +08:00
Nick Fisher dc874b4792 fix set_animation Linux bindings 2022-12-16 00:13:31 +08:00
Nick Fisher 0c9a079298 add frame length check 2022-12-16 00:12:54 +08:00
Nick Fisher d963984944 update linux libs 2022-12-16 00:12:37 +08:00
Nick Fisher ad2adc83ca reenable bone transforms 2022-12-16 00:12:17 +08:00
Nick Fisher 9f032a8392 update to animation structures 2022-12-15 23:15:22 +08:00
Nick Fisher 31044e8d15 update example cube asset 2022-12-15 16:57:22 +08:00
Nick Fisher f50b5328db add manual bone transform animation 2022-12-15 16:56:57 +08:00
Nick Fisher eb705347fc merge 2022-12-14 14:53:22 +08:00
Nick Fisher 6757a14e09 add gitattributes 2022-12-14 14:52:01 +08:00
Nick Fisher 71f185ff51 update uberarchive 2022-12-14 14:51:38 +08:00
Nick Fisher a92156573b add default values for SceneResources 2022-12-14 14:50:00 +08:00
Nick Fisher 82ad204139 swap texture ID on resize 2022-12-14 14:49:39 +08:00
Nick Fisher 08150b4c0b add gt check for frameIndex 2022-12-14 14:49:22 +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 540823b7c4 LFS track windows libs 2022-12-13 10:59:37 +08:00
Nick Fisher f8ba3cdf98 add create_swap_chain/new viewer creation API bindings to iOS 2022-12-13 10:56:52 +08:00
Nick Fisher 41d3d88e01 fix pinch zoom on mobile 2022-12-13 10:56:22 +08:00
Nick Fisher f0cf5881fd merge libs 2022-12-13 10:23:12 +08:00
Nick Fisher 4acd99760c LFS lib pull 2022-12-13 10:22:35 +08:00
Nick Fisher 61faa2f633 update example iOS project files 2022-12-13 10:15:21 +08:00
Nick Fisher 5f8f26659a update iOS libs 2022-12-13 10:14:30 +08:00
Nick Fisher e0c1e545e9 copy morph animation weights 2022-12-11 10:56:57 +08:00
Nick Fisher ca733ed99f whitespace 2022-12-09 22:54:36 +08:00
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