Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher ab793387bc use Unmanaged.passRetained rather than passUnretained for ThermionDartTexture 2024-06-19 13:21:47 +08:00
Nick Fisher 534e5b46a8 (Swift/macos) dont make ThermionFlutterTexture inherit from ThermionDartTexture; reuse render callbacks/resource loader functions; add check for concurrent calls to destroyTexture 2024-06-19 13:20:04 +08:00
Nick Fisher 3468e7da55 dont make ThermionFlutterTexture inherit from ThermionDartTexture 2024-06-19 13:19:04 +08:00
Nick Fisher 1f58717635 only require ThermionViewer to be passed to ThermionWidget 2024-06-19 13:17:11 +08:00
Nick Fisher 7dc0e91e6b fix RenderLoop to use (C) ResourceLoaderWrapper and destroy RL when viewer is destroyed 2024-06-19 13:16:33 +08:00
Nick Fisher 49b8e7023b free all resources in FilamentViewer destructor 2024-06-19 13:15:36 +08:00
Nick Fisher a455e4f88a construct (C++) ResourceLoaderWrapperImpl from (C) ResourceLoaderWrapper 2024-06-19 13:13:36 +08:00
Nick Fisher 3785580b01 free all resources in SceneManager 2024-06-19 13:12:28 +08:00
Nick Fisher 6cfa86fe75 make ResourceBuffer.hpp C++ only and add constructor to create from C struct 2024-06-19 13:11:01 +08:00
Nick Fisher dc70909715 move Scene class to own file and add dispose() method 2024-06-19 13:04:34 +08:00
Nick Fisher 89f49f98c4 replace print with Logger 2024-06-19 13:01:20 +08:00
Nick Fisher 025e39318d add implementation for onDispose to ThermionViewerFFI 2024-06-19 12:59:16 +08:00
Nick Fisher cfa7805970 add onDispose method to ThermionViewer to register callbacks on disposal 2024-06-19 12:57:49 +08:00
Nick Fisher 31e68df1c5 make ThermionFlutterPlugin static, remove dispose() and add internal listener for ThermionViewer.onDispose 2024-06-19 12:57:16 +08:00
Nick Fisher 8e75555540 use C header for ResourceBuffer in Swift bridging 2024-06-19 12:52:58 +08:00
Nick Fisher c8fa220362 remove dispose()/viewer getter from platform interface, rename initialize to createViewer 2024-06-19 12:52:39 +08:00
Nick Fisher 8e892a1f23 log to file for build.dart, check for SUCCESS token 2024-06-19 12:51:39 +08:00
Nick Fisher ee8769b7d7 use C header for ResourceBuffer in Swift bridging 2024-06-19 12:50:29 +08:00
Nick Fisher 7ecf097861 reduce quickstart Dart SDK min version 2024-06-18 16:29:53 +08:00
Nick Fisher 4f4be9b7d7 rename Flutter method channels 2024-06-18 16:29:19 +08:00
Nick Fisher 338fe3bb9f Merge branch 'master' into develop 2024-06-17 14:49:02 +08:00
Nick Fisher 04b1498cd9 Merge pull request #39 from 1l0/fix-link
Fix broken links
2024-06-17 16:48:44 +10:00
Nick Fisher 1d3dab88d1 bump pubspec version 2024-06-17 14:48:13 +08:00
Nick Fisher 436b978537 rename/export Flutter widgets 2024-06-17 13:19:24 +08:00
Nick Fisher e1aad2425f merge 2024-06-17 12:03:54 +08:00
Nick Fisher bf0b5762f5 Merge branch 'master' of github.com:nmfisher/thermion 2024-06-17 12:02:36 +08:00
Nick Fisher 3c20b2aa6b documentation 2024-06-17 12:01:30 +08:00
Nick Fisher 97e1198b5c update docs 2024-06-17 11:39:41 +08:00
Nick Fisher 14c87e7b38 Flutter/Android - create local copy of headers 2024-06-17 11:30:03 +08:00
Nick Fisher 5e5e81a107 android fixes 2024-06-17 11:23:18 +08:00
Nick Fisher dd646e0e5c remove pre-release tag from pub versions 2024-06-17 11:07:34 +08:00
Nick Fisher 9b19fc932d export thermion_widget 2024-06-17 10:40:24 +08:00
Nick Fisher 1a3b3d0768 use older API for build.dart 2024-06-17 10:40:11 +08:00
Nick Fisher 49122cd6ce clean up quickstart project 2024-06-17 10:39:55 +08:00
Nick Fisher c037fbaed5 doc update 2024-06-17 10:38:13 +08:00
Nick Fisher 5edfd97a20 doc update 2024-06-17 10:37:39 +08:00
Nick Fisher 05cc43434a doc update 2024-06-17 10:14:36 +08:00
Nick Fisher f3d043d824 doc update 2024-06-17 10:11:32 +08:00
Nick Fisher a6139f7eeb doc update 2024-06-17 10:09:57 +08:00
Nick Fisher 701519f3a7 doc update 2024-06-17 10:09:25 +08:00
Nick Fisher 44842ecec1 doc fixes 2024-06-16 15:11:49 +08:00
Nick Fisher 2787f8529b doc fixes 2024-06-16 15:10:41 +08:00
Nick Fisher 24866ed381 remove pubspec.lock 2024-06-16 15:09:37 +08:00
Nick Fisher 29e7e6b409 dont commit pubspec.lock 2024-06-16 15:04:38 +08:00
Nick Fisher 91e41c4eb3 various fixes for publishing all packages to pub.dev 2024-06-16 15:03:52 +08:00
Nick Fisher 19c29adb97 cleanup for publication to pub.dev 2024-06-16 14:24:06 +08:00
Nick Fisher 716da54855 documentation 2024-06-16 14:23:43 +08:00
Nick Fisher 2396a1c1b3 use published native_toolchain_c (required by pub.dev for publication) 2024-06-16 14:23:32 +08:00
Nick Fisher 217197c7d1 add Apache 2.0 licence 2024-06-16 14:23:11 +08:00
Nick Fisher a616a76eba update thermion_dart CHANGELOG 2024-06-16 13:56:34 +08:00
Nick Fisher 23e0f32931 rename 2024-06-16 13:56:21 +08:00
Nick Fisher 68a67dad19 remove old library dirs 2024-06-16 13:51:16 +08:00
Nick Fisher af7b2e03b7 delete test outputs 2024-06-16 13:32:58 +08:00
Nick Fisher cf667c63c5 set thermion_dart pubspec version 2024-06-16 13:30:35 +08:00
Nick Fisher 4a93111e4d Merge pull request #36 from nmfisher/feature/rename_and_documentation
Rename package and add documentation
2024-06-16 15:25:49 +10:00
Nick Fisher 556f46b4e7 docs 2024-06-16 13:22:56 +08:00
Nick Fisher f8edbc8e62 more renaming & documentation 2024-06-16 13:22:56 +08:00
Nick Fisher 7ec00922fb renaming and docs 2024-06-16 13:22:56 +08:00
Nick Fisher 52f4e55b1a update minimum requirement 2024-06-16 13:22:56 +08:00
Nick Fisher d7e65930b4 docs 2024-06-16 13:22:56 +08:00
Nick Fisher 13df1a75a1 docs 2024-06-16 13:22:56 +08:00
Nick Fisher 1e1630c4d7 logo 2024-06-16 13:22:56 +08:00
Nick Fisher d5e69e2683 docs 2024-06-16 13:22:54 +08:00
Nick Fisher fe6deb925b docs 2024-06-16 13:22:47 +08:00
Nick Fisher 68a227acaf move logo 2024-06-16 13:22:47 +08:00
Nick Fisher 18b70363b8 rm pubspec.lock 2024-06-16 13:22:47 +08:00
Nick Fisher d8bdd9cfbc Update docs.json 2024-06-16 13:22:46 +08:00
Nick Fisher dc0c855135 documentation & further renaming 2024-06-16 13:22:27 +08:00
Nick Fisher 3f88598498 doc update 2024-06-16 13:22:27 +08:00
Nick Fisher 3fad977552 git LFS for example assets 2024-06-16 13:22:27 +08:00
Nick Fisher fe62a70e29 renaming to Thermion 2024-06-16 13:22:22 +08:00
Nick Fisher 1a5f573bc0 rename Web methods in example projects 2024-06-16 13:22:03 +08:00
Nick Fisher cfc7b76700 update generated methods 2024-06-16 13:22:03 +08:00
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