Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher 898e28c927 change direction of zoom 2022-10-03 14:56:53 +11:00
Nick Fisher b48dd130be add reverse animation and stopAnimation bindings for android 2022-09-11 18:55:29 +10:00
Nick Fisher d199bc3aee asset loading failure checks & logging 2022-09-11 18:54:08 +10:00
Nick Fisher 8d6e5d43b3 update example project 2022-09-09 13:02:36 +10:00
Nick Fisher 8e79d06ad4 add unlit shader source to CMakeLists 2022-09-09 13:02:12 +10:00
Nick Fisher 256a2f120d move pixel ratio to setPixelRatio function 2022-09-09 13:01:16 +10:00
Nick Fisher 30e1dbafcf add clamp option to android bindings and allow resource paths starting with file:// 2022-09-09 13:00:19 +10:00
Nick Fisher 7b7fd09767 allow setting bg texture from ktx 2022-09-09 12:59:55 +10:00
Nick Fisher 3b6c92b149 gesture detector fixes 2022-09-07 17:40:40 +10:00
Nick Fisher f956d46dfc use pixels in setBackgroundImagePosition and add argument for clamp 2022-09-07 17:40:18 +10:00
Nick Fisher 9e20c2e0b2 fix starting target position for manipulator 2022-09-06 23:16:22 +10:00
Nick Fisher 6839a6fbe3 remove superseded props from viewer and add last frame time 2022-09-06 19:38:27 +10:00
Nick Fisher 1da92cdf57 manipulator fixes 2022-09-06 19:38:07 +10:00
Nick Fisher 76820c9888 standard order of scale/translation 2022-09-06 19:37:39 +10:00
Nick Fisher 00284ae7e3 add explicit render platform channel method 2022-09-06 19:35:46 +10:00
Nick Fisher 449c6ed9bd add light creation/removal to API and destroy manipulator on grab/zoomEnd 2022-09-05 14:24:39 +10:00
Nick Fisher 02665e1692 add light creation/removal to API and destroy manipulator on grab/zoomEnd 2022-09-05 14:24:21 +10:00
Nick Fisher 975648fef9 add bg image transform to example project 2022-09-05 12:40:22 +10:00
Nick Fisher 2916cd7b24 add android bindings for bg image transform 2022-09-05 12:39:48 +10:00
Nick Fisher 213eb5897a update controls for widget rotation/panning/bg image 2022-09-05 12:39:17 +10:00
Nick Fisher 4a220a37c4 add transform + controls for background image 2022-09-05 12:38:58 +10:00
Nick Fisher e07ffe8a75 clean up initialization listener in FilamentWidget 2022-09-01 15:19:51 +10:00
Nick Fisher d9470912ed add android option to pause rendering 2022-09-01 15:19:29 +10:00
Nick Fisher 7dd9ed971f add android bindings for set_frame_interval and use frame time for render 2022-09-01 14:27:45 +10:00
Nick Fisher e6d5556077 add setter for frame interval, separate FilamentController initialization from widget 2022-09-01 14:26:31 +10:00
Nick Fisher 998da3ea57 android bindings for new camera/manipulator 2022-09-01 13:04:25 +10:00
Nick Fisher c707023349 correctly return most recently modified asset during hot reload 2022-09-01 13:03:49 +10:00
Nick Fisher 26d916fc40 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 91038bc0d7 fix HotReload helper to use proper paths consistently 2022-08-26 00:26:03 +10:00
Nick Fisher 90c9c2e9cb add camera utils to API 2022-08-26 00:25:45 +10:00
Nick Fisher 09673d62b2 setRotation/setPosition from center 2022-08-25 19:01:04 +10:00
Nick Fisher a7f2ecf3bc remove unused threadpool references 2022-08-25 18:00:48 +10:00
Nick Fisher f4c1f59399 run all Android work on separate thread, add HotReloadPathHelper, separate loadTexture/setTexture 2022-08-25 17:09:54 +10:00
Nick Fisher 051085f440 add proguard rules for release build 2022-08-20 22:19:46 +10:00
Nick Fisher ce346510e6 make Android use new API, add delete_viewer method 2022-08-20 22:19:14 +10:00
Nick Fisher 1bbd460b9b use correct ifdefs for iPhone/other material loading 2022-08-20 00:19:01 +10:00
Nick Fisher 60a11e57f4 pickFirst libjnidispatch.so 2022-08-20 00:18:34 +10:00
Nick Fisher 6289841443 use C-style ResourceBuffer on Android 2022-08-20 00:18:18 +10:00
Nick Fisher 443863c178 update iOS project files 2022-08-19 21:51:22 +08:00
Nick Fisher b7e91a0a49 add compiled metal material 2022-08-19 21:50:48 +08:00
Nick Fisher 3152ac6dbe update example project with stopAnimation 2022-08-19 21:50:28 +08:00
Nick Fisher efce043a5f formatting 2022-08-19 21:50:09 +08:00
Nick Fisher a80bafed75 add animationIndex to stopAnimation on Dart side 2022-08-19 21:49:15 +08:00
Nick Fisher 35fc27901f implement remaining asset methods 2022-08-19 21:48:37 +08:00
Nick Fisher 0b760af2dd update freeResource in SceneAsset to use id 2022-08-19 21:47:40 +08:00
Nick Fisher 86169ca7c0 add resgen IOS materials 2022-08-19 21:47:16 +08:00
Nick Fisher 49b3f4275c merge 2022-08-19 21:23:36 +08:00
Nick Fisher 7dc02e4c1b add rotation/position methods to SceneAsset 2022-08-19 16:48:46 +10:00
Nick Fisher 95fc819757 merge 2022-08-19 12:40:33 +08:00
Nick Fisher c016b071e4 replace view with texture, move plugin to Swift implementation 2022-08-19 12:39:55 +08:00
Nick Fisher d23fe45d08 update FilamentViewer with iOS Metal 2022-08-19 12:37:28 +08:00
Nick Fisher 996ab39201 fix camera update 2022-08-19 14:33:22 +10:00
Nick Fisher 967be4d8a7 render directly to Texture rather than PlatformView (Android only) 2022-08-17 19:46:02 +10:00
Nick Fisher 17f9d9fc01 update example styles.xml 2022-08-17 12:45:20 +10:00
Nick Fisher 263a7ef934 add transformToUnitCube/setPosition/setRotation methods to FilamentController 2022-08-17 12:43:51 +10:00
Nick Fisher 267a21137b add transformToUnitCube/setPosition/setRotation methods to FilamentView 2022-08-17 12:43:14 +10:00
Nick Fisher 1cac460ac9 add transformToUnitCube/setPosition/setRotation methods to FilamentInterop 2022-08-17 12:42:10 +10:00
Nick Fisher 5bc431e8fc add transformToUnitCube/setPosition/setRotation methods to filament android 2022-08-17 12:41:49 +10:00
Nick Fisher d86ba24956 defer freeing resource until after source data released and enable culling by default 2022-08-16 11:32:29 +10:00
Nick Fisher 4aef34b2ae add setFirstCamera method to FilamentViewer 2022-08-16 11:32:03 +10:00
Nick Fisher 7e424a8bed header guards for StreamBufferAdapter 2022-08-15 19:02:52 +10:00
Nick Fisher a96b9ad1fa update cube assets 2022-08-15 19:02:04 +10:00
Nick Fisher 3ed96c4612 add setTexture to Android API 2022-08-15 19:01:37 +10:00
Nick Fisher 2cd6cbe8ec add setTexture method on SceneAsset 2022-08-15 19:00:47 +10:00
Nick Fisher 3651e86321 cleanup unused mat transforms 2022-08-15 18:59:58 +10:00
Nick Fisher c59c62abd1 move color grading to FilamentViewer constructor 2022-08-15 17:09:13 +10:00
Nick Fisher 284974c37f revert to main camera when removing assets 2022-08-15 00:27:31 +10:00
Nick Fisher 020f83f2d8 don't revert final frame on animations 2022-08-15 00:27:05 +10:00
Nick Fisher c00fb90b66 update example project 2022-08-14 21:31:10 +10:00
Nick Fisher e778c097db add clearAssets method to viewer 2022-08-14 21:30:58 +10:00
Nick Fisher 0e38ebc8fc restructure embedded animations to allow simultaneous play 2022-08-13 12:52:53 +10:00
Nick Fisher ff1679198d decouple assets from viewer to allow independent addition/removal/animation/etc 2022-08-13 00:25:56 +10:00
Nick Fisher f2f158ad78 update README for imageio 2022-08-09 09:53:18 +08:00
Nick Fisher 7316240c64 update example project 2022-08-09 09:52:38 +08:00
Nick Fisher 871c0b256c separate IBL from skybox and add setBackgroundImage method 2022-08-09 09:52:22 +08:00
Nick Fisher 2cb0d57eed separate IBL from skybox and add setBackgroundImage method 2022-08-09 09:52:07 +08:00
Nick Fisher 12edd1f0b2 add streambuf for wrapping resources in IOStream 2022-08-09 09:49:52 +08:00
Nick Fisher bf7396ec41 add imagematerial for background images 2022-08-09 09:49:30 +08:00
Nick Fisher bb863c9645 update android libs 2022-08-09 09:49:06 +08:00
Nick Fisher fe0f41e023 update example project 2022-07-27 21:06:03 +10:00
Nick Fisher 33e308705a update README 2022-07-27 21:05:48 +10:00
Nick Fisher 6654b4360c use focal length from GLTF 2022-07-18 12:24:53 +10:00
Nick Fisher 09fe0343de add removeSkybox 2022-07-16 17:34:56 +10:00
Nick Fisher e3ab9ced81 fixes for Android transparency and add removeAsset method 2022-07-11 19:12:49 +10:00
Nick Fisher f65c7ab50b update README 2022-07-10 17:58:01 +10:00
Nick Fisher 3b5047ecb9 cleanup example build.gradle 2022-07-10 17:54:50 +10:00
Nick Fisher c86da6e88a remove maven dependencies as we link Filament libs directly now 2022-07-10 17:54:13 +10:00
Nick Fisher e675b4ae6a update example project with explicit height on FilamentView and add FlightHelmet 2022-07-10 17:53:44 +10:00
Nick Fisher 6e5368cc3f update CMakeLists with static libraries 2022-07-10 17:52:43 +10:00
Nick Fisher 71a6c3806b update FilamentView for new method channel compatibility 2022-07-10 17:52:20 +10:00
Nick Fisher 30a5c1974f update FilamentViewer for v1.25 texture & shader providers 2022-07-10 17:51:46 +10:00
Nick Fisher ae63305462 add additional Java source files needed for Android build 2022-07-10 17:51:13 +10:00
Nick Fisher 864c1dc14a add additional C++ source files needed for Android build 2022-07-10 17:50:58 +10:00
Nick Fisher 5da67198b7 remove superseded dynamic libraries for Android 2022-07-10 17:50:29 +10:00
Nick Fisher ea2964c6c6 update headers to Filament v1.25.0 2022-07-10 17:49:56 +10:00
Nick Fisher 804d0ef89b update android libs to Filament v1.25.0 2022-07-10 17:49:33 +10:00
Nick Fisher 2a63f32d75 Merge branch 'master' of github.com:nmfisher/polyvox_filament 2022-07-08 23:06:03 +10:00
Nick Fisher 2002660e8a add iOS handlers for get animation names/target names 2022-06-21 13:05:51 +08:00
Nick Fisher 40ad175637 fix off-by-one on morph animation frames 2022-06-21 13:05:36 +08:00
Nick Fisher 94d1329f0f fix up morph target animations and add stopAnimation function 2022-04-28 15:54:09 +08:00