Commit Graph

352 Commits

Author SHA1 Message Date
Nick Fisher
0b760af2dd 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
86169ca7c0 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
49b3f4275c 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
7dc02e4c1b 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
95fc819757 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
c016b071e4 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
d23fe45d08 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
996ab39201 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
d86ba24956 defer freeing resource until after source data released and enable culling by default 2022-08-16 11:32:29 +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
4aef34b2ae add setFirstCamera method to FilamentViewer 2022-08-16 11:32:03 +10:00
Nick Fisher
3eef4e816e 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
5c70d42f45 header guards for StreamBufferAdapter 2022-08-15 19:02:52 +10:00
Nick Fisher
2cd6cbe8ec add setTexture method on SceneAsset 2022-08-15 19:00:47 +10:00
Nick Fisher
85f7e1e3f0 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
4afea4413c 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
47e37e6ed0 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
07411fe4ef 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
ed2db379cb don't revert final frame on animations 2022-08-15 00:27:05 +10:00
Nick Fisher
e778c097db add clearAssets method to viewer 2022-08-14 21:30:58 +10:00
Nick Fisher
6a7499099d 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
7d24621925 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
e51577cf6b decouple assets from viewer to allow independent addition/removal/animation/etc 2022-08-13 00:25:56 +10:00
Nick Fisher
2cb0d57eed separate IBL from skybox and add setBackgroundImage method 2022-08-09 09:52:07 +08:00
Nick Fisher
efabcc3171 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
cccf249be8 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
c1365edbb5 add imagematerial for background images 2022-08-09 09:49:30 +08:00
Nick Fisher
6654b4360c use focal length from GLTF 2022-07-18 12:24:53 +10:00
Nick Fisher
ce177e7fbd 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
d512ebd38f 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
a8ef628316 fixes for Android transparency and add removeAsset method 2022-07-11 19:12:49 +10:00