f57a323cda
feat: (flutter) (web) if importCanvasAsWidget is false, render transparency
Nick Fisher
2024-09-05 17:52:19 +08:00
03ffe85113
chore: stub ThermionWidget methods
Nick Fisher
2024-09-05 17:51:36 +08:00
4edc8aa85b
feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI
Nick Fisher
2024-09-05 17:51:22 +08:00
04ecb4d56f
fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class
Nick Fisher
2024-09-05 17:49:02 +08:00
0ac0a92024
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
Nick Fisher
2024-09-05 17:47:54 +08:00
ae1e14ddb7
feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated
Nick Fisher
2024-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 Fisher
2024-09-05 17:45:49 +08:00
d4350d7d99
test: update viewport gizmo test
Nick Fisher
2024-09-05 17:44:18 +08:00
f07fe6084a
chore: (flutter) export platform interface from thermion_flutter package
Nick Fisher
2024-09-05 17:43:58 +08:00
4e29055a20
chore: stub new methods
Nick Fisher
2024-09-05 17:43:35 +08:00
6d0c06a853
doc: pixelRatio
Nick Fisher
2024-09-05 17:43:19 +08:00
abe6e1fcb8
feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture
Nick Fisher
2024-09-05 17:43:04 +08:00
683105c4f7
fix: emscripten export visibility for add_light
Nick Fisher
2024-09-05 17:42:17 +08:00
6f2331582c
chore: use float instead of float32_t in FilamentViewer
Nick Fisher
2024-09-05 17:41:55 +08:00
f0f97e310c
chore: add nested PickCallbackHandler to Gizmo
Nick Fisher
2024-09-05 17:41:24 +08:00
2331f2c31a
chore: update Makefile to add missing headers to resgen files
Nick Fisher
2024-08-27 21:51:29 +08:00
704b7f6734
fix: (flutter/web) use window.devicePixelRatio for viewport
Nick Fisher
2024-08-27 21:51:09 +08:00
7ac7ae43ab
fix: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy
Nick Fisher
2024-08-27 21:50:07 +08:00
d52b23d6b5
fix: (flutter) desktop gesture detector changes for new Gizmo methods
Nick Fisher
2024-08-27 21:49:28 +08:00
8b17916cd9
chore: Dart Gizmo class cleanup
Nick Fisher
2024-08-27 21:49:04 +08:00
4a0f4e3ac8
feat: add setGizmoVisibility/pickGizmo methods to ThermionViewer
Nick Fisher
2024-08-27 21:48:27 +08:00
85116f43a2
feat: remove gizmo view references, exclude gizmo entities from picking, add createIbl
Nick Fisher
2024-08-27 21:47:56 +08:00
3ecb8920ea
feat: createIbl
Nick Fisher
2024-08-27 21:47:02 +08:00
8923d97129
chore: init SceneManager pointers to nullptr
Nick Fisher
2024-08-27 21:46:47 +08:00
375e1cc887
fix: add more nan checks for gizmo manipulation
Nick Fisher
2024-08-27 21:46:21 +08:00
78dcbc8bb9
feat: expose API methods for create_ibl, pick/set gizmo visibility
Nick Fisher
2024-08-27 21:45:49 +08:00
a3f7b98bf7
feat: create transparent overlay for gizmo for easier picking
Nick Fisher
2024-08-27 21:45:19 +08:00
12b61e8767
feat: rescale gizmo based on distance from camera
Nick Fisher
2024-08-27 16:54:40 +08:00
0e3b014c2c
feat: rescale gizmo based on distance from camera
Nick Fisher
2024-08-27 16:50:54 +08:00
10db8c39f3
fix: add check for nan NDC coordinates for viewport translation
Nick Fisher
2024-08-25 21:54:08 +08:00
371bcb3706
fix stub methods
Nick Fisher
2024-08-24 16:28:12 +08:00
714c575409
add implementations to JS bridge/shim classes
Nick Fisher
2024-08-24 16:26:05 +08:00
c0941e3b7f
add missing methods to wasm viewer
Nick Fisher
2024-08-24 16:25:37 +08:00
026acb7467
feat: highlight gizmo on hover
Nick Fisher
2024-08-24 16:25:17 +08:00
3c05cc6a43
add implementations to FFI viewer
Nick Fisher
2024-08-24 16:24:59 +08:00
f1a2926bdf
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:24:06 +08:00
88e8a138ac
(flutter) (web) initialize viewer to 1x1 then resize on createTexture
Nick Fisher
2024-08-24 16:23:54 +08:00
53d0301828
feat!: (flutter) (web) upgrade package:web dep to 1.0.0
Nick Fisher
2024-08-24 16:23:00 +08:00
b10fec1963
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:22:31 +08:00
08e1eb7778
feat: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView
Nick Fisher
2024-08-24 16:22:12 +08:00
d6713c090c
stub out new methods
Nick Fisher
2024-08-24 16:21:35 +08:00
497ecbf881
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:20:06 +08:00
6f7d03737e
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:19:50 +08:00
ad60c6bbe1
chore: update bindings
Nick Fisher
2024-08-24 16:19:07 +08:00
92fdda722b
chore: add viewport test
Nick Fisher
2024-08-24 16:18:53 +08:00
3cc876f972
feat: layers, grid
Nick Fisher
2024-08-24 16:18:23 +08:00
7d1e706045
feat: layers, grid
Nick Fisher
2024-08-24 16:18:12 +08:00
11756fcedd
feat: ignore grid overlay and gizmo center when picking, implement highlighting
Nick Fisher
2024-08-24 16:17:34 +08:00
c08611b2c3
feat: expose set_layer_enabled, get_camera_fov and queue_relative_position_updateg_world_axis to ThermionDartApi.h
Nick Fisher
2024-08-24 16:02:06 +08:00
f87f89427d
feat: add getCameraFov to FilamentViewer
Nick Fisher
2024-08-24 16:01:03 +08:00
c3319ebbf3
feat: add new grid overlay files to web CmakeLists
Nick Fisher
2024-08-24 16:00:15 +08:00
f7b765c5d0
chore: rebuild materials
Nick Fisher
2024-08-24 15:59:55 +08:00
9512b74008
fix: update material output path in Makefile
Nick Fisher
2024-08-24 15:59:36 +08:00
5a3517f953
add grid overlay
Nick Fisher
2024-08-24 15:59:04 +08:00
731c4981c9
use inactive/active color gizmo
Nick Fisher
2024-08-24 15:58:49 +08:00
8f20a8a859
chore: don't use shader to overlay gizmo
Nick Fisher
2024-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 Fisher
2024-08-22 18:04:06 +08:00
98c3676fdf
fix: (web) add emscripten guards for flushAndWait call when swapchain destroyed
Nick Fisher
2024-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 Fisher
2024-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 Fisher
2024-08-21 14:33:48 +08:00
300396b97e
feat: (web) allow table growth in emscripten module for passing C-style callback function pointers
Nick Fisher
2024-08-21 14:30:17 +08:00
1d8faa70a1
feat: (web) add capture() method and missing camera navigation controls
Nick Fisher
2024-08-21 14:29:40 +08:00
1051b1bb0e
feat!: resize canvas on web
Nick Fisher
2024-08-17 11:43:43 +08:00
c367824041
feat!: update web/http dependencies
Nick Fisher
2024-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 Fisher
2024-08-17 11:42:25 +08:00
16c6203b97
feat: add startOffset parameter to gltf playAnimation
Nick Fisher
2024-07-29 16:13:45 +08:00
3e1d785f58
Merge pull request #65 from nmfisher/develop
Nick Fisher
2024-07-23 09:41:23 +08:00