Commit Graph

94 Commits

Author SHA1 Message Date
Nick Fisher
2ee5e989b3 flush stdout for Log 2022-12-09 14:42:38 +08:00
Nick Fisher
52b331fc2b extend to support rendering to RenderTarget/OpenGL texture on Linux 2022-12-08 17:36:44 +08:00
Nick Fisher
4c1a2e9e01 reorder init fields 2022-12-06 12:24:01 +08:00
Nick Fisher
6d8f047dae reorder SceneResources field init 2022-12-06 12:20:52 +08:00
Nick Fisher
cc61834ee7 update podspec for new source files 2022-12-05 17:52:55 +08:00
Nick Fisher
74dc922564 update to new API re instance 2022-12-05 17:52:37 +08:00
Nick Fisher
9b72a9b612 update to new API re instance 2022-12-05 17:52:25 +08:00
Nick Fisher
de4c6a32e3 update ResourceLoader call to new API and fix image material resource names 2022-12-05 17:52:07 +08:00
Nick Fisher
dd100653dc update headers 2022-12-05 17:51:44 +08:00
Nick Fisher
8d562f1742 arrange plugin method handler in alphabetical order 2022-12-05 17:51:20 +08:00
Nick Fisher
34c91e2c46 iOS build fixes 2022-11-28 08:41:12 +08:00
Nick Fisher
dcd0a16bf9 rearrange source/header files for compatibility with CocoaPods Framework structure 2022-10-04 09:23:53 +08:00
Nick Fisher
204c75a603 remove logging 2022-10-03 14:59:23 +11:00
Nick Fisher
adf9cd94e9 pass through light type 2022-10-03 14:58:39 +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
7b7fd09767 allow setting bg texture from ktx 2022-09-09 12:59:55 +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
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
4a220a37c4 add transform + controls for background image 2022-09-05 12:38:58 +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
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
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
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
b7e91a0a49 add compiled metal material 2022-08-19 21:50:48 +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
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