Commit Graph

1212 Commits

Author SHA1 Message Date
Nick Fisher
bbf08e2994 rename Web methods 2024-06-16 13:22:03 +08:00
Nick Fisher
b3d5ba32f7 update web CMakeLists to not use pthreads 2024-06-16 13:22:03 +08:00
Nick Fisher
edb2b05da5 legibility 2024-06-16 13:22:03 +08:00
Nick Fisher
ee991f8bf5 use pthread instead of std::thread for emscripten compatibility 2024-06-16 13:22:03 +08:00
Nick Fisher
2199255341 ensure NULL terminator is copied to strings in get_bone_names 2024-06-16 13:22:03 +08:00
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
3b6969909c add last working Fluttter commit to README for WASM compat 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
860acce797 Merge pull request #35 from nmfisher/feature/bone-animation-blending
Blend between glTF and dynamic bone animations
2024-06-16 15:13:12 +10:00
Nick Fisher
c0eae7b7a9 Merge pull request #34 from nmfisher/feature/native-assets
Migrate to native-assets & restructure into separate Dart/Flutter packages
2024-06-16 15:11:35 +10:00
Nick Fisher
5c5897f74d add maxDelta to blend between glTF and dynamic bone animations 2024-06-10 22:32:44 +08:00
Nick Fisher
5798a269ec docs 2024-06-09 11:28:22 +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
d548f1a2df Merge pull request #31 from Hannnes1/feature/native-assets
Download and unzip native assets during build
2024-06-08 15:44:43 +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
169acb4682 allow null flutterTextureId in FlutterFilamentTexture 2024-06-08 15:33:29 +10:00
Nick Fisher
4705359b5f clean up example pubspec 2024-06-08 15:33: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
6b12f2532f update Windows plugin for new native-assets structure 2024-06-07 20:43:09 +10:00
Nick Fisher
f7cc0ce6ad remove windows specific headers 2024-06-07 20:42:07 +10:00
Nick Fisher
58d9ce04be rename & documentation 2024-06-07 20:41:36 +10:00
Nick Fisher
c40814709d Merge pull request #32 from Hannnes1/lockfile-remove
Remove pubspec.lock files from packages
2024-06-07 10:45:59 +08: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
6efaee07c5 dont pass plugin before initialization to ExampleViewport 2024-06-06 23:34:54 +08:00
Nick Fisher
0140911515 update build.gradle for Android example project 2024-06-06 23:34:09 +08:00
Nick Fisher
77322019ec recreate example iOS project 2024-06-06 23:33:43 +08:00
Nick Fisher
b6b4bcc94a remove accidentally committed folder 2024-06-06 23:33:01 +08:00
Nick Fisher
5a0d18bd59 clean up MacOS bridging headers 2024-06-06 23:32:43 +08:00
Nick Fisher
559706ef53 ios bridging header fixes 2024-06-06 23:32:18 +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