Commit Graph

159 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
41fa55cfb5 set default camera zoom speed to 1.0 2024-06-16 13:22:03 +08:00
Nick Fisher
ef075fb4ba whitespace 2024-06-16 13:22:03 +08:00
Nick Fisher
49f33cd7bf update web/js interop types 2024-06-16 13:22:02 +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
663be45e6a remove inadvertent dart:ffi dependency 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
0f892645af remove example dev dependency on native_* packages 2024-06-09 00:09:19 +10:00
Nick Fisher
c1b4d6463a remove all pubspec.lock files 2024-06-09 00:08:30 +10: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
6f1597daec update build.dart to support windows 2024-06-08 15:36:57 +10:00
Nick Fisher
ecb52f06da update build.dart to support windows 2024-06-08 15:36:28 +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
ef27e06e82 use forked native_toolchain_c 2024-06-08 15:34:06 +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
Hannes Hultergård
1831e31afb Download and unzip native assets during build 2024-06-07 16:03:39 +02:00
Nick Fisher
6eea9c1f66 Merge branch 'feature/native-assets' of github.com:nmfisher/polyvox_filament into feature/native-assets 2024-06-07 20:43:55 +10:00
Nick Fisher
58d9ce04be rename & documentation 2024-06-07 20:41:36 +10:00
Hannes Hultergård
93b7c74ffe Remove pubspec.lock files from packages
The dart team recommends not committing the pubspec.lock in regular
packages. The examples should still have the lock files to "ensures
changes to transitive dependencies are explicit".

https://dart.dev/guides/libraries/private-files#pubspec-lock
2024-06-06 21:23:51 +02:00
Nick Fisher
edb8de721b update animation_tools_dart dependency 2024-06-06 23:38:06 +08:00
Nick Fisher
b62bac9153 update build.dart for Android 2024-06-06 23:31:55 +08: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
6ad53ae413 add Android support to build.dart 2024-06-06 22:10:00 +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
78662ccade fix quaternion order in JS interop bindings 2024-06-04 22:20:40 +08:00
Nick Fisher
6ecfb60521 remove logging 2024-06-04 22:20:24 +08:00
Nick Fisher
fce1846c27 recalculate world transform from parent hierarchy when setting bone animation 2024-06-04 22:20:13 +08:00
Nick Fisher
2f38cfceee fade tests 2024-06-04 20:54:16 +08:00
Nick Fisher
3c289bd13d don't enqueue gltf animation if already playing 2024-06-04 20:53:58 +08:00
Nick Fisher
2f1edc706b update web bindings 2024-06-04 20:53:34 +08:00
Nick Fisher
15392071e4 add fade in/out arguments to JS export types 2024-06-04 20:53:20 +08:00
Nick Fisher
fd06424f28 add various bone methods to JS interop 2024-06-04 13:15:45 +08:00
Nick Fisher
f31bbccdc9 add fade in/out to dynamic bone animations 2024-06-04 13:14:53 +08:00
Nick Fisher
765d0e0839 update skinning tests 2024-06-03 22:31:23 +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
52204ddd5b documentation 2024-06-03 22:30:17 +08:00