Commit Graph

73 Commits

Author SHA1 Message Date
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 6e741556e5 add compiled metal material 2022-08-19 21:50:48 +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 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 85f7e1e3f0 add setTexture method on SceneAsset 2022-08-15 19:00:47 +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 ed2db379cb don't revert final frame on animations 2022-08-15 00:27:05 +10:00
Nick Fisher 6a7499099d add clearAssets method to viewer 2022-08-14 21:30:58 +10:00
Nick Fisher 7d24621925 restructure embedded animations to allow simultaneous play 2022-08-13 12:52:53 +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 cccf249be8 add streambuf for wrapping resources in IOStream 2022-08-09 09:49:52 +08:00
Nick Fisher c1365edbb5 add imagematerial for background images 2022-08-09 09:49:30 +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 9acbc28a52 update headers to Filament v1.25.0 2022-07-10 17:49:56 +10:00
Nick Fisher 4bd0ac3b8a add iOS handlers for get animation names/target names 2022-06-21 13:05:51 +08: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 97389e41de iOS project fixes 2022-04-26 23:04:02 +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