Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher ac86dc7ad7 refactoring 2025-03-19 16:02:43 +08:00
Nick Fisher e73cb9c7d6 refactor 2025-03-19 15:42:33 +08:00
Nick Fisher 102429e090 refactoring 2025-03-19 15:42:11 +08:00
Nick Fisher 627447f8b0 refactoring 2025-03-19 12:27:13 +08:00
Nick Fisher d5bffd5ad2 refactor 2025-03-18 23:15:13 +08:00
Nick Fisher 951f5daa2d more refactoring 2025-03-18 18:06:17 +08:00
Nick Fisher 77fe40848b refactoring 2025-03-18 16:26:47 +08:00
Nick Fisher 07b80071a4 add destroy methods for skybox/indirect light 2025-03-18 11:42:29 +08:00
Nick Fisher 03f7764da2 add bitmask to createTexture viewer method 2025-03-17 22:37:19 +08:00
Nick Fisher 231b03cd17 add indirect light methods 2025-03-17 22:36:53 +08:00
Nick Fisher b271b7e433 more render thread methods 2025-03-17 22:36:10 +08:00
Nick Fisher 746ef07e42 add FilamentAsset methods 2025-03-17 22:35:58 +08:00
Nick Fisher bff76f184e add gltfio FFI methods and expose texture/render target creation directly 2025-03-17 18:53:36 +08:00
Nick Fisher 2244359edd interm texture depth tests 2025-03-17 17:00:47 +08:00
Nick Fisher b94edf0951 Dart interface updates 2025-03-17 17:00:25 +08:00
Nick Fisher 988e22fe95 rename updateViewport -> setViewport 2025-03-17 16:59:57 +08:00
Nick Fisher 401048e6a8 allow creation/import of Metal depth texture 2025-03-17 16:59:35 +08:00
Nick Fisher 232289003e add generated Swift bindings 2025-03-17 16:59:03 +08:00
Nick Fisher e18d1246f6 ffigen: generate enums as int 2025-03-17 16:58:39 +08:00
Nick Fisher 95c9e5be66 misc C API updates 2025-03-17 16:58:24 +08:00
Nick Fisher e1203df087 add depth texture to createRenderTarget, set stencil disabled by default 2025-03-17 16:58:04 +08:00
Nick Fisher 09678c6cdc add more Dart-side Texture methods 2025-03-17 16:57:22 +08:00
Nick Fisher f2ce4a4044 add depth texture to render target creation 2025-03-17 16:56:17 +08:00
Nick Fisher c23b991c9c add Dart-side methods 2025-03-17 16:55:53 +08:00
Nick Fisher 4205b86f13 update generated Swift bindings 2025-03-17 16:55:28 +08:00
Nick Fisher d710ab810c expose more Texture/TextureSampler methods 2025-03-17 16:54:15 +08:00
Nick Fisher 4e5a9be97a add standalone SceneAsset_createGeometry method 2025-03-17 16:53:35 +08:00
Nick Fisher 342a53ae7b add View_setScene and rename View_updateViewport to View_setViewport 2025-03-17 16:53:06 +08:00
Nick Fisher a0e1971958 logging 2025-03-17 16:52:32 +08:00
Nick Fisher 74502ba5b3 add further TEngine methods 2025-03-17 16:52:05 +08:00
Nick Fisher 09b6aca08f move FFISwapChain to own file 2025-03-17 16:39:28 +08:00
Nick Fisher 03c4afb031 update API boundary types & enums 2025-03-17 16:39:13 +08:00
Nick Fisher f923b94b84 update Filament headers to v1.58.0 2025-03-17 16:38:52 +08:00
Nick Fisher 20ea43a809 add TScene 2025-03-17 16:38:30 +08:00
Nick Fisher 8b34934755 add TRenderer 2025-03-17 16:37:51 +08:00
Nick Fisher 5ad187d54f add various render thread methods 2025-03-17 16:35:45 +08:00
Nick Fisher 711abe11bd add Camera_lookAt 2025-03-17 16:34:34 +08:00
Nick Fisher a16c3c7580 add logging to setImage 2025-03-10 22:22:07 +08:00
Nick Fisher e1446c7eb8 more VDTM work 2025-03-10 22:21:25 +08:00
Nick Fisher 1f4af8c946 more VDTM work 2025-03-10 22:05:10 +08:00
Nick Fisher 75bee32e54 test fix 2025-03-10 18:11:23 +08:00
Nick Fisher 1d49db4767 3D texture tests 2025-03-10 18:06:27 +08:00
Nick Fisher d39b57f054 initial view-dependent texture projection material 2025-03-10 18:06:18 +08:00
Nick Fisher e91d1ca0aa support 3D texture/2D texture arrays 2025-03-10 18:05:42 +08:00
Nick Fisher 7d87d229d0 add texture projection material 2025-03-08 13:25:15 +08:00
Nick Fisher 7ed7ff48b9 always initialize uvScale to 1 2025-03-08 12:17:57 +08:00
Nick Fisher 9d311220b1 remove UV1 from geometry 2025-03-08 12:17:39 +08:00
Nick Fisher e4de0f3ae0 expose setParameterBool/hasParameter on material + instance 2025-03-08 12:17:06 +08:00
Nick Fisher 72711ee64f rename/update materials_and_textures sample project 2025-03-08 11:20:10 +08:00
Nick Fisher c52052c1b9 ensure any existing Viewers are destroyed on initialize() 2025-03-07 18:58:22 +08:00
Nick Fisher aa26f4d0df separate out RenderLoop/FilamentViewer construction/destruction 2025-03-07 18:53:36 +08:00
Nick Fisher be61d5e5ca move image from dev to package dependency 2025-03-07 14:53:38 +08:00
Nick Fisher 1a3d902d23 add image utils 2025-03-07 14:53:13 +08:00
Nick Fisher 35bddd2bb2 fix geometry normals/UVs 2025-03-07 14:53:02 +08:00
Nick Fisher 74ee35bfcd use render thread methods for Texture/Image/TextureSampler 2025-03-07 14:52:45 +08:00
Nick Fisher 2915655695 remove superseded destroyTexture method (call texture.dispose() instead) 2025-03-05 17:32:48 +08:00
Nick Fisher 5b80dd3a3d bounding box geometry doesn't cast/receive shadows 2025-03-05 14:57:20 +08:00
Nick Fisher 593bca3365 feat: expose setCastShadows/setReceiveShadows 2025-03-05 14:47:55 +08:00
Nick Fisher cca9fba79f add setImage method to set texture image directly from buffer 2025-03-04 18:17:17 +08:00
Nick Fisher a245cf2915 add bitmap conversion to utils 2025-03-04 18:16:49 +08:00
Nick Fisher 15134c335b hide Texture import inside ThermionTextureWidget to avoid clash 2025-03-04 18:16:36 +08:00
Nick Fisher 85215f6760 flip UV coords for capture material 2025-03-04 18:16:13 +08:00
Nick Fisher 9abb192148 add setImage method to set texture image directly from buffer 2025-03-04 18:15:54 +08:00
Nick Fisher f7fa02180a add bitmap conversion to utils 2025-03-04 18:15:30 +08:00
Nick Fisher fc7f5d7b93 create material for texture baking
textures can now be created manually and are no longer tracked by SceneManager (and therefore require manual tracking/disposal)
2025-03-04 14:52:48 +08:00
Nick Fisher 5dca42c3c1 remove unused postprocess material 2025-03-04 14:38:05 +08:00
Nick Fisher 665c2fb39d update projection test 2025-03-04 14:37:13 +08:00
Nick Fisher 3ac79b2080 initial projection material 2025-03-03 16:11:12 +08:00
Nick Fisher 8d52690c97 fix texture/material methods 2025-03-03 15:52:03 +08:00
Nick Fisher 2a8931e1ac add TTexture bindings with TextureFormat, PixelDataType and PixelDataFormat enums 2025-03-03 14:43:20 +08:00
Nick Fisher 94d77ff21b move Engine_ FFI methods to own header/source 2025-03-03 11:32:45 +08:00
Nick Fisher 7a707cda67 move Engine_ FFI methods to own header/source 2025-03-03 11:32:34 +08:00
Nick Fisher 8993d888b1 docstring 2025-03-01 17:23:06 +08:00
Nick Fisher ffc256228a add fps counters and headroom 2025-03-01 13:02:05 +08:00
Nick Fisher 1b1de0b7c0 add Filament version to README 2025-03-01 12:29:38 +08:00
Nick Fisher 4c1480864e remove thermion_flutter_ffi from thermion_flutter pubspec 2025-03-01 12:29:15 +08:00
Nick Fisher 06cc114daa add geometry_combined lib to libs 2025-03-01 12:28:35 +08:00
Nick Fisher 1258751dda update bindings 2025-03-01 12:00:03 +08:00
Nick Fisher 67ca24a7d9 remove old ThermionDartRenderThreadApi.h 2025-03-01 11:59:52 +08:00
Nick Fisher 282ee6d103 cherry pick changes onto ThermionDartRenderThreadApi.h 2025-03-01 11:59:36 +08:00
Nick Fisher bb5a8f495d enable GPU validation mode for camera_manipulation iOS project 2025-03-01 11:56:35 +08:00
Nick Fisher c400ca3993 rename Android project and disable impeller for camera_manipulation 2025-03-01 11:56:35 +08:00
Nick Fisher d7d7fa7c0b use scale directly for DelegateInputHandler 2025-03-01 11:56:34 +08:00
Nick Fisher c1be084e3e update generated bindings 2025-03-01 11:56:14 +08:00
Nick Fisher 178e59a618 add enabled/strength params for bloom 2025-03-01 11:55:48 +08:00
Nick Fisher 7fe9c06a7f change setBloom docstring 2025-03-01 11:54:54 +08:00
Nick Fisher 0f4531d3d7 add enabled/strength params to setBloom, add setRenderQuality method 2025-03-01 11:54:29 +08:00
Nick Fisher c5228dff7e add enabled/strength params to setBloom, add setRenderQuality method 2025-03-01 11:54:12 +08:00
Nick Fisher 7131e7ab86 add enabled/strength params for bloom 2025-03-01 11:53:40 +08:00
Nick Fisher 16ff7ef008 fix: rename msPerFrame property 2025-03-01 11:52:31 +08:00
Nick Fisher a178035796 internal: set dynamicResolution enabled by default, set frameInterval properly, set bloom disabled by default 2025-03-01 11:52:19 +08:00
Nick Fisher 61abed2fb7 internal: use msPerFrame to control render timing 2025-03-01 11:50:43 +08:00
Nick Fisher 30060578ef chore(release): publish packages
- thermion_dart@0.2.1-dev.20.0
 - thermion_flutter@0.2.1-dev.20.0
 - thermion_flutter_platform_interface@0.2.1-dev.20.0
 - thermion_flutter_ffi@0.2.1-dev.20.0
 - thermion_flutter_web@0.2.0+11
2025-03-01 11:50:41 +08:00
Nick Fisher 2c2beb0e76 internal: add missing Mutex.h header 2025-01-09 09:50:03 +08:00
Nick Fisher 2b864f6f44 example: fix android release build for camera_manipulation 2025-01-08 17:18:27 +08:00
Nick Fisher 0b1da2a15d feat!: use raw pointer scale (>1 meaning zoom in, <1 meaning zoom out) rather than binary -1/1 for DelegateInputHandler 2025-01-08 11:39:40 +08:00
Nick Fisher ad70ef1461 fix: only use Windows-style ndkRoot when building on Windows 2025-01-08 11:39:34 +08:00
Nick Fisher 6f110a56dd internal: add Gizmo material to Makefile 2025-01-08 09:35:27 +08:00
Nick Fisher 0e5253f7b3 internal: store bounding box with SceneAsset rather than recalculating from renderables 2025-01-07 12:02:44 +08:00
Nick Fisher 124eed0264 fix: don't return entity from SceneManager_addLightRenderThread 2025-01-07 08:43:36 +08:00