Commit Graph

123 Commits

Author SHA1 Message Date
Nick Fisher
246494404c explicitly include iomanip header for iOS build using dart native 2024-03-05 10:21:51 +08:00
Nick Fisher
b8314dcdd8 logging 2024-03-04 08:32:52 +08:00
Nick Fisher
6c6bcfe7a4 work 2024-03-01 22:48:39 +08:00
Nick Fisher
a10fe6584d add testCollisions method for manual collision checking 2024-02-18 21:48:03 +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
2ae3f8c466 rename (asset to entity) 2024-02-15 15:16:56 +08:00
Nick Fisher
4913956b3e add createGeometry 2024-02-14 10:48:56 +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
63a52025dd support relative setPosition, add hardware keyboard listener + control, log FPS 2024-02-03 11:56:06 +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
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
8dcad76acf Windows MSVC fixes 2023-12-16 11:34:33 +11: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
a24f56b31a restructure render loop to correct timings and expose FFI methods for setBoneTransform/setMorphWeights 2023-11-20 11:35: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
395de95d37 more methods for projection/culling projection matrices & frustum 2023-11-09 11:41:40 +08:00
Nick Fisher
2db353cc3b add getCameraFrustum() and getCameraProjectionMatrix() 2023-11-08 20:30:14 +08:00
Nick Fisher
48be185bba start using menu for example project & add methods for getting camera model/view matrices 2023-11-03 22:17:39 +08:00
Nick Fisher
58a9542121 add model/view matrix getters & manipulator options 2023-11-03 15:20:15 +08:00
Nick Fisher
2fd6f44785 fixes for window resizing on Windows 2023-10-26 02:10:22 +11:00
Nick Fisher
34542a29ca add flushAndWait call to destroySwapChain 2023-10-23 01:33:47 +11:00
Nick Fisher
5fdb420f30 remove logging 2023-10-11 17:16:51 +11:00
Nick Fisher
b7f50df2dc camera fixes for assets with large bounding boxes 2023-10-11 14:12:04 +08:00
Nick Fisher
98bcf5d7ad implement picker/getNameForEntity 2023-10-11 11:10:47 +08:00
Nick Fisher
45576466c9 allow passing uberarchive path to FilamentViewer and expose destroy_viewer 2023-10-04 14:49:48 +08:00
Nick Fisher
c1f8eae85e add toggle for postprocessing and minor cleanup work 2023-10-03 22:04:37 +08:00
Nick Fisher
eeac96a396 more logging and fix return values when setting camera to asset camera 2023-10-03 21:29:34 +08:00
Nick Fisher
4492a9fa8f fix ResourceBuffer going out of scope before texture callbacks 2023-10-03 12:46:14 +11:00
Nick Fisher
690c94adb5 fix freeing resources in async callbacks 2023-10-03 00:20:53 +08:00
Nick Fisher
0be2bce764 add win32 ifdef to pragma 2023-10-01 16:18:39 +08:00
Nick Fisher
313baef727 merge in Windows support 2023-09-30 16:54:20 +10:00
Nick Fisher
e8ba136863 more FFI work 2023-09-29 17:58:12 +08:00
Nick Fisher
a6506e6346 initial work to re-implement FFI with background thread render loop 2023-09-29 13:54:04 +08:00
Nick Fisher
fd843147ad add missing method handlers on Windows and use 32bit depth buffer for render target by default 2023-09-28 10:46:20 +10:00
Nick Fisher
074f9e05f2 merge 2023-09-27 16:23:46 +10:00
Nick Fisher
908c76d6c3 make iOS/MacOS consistent re moveCameraToBoundingBox 2023-09-27 14:21:31 +08:00
Nick Fisher
b7b2aebf28 merge moveCameraToAsset changes 2023-09-27 16:10:10 +10:00
Nick Fisher
32049876b4 initial work on custom Platform to wrap EGL D3D surface 2023-09-27 16:03:50 +10:00
Nick Fisher
c27ca565f9 more D3D interop work 2023-09-26 15:14:17 +10:00
Nick Fisher
833022e4e0 add moveCameraToAsset 2023-09-25 22:30:07 +08:00
Nick Fisher
744fedb8d9 windows working (SLOW) with pixel buffer copy 2023-09-25 21:53:42 +10:00
Nick Fisher
609e349d58 first pass Windows support 2023-09-23 15:27:09 +10:00
Nick Fisher
9f1aa84664 remove old methods, rename surface to window and use window properly if not nullptr 2023-09-22 08:19:19 +08:00
Nick Fisher
f72ffd6c6a add fillHeight option to setBackgroundImage 2023-09-15 13:00:58 +08:00
Nick Fisher
01928da3e6 logging 2023-09-14 13:38:57 +08:00
Nick Fisher
c47bdf4bf1 update iOS FilamentViewer to match new API 2023-09-14 09:49:58 +08:00
Nick Fisher
e1edb6299a add setBloom method 2023-08-24 09:36:30 +08:00
Nick Fisher
482666da31 expose setToneMapping method 2023-08-24 09:29:16 +08:00
Nick Fisher
d08b0f2488 Linux fixes for v1.41.0 2023-08-21 02:03:18 +08:00