4edc8aa85b
feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI
Nick Fisher2024-09-05 17:51:22 +08:00
04ecb4d56f
fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class
Nick Fisher2024-09-05 17:49:02 +08:00
0ac0a92024
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
Nick Fisher2024-09-05 17:47:54 +08:00
ae1e14ddb7
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
Nick Fisher2024-09-05 17:47:41 +08:00
aa246ab63a
feat: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset
Nick Fisher2024-09-05 17:45:49 +08:00
abe6e1fcb8
feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture
Nick Fisher2024-09-05 17:43:04 +08:00
683105c4f7
fix: emscripten export visibility for add_light
Nick Fisher2024-09-05 17:42:17 +08:00
6f2331582c
chore: use float instead of float32_t in FilamentViewer
Nick Fisher2024-09-05 17:41:55 +08:00
f0f97e310c
chore: add nested PickCallbackHandler to Gizmo
Nick Fisher2024-09-05 17:41:24 +08:00
2331f2c31a
chore: update Makefile to add missing headers to resgen files
Nick Fisher2024-08-27 21:51:29 +08:00
704b7f6734
fix: (flutter/web) use window.devicePixelRatio for viewport
Nick Fisher2024-08-27 21:51:09 +08:00
7ac7ae43ab
fix: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy
Nick Fisher2024-08-27 21:50:07 +08:00
d52b23d6b5
fix: (flutter) desktop gesture detector changes for new Gizmo methods
Nick Fisher2024-08-27 21:49:28 +08:00
c08611b2c3
feat: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h
Nick Fisher2024-08-24 16:02:06 +08:00
f87f89427d
feat: add getCameraFov to FilamentViewer
Nick Fisher2024-08-24 16:01:03 +08:00
c3319ebbf3
feat: add new grid overlay files to web CmakeLists
Nick Fisher2024-08-24 16:00:15 +08:00
8f20a8a859
chore: don't use shader to overlay gizmo
Nick Fisher2024-08-24 15:21:36 +08:00
7693a0fe14
feat: re-implement (native) Gizmo class, expose preserveScaling parameter for setParent, add methods for getting viewport bounding box from renderable entity
Nick Fisher2024-08-22 18:04:06 +08:00
98c3676fdf
fix: (web) add emscripten guards for flushAndWait call when swapchain destroyed
Nick Fisher2024-08-21 17:18:37 +08:00
d7664a9746
feat!: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML)
Nick Fisher2024-08-21 17:17:58 +08:00
d868fd6970
feat: add capture() function and expose viewportDimensions on ThermionViewer (allows easier saving of captured images to PNG)
Nick Fisher2024-08-21 14:33:48 +08:00
300396b97e
feat: (web) allow table growth in emscripten module for passing C-style callback function pointers
Nick Fisher2024-08-21 14:30:17 +08:00
1d8faa70a1
feat: (web) add capture() method and missing camera navigation controls
Nick Fisher2024-08-21 14:29:40 +08:00
c367824041
feat!: update web/http dependencies
Nick Fisher2024-08-17 11:43:03 +08:00
81cedf0d43
feat: download WASM module directly on web (no need to embed in index.html any more) and expose updateViewportAndCameraProjection
Nick Fisher2024-08-17 11:42:25 +08:00
16c6203b97
feat: add startOffset parameter to gltf playAnimation
Nick Fisher2024-07-29 16:13:45 +08:00