Commit Graph

78 Commits

Author SHA1 Message Date
Nick Fisher
d2b548c176 rename web methods 2024-06-16 13:22:03 +08:00
Nick Fisher
bea8dc64a0 keep context handle and call engine->execute() on every call to render() (fixes lock bug on webgl) 2024-06-16 13:22:03 +08:00
Nick Fisher
6268ed7ad1 rename Web methods and move to EMSCRIPTEN_WEBGL_CONTEXT_PROXY_DISALLOW for single-threaded build 2024-06-16 13:22:03 +08:00
Nick Fisher
e47e8e39f3 delete webgl libs from repository 2024-06-16 13:22:02 +08:00
Nick Fisher
d4cd3c23fb re-introduce guards for bloom on Emscripten 2024-06-16 13:22:02 +08:00
Nick Fisher
5c5897f74d add maxDelta to blend between glTF and dynamic bone animations 2024-06-10 22:32:44 +08:00
Nick Fisher
b5ed69483c use ifdef guards for Windows pragmas 2024-06-08 22:26:33 +08:00
Nick Fisher
2b4e4ec490 Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets
- prebuilt library zip files now downloaded directly from Cloudflare to
  .dart_tool/dart_filament
- for Windows compatibility, we need to depend on a fork of
  native_toolchain_c (to support linking against non-import libs when
  creating a DLL)
2024-06-09 00:06:09 +10:00
Nick Fisher
026c65016c add pragmas to ensure linking on Windows 2024-06-08 15:35:51 +10:00
Nick Fisher
45a651adf0 set stereoscopic options to fix issue on Windows 2024-06-08 15:35:32 +10:00
Nick Fisher
770f01c2bb remove some logging 2024-06-08 15:34:23 +10:00
Nick Fisher
4f830f1f95 fixes for Windows 2024-06-08 15:30:24 +10:00
Hannes Hultergård
9556c0b314 Remove native libraries from git 2024-06-07 16:03:39 +02:00
Nick Fisher
58d9ce04be rename & documentation 2024-06-07 20:41:36 +10:00
Nick Fisher
0d17d28de7 Revert "remove unused Filament headers"
This reverts commit 778c3c959e.
2024-06-06 22:21:56 +08:00
Nick Fisher
1dcc4b5108 remove unnecessary cast from SceneManager 2024-06-06 22:14:22 +08:00
Nick Fisher
cc27577f4d logging 2024-06-06 22:13:30 +08:00
Nick Fisher
778c3c959e remove unused Filament headers 2024-06-06 22:13:07 +08:00
Nick Fisher
f82813b7f3 move Android libs to release dir 2024-06-06 22:12:47 +08:00
Nick Fisher
e9bbf2f8b3 dont ignore return value when removing lights to stop compiler complaining 2024-06-05 22:30:23 +08:00
Nick Fisher
fb030e9bc8 add missing android header files 2024-06-05 22:29:59 +08:00
Nick Fisher
1293c47da1 add missing android libs 2024-06-05 22:29:36 +08:00
Nick Fisher
6ecfb60521 remove logging 2024-06-04 22:20:24 +08:00
Nick Fisher
3c289bd13d don't enqueue gltf animation if already playing 2024-06-04 20:53:58 +08:00
Nick Fisher
f31bbccdc9 add fade in/out to dynamic bone animations 2024-06-04 13:14:53 +08:00
Nick Fisher
69bc4d6ff6 add missing emscripten resolve callback arg 2024-06-03 22:31:07 +08:00
Nick Fisher
7af0f6f00d don't add multiple component instances and interpolate between gltf and dynamic bone animation 2024-06-03 22:30:45 +08:00
Nick Fisher
7d9bc9e5cc add method to retrieve rest local transforms 2024-06-03 22:29:23 +08:00
Nick Fisher
9090eca461 add method to retrieve rest local transforms 2024-06-03 22:28:46 +08:00
Nick Fisher
57f3135e3b add callbacks to certain async FFI methods 2024-06-01 12:40:20 +08:00
Nick Fisher
c19928850c expose various methods for getting bones/transforms/etc. 2024-06-01 12:35:20 +08:00
Nick Fisher
dc8dfc3474 expose various methods for getting bones/transforms/etc. change reset rest pose to reset bone transforms (not just resetting the bone matrices) 2024-06-01 12:34:48 +08:00
Nick Fisher
35c1227b6c expose various methods for getting bones/transforms/etc 2024-06-01 12:33:31 +08:00
Nick Fisher
650239fcd6 expose various methods for getting bones/transforms/etc 2024-06-01 12:33:18 +08:00
Nick Fisher
8391ae6178 allow removing animation components and dont stash initial joint transforms when creating bone animations 2024-06-01 12:32:50 +08:00
Nick Fisher
188fc6b5dc expose various methods for getting bones/transforms/etc 2024-06-01 12:32:35 +08:00
Nick Fisher
7d54eadaa8 allow removing animation components and dont stash initial joint transforms when creating bone animations 2024-06-01 12:31:59 +08:00
Nick Fisher
161abced39 update macos debug/release libs 2024-06-01 12:16:19 +08:00
Nick Fisher
24c29593be expose methods for getting bone names 2024-05-26 12:11:40 +08:00
Nick Fisher
82f533e6b2 expose methods for getting bone names 2024-05-26 12:11:11 +08:00
Nick Fisher
443a4ba0d4 reenable bloom on web 2024-05-21 16:39:23 +08:00
Nick Fisher
d7edf105c4 addLight now accepts a LightType enum; added support for setting falloff, spot light radius, sun radius & halo 2024-05-21 13:23:23 +08:00
Nick Fisher
3415648676 remove logging 2024-05-19 14:19:03 +08:00
Nick Fisher
269aa819e2 whitespace 2024-05-19 14:18:51 +08:00
Nick Fisher
f487be82b1 use child entity for morph animations rather than name 2024-05-17 14:37:25 +08:00
Nick Fisher
8b1a1974b1 use child entity for morph animations rather than name & expose Emscripten scripts via moduleArgs 2024-05-17 14:36:52 +08:00
Nick Fisher
bb514b13d3 update gitattributes 2024-05-17 14:33:57 +08:00
Nick Fisher
e79d67d880 re-add web binding generation and symbol replacement in web CMakeLists.txt 2024-05-17 14:33:41 +08:00
Nick Fisher
b8588e3196 dont use lists for CMake replace in file 2024-05-17 14:33:24 +08:00
Nick Fisher
6bfb32b5e8 update web libs 2024-05-17 14:32:32 +08:00