Commit Graph

51 Commits

Author SHA1 Message Date
Nick Fisher
b7e91a0a49 add compiled metal material 2022-08-19 21:50:48 +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
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
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
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
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
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
30a5c1974f update FilamentViewer for v1.25 texture & shader providers 2022-07-10 17:51:46 +10: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
Nick Fisher
72fc692305 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
53ab72bcff upgrade to Filament 1.21.0 2022-04-14 01:54:33 +08:00
Nick Fisher
d5cf8e0b00 add loop option to playAnimation 2022-03-29 15:49:03 +08:00
Nick Fisher
1410fb9ea7 add getters from animation names and play animation method 2022-03-22 22:33:50 +08:00
Nick Fisher
8e3b530b46 re-add morph animation 2022-02-07 14:52:03 +08:00
Nick Fisher
61e12975b4 add fixes for setting camera 2022-02-07 13:19:20 +08:00
Nick Fisher
9c0c73146b add android integration & make iOS API consistent
add pubspec android plugin

update android CMakeLists

add filament android libs for linking
2022-02-06 13:52:19 +08:00
Nick Fisher
5c40b24b14 remove superseded morph classes 2022-02-06 13:28:59 +08:00
Nick Fisher
a08f3d95e3 update external headers 2022-02-06 13:28:28 +08:00
Nick Fisher
dc3f9e9be8 namespace change and add camera extraction from GLTF 2022-01-20 19:55:41 +08:00
Nick Fisher
61e3ed179c add GLB view 2021-11-24 11:48:29 +08:00
Nick Fisher
7ae6d85878 fix normal morph target 2021-11-23 15:51:50 +08:00
Nick Fisher
bb13d82114 package and namespace changes 2021-11-09 22:05:42 +08:00
Nick Fisher
51ba4b2377 package name change 2021-11-06 12:38:56 +08:00
Nick Fisher
4a87ccd143 add animation ticker inside render loop 2021-09-26 10:23:58 +08:00
Nick Fisher
1361fc7d41 add support for multiple primitives 2021-09-24 11:47:50 +08:00
Nick Fisher
14c8f431a2 only animate a single primitive 2021-09-21 16:52:29 +08:00
Nick Fisher
02a5fc5661 don't use copy when iterating over primitives 2021-09-21 16:30:22 +08:00
Nick Fisher
a167d38984 add getTargetNames method 2021-09-21 10:55:46 +08:00
Nick Fisher
76f25ae7d5 add GPU morpher + Dart API 2021-09-17 13:45:41 +08:00
Nick Fisher
8288758e78 tidy up method call handler and add example project with camera panning 2021-09-16 17:33:24 +08:00