Commit Graph

  • c484eeb37f when destroying an asset, remove/destroy instances before destroying the parent asset Nick Fisher 2025-06-04 11:07:19 +08:00
  • 655ba89b0f logging Nick Fisher 2025-06-04 11:05:19 +08:00
  • 840f3599e7 logging Nick Fisher 2025-06-04 11:04:52 +08:00
  • d0da7f49f3 when destroying a SceneAsset, if the object is an instance, call destroyInstance on the owner of instance rather than deleting the object directly Nick Fisher 2025-06-04 10:48:07 +08:00
  • 886a4a37aa (test) log to stdout by default when using TestHelper Nick Fisher 2025-06-04 10:46:52 +08:00
  • 6db82d00c2 don't call removeAnimationComponent in viewer (moved to FilamentApp.destroyAsset) Nick Fisher 2025-06-03 16:40:50 +08:00
  • 0fb4fd0004 (web) use mimalloc as default allocator on emscripten builds and set SAFE_HEAP to 1 by default for debug builds Nick Fisher 2025-06-03 16:40:12 +08:00
  • e147e59d8d don't call endFrame() unless beginFrame() was called only use condition_variable on non-emscripten builds Nick Fisher 2025-06-03 16:39:04 +08:00
  • 28aef7e5cc when destroying assets, remove animation component in FilamentApp, not viewer Nick Fisher 2025-06-02 14:58:32 +08:00
  • b1617004d7 add missing EMSCRIPTEN_KEEPALIVE from Texture_generateMipMapsRenderThread Nick Fisher 2025-06-02 14:58:11 +08:00
  • 32b6b1c227 (flutter) add zero size check in TextureWidget Nick Fisher 2025-06-02 12:58:53 +08:00
  • 1c500fe925 require dispose() on InputHandlerDelegate and update sample implementations Nick Fisher 2025-06-02 12:58:26 +08:00
  • 3fd15ab91b (flutter) add zero size check for texture descriptors Nick Fisher 2025-06-02 12:58:11 +08:00
  • 2191f9d44b require dispose() on InputHandlerDelegate and update sample implementations Nick Fisher 2025-06-02 12:57:45 +08:00
  • 87b63301f2 require dispose() on InputHandlerDelegate and update sample implementations Nick Fisher 2025-06-02 12:57:22 +08:00
  • 0d5b42c908 add Char to js_interop malloc Nick Fisher 2025-06-02 12:15:35 +08:00
  • 12e2dca873 change wireframe camera geometry Nick Fisher 2025-06-02 12:14:55 +08:00
  • 8eae6bf90c add flags to pixelBufferToPng for alpha/float Nick Fisher 2025-06-02 12:14:40 +08:00
  • 873244879f when batch is true in DelegateInputHandler, filter simultaneous keydown/keyup Nick Fisher 2025-06-02 12:14:05 +08:00
  • 2ab1732b6b add synthesized property to KeyEvent and add additional keys Nick Fisher 2025-06-02 12:12:51 +08:00
  • 5eb83a80b3 formatting Nick Fisher 2025-06-02 12:08:26 +08:00
  • 7141a01101 use render thread method for resetting to rest pose Nick Fisher 2025-06-02 11:52:38 +08:00
  • 24aaffda9c lock mutex when setting animations manually via AnimationManager Nick Fisher 2025-06-02 11:52:08 +08:00
  • 82aba605f9 add Texture_generateMipMapsRenderThread, AnimationManager_resetToRestPoseRenderThread Nick Fisher 2025-06-02 11:51:43 +08:00
  • 7b80723560 add Texture_generateMipMapsRenderThread, AnimationManager_resetToRestPoseRenderThread Nick Fisher 2025-06-02 11:51:19 +08:00
  • 39a302c23e remove comments Nick Fisher 2025-06-02 11:50:26 +08:00
  • 059926fe98 add generateMipmapsRenderThread Nick Fisher 2025-06-02 10:44:45 +08:00
  • 3c9b607109 add geometry tests for destroyAssets Nick Fisher 2025-06-02 10:13:08 +08:00
  • 70e2933c4b track geometry assets internally to ensure they are destroyed when destroyAssets is called Nick Fisher 2025-06-02 10:09:58 +08:00
  • 4fb85eb45a don't throw exception on failure to remove animation component Nick Fisher 2025-05-31 21:58:32 +08:00
  • afecacfcf0 getChildEntity in FFIAsset should invoke FilamentApp method, not direct binding method Nick Fisher 2025-05-31 11:25:24 +08:00
  • 2f7f363db9 pass shared NameComponentManager to gltfio AssetLoader Nick Fisher 2025-05-31 11:21:57 +08:00
  • 7f0ec01937 change RenderThread warning from Log to TRACE Nick Fisher 2025-05-30 14:35:48 +08:00
  • ccdf2ecda6 (flutter) better synchronization in ThermionTextureWidget with presentation deadline Nick Fisher 2025-05-30 14:35:24 +08:00
  • 5f9a7bb959 remove errant comment Nick Fisher 2025-05-29 22:30:00 +08:00
  • 764fea836b move tests to unlit_material_tests.dart Nick Fisher 2025-05-29 22:29:04 +08:00
  • 27d6bd0f4a update projection tests to use aspect-ratio other than 1 Nick Fisher 2025-05-29 22:28:50 +08:00
  • 7e810b8265 remove old tests Nick Fisher 2025-05-29 22:27:39 +08:00
  • 6ad3bfab13 remove old material_tests.dart Nick Fisher 2025-05-29 22:27:31 +08:00
  • 5ed00164a9 (web) expose HEAPF32 Nick Fisher 2025-05-29 22:26:59 +08:00
  • 86894cf583 add alpha/requireAlpha argument when decoding images remove size checks from setImage (we are assuming the caller knows the correct size) This also adds some monkey-patch methods to js_interop to convert Float32List to a UInt8List (but use this with care, because it will only work for emscripten-allocated objects) Nick Fisher 2025-05-29 22:26:42 +08:00
  • c789e75af5 (web) fix casing for generateMipMaps Nick Fisher 2025-05-29 19:27:22 +08:00
  • 6ad76b6217 add stb_image.h Nick Fisher 2025-05-29 19:02:35 +08:00
  • 2e097f7ec6 (CI) run macos/web samples separately Nick Fisher 2025-05-29 18:57:53 +08:00
  • beeb45609c don't take reference to Builder Nick Fisher 2025-05-29 18:57:01 +08:00
  • 94eacec27e Texture improvements: generateMipmaps(), add levels to createTexture, tests to check auto mip level selection Nick Fisher 2025-05-29 18:38:57 +08:00
  • 11f7ac459b separate material_tests into ubershader & unlit Nick Fisher 2025-05-29 18:02:18 +08:00
  • afd47f9b24 merge test/example assets Nick Fisher 2025-05-29 17:58:13 +08:00
  • aab2b0b769 (web) update emcc flags Nick Fisher 2025-05-28 21:54:31 +08:00
  • ffc7717149 (web) add explicit check for failure to create context Nick Fisher 2025-05-28 21:54:03 +08:00
  • ff5921a505 remove unused StreamBufferAdapter Nick Fisher 2025-05-28 21:52:53 +08:00
  • 45c7831a17 replace libpng with stb_image for Image_decode Nick Fisher 2025-05-28 21:51:56 +08:00
  • fcf57e8850 fix missing return value in EntityManager_createEntity Nick Fisher 2025-05-28 21:48:24 +08:00
  • a875f370e5 remove logging Nick Fisher 2025-05-28 18:41:02 +08:00
  • b00f37ddaa (web) remove asTypedList from generated JS bindings (replaced by equivalent in js_interop.dart Nick Fisher 2025-05-28 11:21:48 +08:00
  • a98d7550ae (web) add asTypedList extension for Pointer<Float>/Float32List Nick Fisher 2025-05-28 10:49:44 +08:00
  • b12dc80cfd (flutter) (web) only set position/zIndex for canvas if createCanvas is true Nick Fisher 2025-05-28 10:48:39 +08:00
  • f7d6d4786a remove asset from internal list before destroying Nick Fisher 2025-05-28 10:48:10 +08:00
  • 5db9fe2c9e disable initial clear color (blue) for gl canvas on web Nick Fisher 2025-05-28 10:47:44 +08:00
  • d298b0d091 add decodeToTexture static helper method to Texture Nick Fisher 2025-05-28 10:47:21 +08:00
  • 4a7a366fc6 add setTransform/getWorldTransform to FilamentApp Nick Fisher 2025-05-28 10:47:00 +08:00
  • c6ceea4f8b update generated bindings Nick Fisher 2025-05-24 16:38:21 +08:00
  • 679af95901 allow directly creating an entity and setting transform Nick Fisher 2025-05-24 16:34:47 +08:00
  • 1e812ebe93 allow directly creating an entity and setting transform Nick Fisher 2025-05-24 16:33:58 +08:00
  • 75a9950909 update generated bindings Nick Fisher 2025-05-24 15:05:29 +08:00
  • 81fb0fb583 add setFogOptions Nick Fisher 2025-05-24 15:05:03 +08:00
  • 4d6c008299 regenerate JS bindings Nick Fisher 2025-05-24 10:54:49 +08:00
  • 4505cbe325 add missing setExposure methods + reinstate camera tests Nick Fisher 2025-05-24 10:51:56 +08:00
  • 60cfe32672 (CI) explicitly specify arm64 for runner Nick Fisher 2025-05-23 17:48:55 +08:00
  • 0decb6b9f1 upload build.log on test failure Nick Fisher 2025-05-23 17:41:51 +08:00
  • d799ef0ca0 comment out Dart action (needs software rasterizer or self-hosted runner with GPU) add basic flutter build for example projects Nick Fisher 2025-05-23 17:33:37 +08:00
  • 5a72bc835d use flutter pub get before attempting to run with dart Nick Fisher 2025-05-23 17:11:52 +08:00
  • 3e44716e8c try and use Dart path directly Nick Fisher 2025-05-23 17:09:51 +08:00
  • bf295394a8 try and use Dart path directly Nick Fisher 2025-05-23 17:06:45 +08:00
  • 64bc7f8bf3 update GitHub actions to use flutter action Nick Fisher 2025-05-23 17:03:07 +08:00
  • 63ba231996 update GitHub actions to remove upload logs step (unavailable on macos?) Nick Fisher 2025-05-23 16:59:28 +08:00
  • 562c221461 update GitHub actions to remove upload logs step (unavailable on macos?) Nick Fisher 2025-05-23 16:58:48 +08:00
  • f123bbf930 update GitHub actions Nick Fisher 2025-05-23 16:57:53 +08:00
  • 1765350cbe update GitHub actions to run tests on macos Nick Fisher 2025-05-23 16:50:13 +08:00
  • 94683ab5a9 (test) ensure aspect ratio is correctly set if viewport is not square Nick Fisher 2025-05-23 16:28:32 +08:00
  • 5a74345fe1 specify texture flags for render target in flutter Nick Fisher 2025-05-23 16:28:09 +08:00
  • 195a625738 when getMaterialInstance/setMaterialInstance are called, if entity is not renderable, return false if no entity is passed, iterate through all entities and use the first renderable entity Nick Fisher 2025-05-23 16:27:38 +08:00
  • 725f36a860 (test) use RGBA32F when creating render target in TestHelper Nick Fisher 2025-05-22 15:23:30 +08:00
  • 51212bdeed (test) cleanup imports Nick Fisher 2025-05-22 15:22:32 +08:00
  • 96694be017 remove register/unregister swapchain/view in TextureProjection since we are rendering each view separately, this is no longer necessary Nick Fisher 2025-05-22 15:22:15 +08:00
  • a31f11151e check for beginFrame returning false in project() and correctly calculate numChannels/channelSize Nick Fisher 2025-05-22 15:19:03 +08:00
  • 10136c8cde use flush() instead of directly calling executeRenderThread (wasm) or flushAndWait (native) Nick Fisher 2025-05-22 15:18:19 +08:00
  • c712804bb1 add createLight method to FilamentApp Nick Fisher 2025-05-22 15:09:36 +08:00
  • 1373ce5a32 use flush() instead of manually invoking different methods for wasm/native Nick Fisher 2025-05-22 15:08:29 +08:00
  • 1b3d46533c remove unnecessary import Nick Fisher 2025-05-22 15:08:02 +08:00
  • 5733bc125b add addEntity method to Scene Nick Fisher 2025-05-22 15:07:43 +08:00
  • 943de8f77b add createCamera method to FilamentApp Nick Fisher 2025-05-22 15:07:23 +08:00
  • 9a4fd1141e remove logging Nick Fisher 2025-05-22 15:06:27 +08:00
  • 2bf77f123f remove unused sampledDepth parameter from capture_uv material Nick Fisher 2025-05-22 15:03:52 +08:00
  • 9785576866 reinstate View tests Nick Fisher 2025-05-22 15:03:22 +08:00
  • 3007dec127 TextureProjection now makes a separate render pass for each View. This is needed because changing material properties between beginFrame/endFrame is unsupported Nick Fisher 2025-05-22 15:03:06 +08:00
  • 1008452198 (test) formatting Nick Fisher 2025-05-21 13:16:20 +08:00
  • 1f58c13179 (test) formatting Nick Fisher 2025-05-21 13:16:06 +08:00
  • 5ce2efa638 (web) remove console logging Nick Fisher 2025-05-21 13:15:43 +08:00
  • e75805ba06 change output dir for generated swift lib Nick Fisher 2025-05-21 13:15:14 +08:00