Commit Graph
100 Commits
Author SHA1 Message Date
Nick Fisher b8aab1d030 turn PP off by default 2024-03-07 17:16:03 +11:00
Nick Fisher a872cef436 initialize flutterTextureId to -1 2024-03-07 16:44:56 +11:00
Nick Fisher 59d6b17f63 remove duplicate ANGLE flutterTextureId 2024-03-07 16:44:27 +11:00
Nick Fisher 1fccaf1990 EGL logging 2024-03-07 16:44:03 +11:00
Nick Fisher c34a1b0370 remove duplicate sharedContext 2024-03-07 16:43:29 +11:00
Nick Fisher 34d5478beb disable postprocessing by default 2024-03-07 16:42:57 +11:00
Nick Fisher f0c48d7f0a cleanup EGL/D3D texture rendering 2024-03-07 12:19:01 +11:00
Nick Fisher 8ef166d9b8 move Flutter result checks to OpenGLTextureBuffer 2024-03-06 20:07:52 +11:00
Nick Fisher 89c7f7ddc3 hardcode frame interval to 1 2024-03-06 20:06:05 +11:00
Nick Fisher c797cfc3b7 don't unnecessarily repaint FilamentWidget 2024-03-06 19:28:53 +11:00
Nick Fisher 6e7e918125 only conditionally add WGL_USE_BACKING_WINDOW 2024-03-06 19:28:38 +11:00
Nick Fisher 150f409ae1 don't mark texture frame available when USE_BACKING_WINDOW is true 2024-03-06 19:28:14 +11:00
Nick Fisher 732a6d0527 reduce default Windows color/depth buffer to 24/16 2024-03-06 19:28:06 +11:00
Nick Fisher fda70fb6d1 use std::vector instead of dynamic array to stop MSVC complaining 2024-03-06 19:27:52 +11:00
Nick Fisher adfb607eb7 make all FFI calls async with completers 2024-03-05 13:51:57 +08:00
Nick Fisher 39fa9387e6 expose removeCollisionComponent 2024-03-05 10:30:42 +08:00
Nick Fisher 32fe5d9083 remove unused test linux file 2024-03-05 10:22:12 +08:00
Nick Fisher 246494404c explicitly include iomanip header for iOS build using dart native 2024-03-05 10:21:51 +08:00
Nick Fisher 0c9e051baf rename plugin files 2024-03-05 10:21:26 +08:00
Nick Fisher 5287c108f9 rename getMeshNames to getChildEntities 2024-03-04 21:43:56 +08:00
Nick Fisher e2a56f4136 fix bad copy-paste bug 2024-03-04 21:43:35 +08:00
Nick Fisher f80d92bf5b move pick to pointerdown for better latency 2024-03-04 15:41:35 +08:00
Nick Fisher 403ea40d09 resize fix 2024-03-04 15:41:11 +08:00
Nick Fisher d8ae4c0949 logging 2024-03-04 15:40:58 +08:00
Nick Fisher 61299e4587 add stopAnimationByName 2024-03-04 15:40:44 +08:00
Nick Fisher 1680573a1e hardcode 5ms window for rendering 2024-03-04 08:35:00 +08:00
Nick Fisher b8314dcdd8 logging 2024-03-04 08:32:52 +08:00
Nick Fisher 06d8df0394 expose addAnimationComponent and dont add by default on loadGlb 2024-03-04 08:32:38 +08:00
Nick Fisher 40ec8accf7 expose addAnimationComponent and dont add by default on loadGlb 2024-03-04 08:32:22 +08:00
Nick Fisher 6c6bcfe7a4 work 2024-03-01 22:48:39 +08:00
Nick Fisher 9295059885 namespace changes, setCameraRotation accepts quat, getMainCamera 2024-03-01 22:47:35 +08:00
Nick Fisher 6525dea6c2 namespace changes 2024-03-01 22:47:01 +08:00
Nick Fisher a3b67bef91 namespace changes 2024-03-01 22:46:53 +08:00
Nick Fisher 9b9a0b7ce5 split component managers 2024-03-01 22:46:23 +08:00
Nick Fisher 0970990061 update tests 2024-03-01 22:46:00 +08:00
Nick Fisher 131091c3e4 add C++ tests 2024-03-01 15:58:16 +08:00
Nick Fisher e40c0099b6 update compiled image material 2024-02-19 20:54:54 +08:00
Nick Fisher 8779619d23 update pubspec 2024-02-19 20:54:46 +08:00
Nick Fisher 58c7679857 restructure light slider widget 2024-02-19 20:54:37 +08:00
Nick Fisher 974f9ea9d9 press escape to stop capturing keyboard input 2024-02-19 20:54:11 +08:00
Nick Fisher 3d013dec54 update example project 2024-02-19 20:53:52 +08:00
Nick Fisher 106395e385 update CHANGELOG 2024-02-19 20:53:23 +08:00
Nick Fisher a5a1d2679e rename FilamentGestureDetector enabled flag 2024-02-18 21:50:04 +08:00
Nick Fisher 217626f434 remove openGlCompatibility key from MacOS cvPixelBuffer 2024-02-18 21:49:26 +08:00
Nick Fisher 65db2aa32e rename AssetManager to SceneManager 2024-02-18 21:48:50 +08:00
Nick Fisher a10fe6584d add testCollisions method for manual collision checking 2024-02-18 21:48:03 +08:00
Nick Fisher 6c37368aea add camera options widget 2024-02-18 21:46:06 +08:00
Nick Fisher 5e2946fe30 update generated bindings 2024-02-18 15:23:36 +08:00
Nick Fisher 8961f7ca8f use iOS 13.0 as min target 2024-02-18 15:23:19 +08:00
Nick Fisher 130ab8ea86 rename AssetManager to SceneManager, add camera FOV/antialiasing methods, do symmetric AABB checking for collisions 2024-02-18 15:23:04 +08:00
Nick Fisher 00803c35ab rename AssetManager to SceneManager, add camera FOV/antialiasing methods, do symmetric AABB checking for collisions 2024-02-18 15:22:47 +08:00
Nick Fisher 8107258a1e update image material 2024-02-16 20:37:07 +08:00
Nick Fisher 2ae3f8c466 rename (asset to entity) 2024-02-15 15:16:56 +08:00
Nick Fisher 935b876ce9 add flag for affectsCollidingTransform, add setParent method for transforms 2024-02-15 14:50:14 +08:00
Nick Fisher 023900bb99 use Timer in EntityControllerMouseWidget for pointer hover 2024-02-15 13:47:59 +08:00
Nick Fisher aba9d8e6a6 update example project 2024-02-15 13:47:31 +08:00
Nick Fisher da123d6274 update example project 2024-02-15 13:47:22 +08:00
Nick Fisher 0b315f3dfe bump Dart SDK version for NativeCallable 2024-02-15 13:45:51 +08:00
Nick Fisher 73c039b413 differentiate between setPosition/queuePositionUpdate (+rotate), use EntityId in collision callback, fix collisions + add skiing effect 2024-02-15 13:45:09 +08:00
Nick Fisher 5d1eccacac add StandardComponents for collision 2024-02-14 10:49:12 +08:00
Nick Fisher 4913956b3e add createGeometry 2024-02-14 10:48:56 +08:00
Nick Fisher 5ab257cd15 merge macos debug libs 2024-02-13 16:25:12 +08:00
Nick Fisher 1638599078 support collisions & restructure transforms to only update once per frame 2024-02-13 13:31:18 +08:00
Nick Fisher 6561af6825 change transform order for relative setPosition to SRT 2024-02-05 08:43:54 +08:00
Nick Fisher 48a1c6dc0b use decompose/composeMatrix for transforms and add mouse controls for rotation 2024-02-03 14:11:02 +08:00
Nick Fisher 63a52025dd support relative setPosition, add hardware keyboard listener + control, log FPS 2024-02-03 11:56:06 +08:00
Nick Fisher 0d9cf8a9ff merge in work on controller from webjs branch 2024-02-02 18:17:40 +08:00
Nick Fisher 17e4014b3e merge in changes from web/js branch by hand (bone animation updates) 2024-02-02 17:16:25 +08:00
Nick Fisher d2fc342bea update pubspec.lock 2023-12-18 12:11:18 +08:00
Nick Fisher 3e368e1a31 expose getters for near/far culling distance and clean up example project for more readability on frustum 2023-12-17 15:17:17 +08:00
Nick Fisher 8c3d113ab4 Merge branch 'develop' of github.com:nmfisher/polyvox_filament into develop 2023-12-17 13:11:40 +08:00
Nick Fisher b899ce544e don't invalidate iterator before changing non-deleted asset indices 2023-12-17 13:11:16 +08:00
Nick Fisher 8dcad76acf Windows MSVC fixes 2023-12-16 11:34:33 +11:00
Nick Fisher de3cc00059 update example project 2023-12-15 23:39:56 +08:00
Nick Fisher f5244975df fix incorrect/premature destruction of entities 2023-12-15 23:38:38 +08:00
Nick Fisher 59d0e64d04 add timer to FFI render loop 2023-12-15 22:30:24 +08:00
Nick Fisher b2d7cfc4df add explicit bone animation to sample project 2023-12-15 22:30:06 +08:00
Nick Fisher 8fb7b9aa16 clean up macos warnings 2023-11-20 23:00:46 +08:00
Nick Fisher 0474e0305e clean up unused variables 2023-11-20 23:00:14 +08:00
Nick Fisher 660395a40e enable setting output directory for recording 2023-11-20 22:59:50 +08:00
Nick Fisher 5c1be3d047 add option to record to PNGs (inc background threadpool for encoding) 2023-11-20 15:28:55 +08:00
Nick Fisher a96309bd77 remove sandbox from example macOS runner 2023-11-20 15:26:27 +08:00
Nick Fisher df63d1f270 documentation 2023-11-20 15:26:08 +08:00
Nick Fisher a24f56b31a restructure render loop to correct timings and expose FFI methods for setBoneTransform/setMorphWeights 2023-11-20 11:35:50 +08:00
Nick Fisher f0683b0b24 remove morph animation FFI-specific methods (regular methods are OK to use outside the engine thread) 2023-11-19 18:12:38 +08:00
Nick Fisher ad9e4689b1 update example project 2023-11-18 13:35:10 +08:00
Nick Fisher 5638eca20c allow setting animations for multiple targets 2023-11-18 13:34:50 +08:00
Nick Fisher fff6eae2f8 allow setting animations for multiple targets 2023-11-18 13:34:25 +08:00
Nick Fisher 28bbc42e14 use correct bone transform for animation + setter 2023-11-18 13:33:54 +08:00
Nick Fisher 0c698d16e3 use boneName instead of boneIndex for setBoneTransform 2023-11-18 00:28:31 +08:00
Nick Fisher 572a945025 add support for multiple bone animations using quaternions 2023-11-17 23:44:30 +08:00
Nick Fisher f5d5a36f22 add setBoneTransform method 2023-11-17 16:40:17 +08:00
Nick Fisher daf319bf2c FilamentWidget resizing fixes 2023-11-16 12:17:55 +08:00
Nick Fisher e67d4d7e1f fix incorrect pixelDeviceRatio 2023-11-16 12:09:50 +08:00
Nick Fisher f2a458b9ca add setCameraCulling method to set near/far culling plane and return vector_math:Frustum from planes returned by get_camera_frustum 2023-11-09 15:08:34 +08:00
Nick Fisher 76f723c497 Makefile/README updates 2023-11-09 12:24:22 +08:00
Nick Fisher a1f2b245ff move Makefile to macos folder and update instructions 2023-11-09 12:12:04 +08:00
Nick Fisher 395de95d37 more methods for projection/culling projection matrices & frustum 2023-11-09 11:41:40 +08:00
Nick Fisher e1141098d0 example project fixes 2023-11-09 11:22:56 +08:00
Nick Fisher 2db353cc3b add getCameraFrustum() and getCameraProjectionMatrix() 2023-11-08 20:30:14 +08:00