0f5b90998e
test: update viewport gizmo test
Nick Fisher
2024-09-05 17:44:18 +08:00
8963b79db0
chore: (flutter) export platform interface from thermion_flutter package
Nick Fisher
2024-09-05 17:43:58 +08:00
dc0a698330
chore: stub new methods
Nick Fisher
2024-09-05 17:43:35 +08:00
6e54ed096f
doc: pixelRatio
Nick Fisher
2024-09-05 17:43:19 +08:00
a552c11983
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
1bdf6888c6
fix: emscripten export visibility for add_light
Nick Fisher
2024-09-05 17:42:17 +08:00
f69fcbb783
chore: use float instead of float32_t in FilamentViewer
Nick Fisher
2024-09-05 17:41:55 +08:00
6771431038
chore: add nested PickCallbackHandler to Gizmo
Nick Fisher
2024-09-05 17:41:24 +08:00
712568d118
chore: update Makefile to add missing headers to resgen files
Nick Fisher
2024-08-27 21:51:29 +08:00
4916c4cc50
fix: (flutter/web) use window.devicePixelRatio for viewport
Nick Fisher
2024-08-27 21:51:09 +08:00
8ed26c72e2
fix: (wasm) use correct coords for pick, free memory correctly, keep pixelratio copy
Nick Fisher
2024-08-27 21:50:07 +08:00
919010235c
fix: (flutter) desktop gesture detector changes for new Gizmo methods
Nick Fisher
2024-08-27 21:49:28 +08:00
580d795054
chore: Dart Gizmo class cleanup
Nick Fisher
2024-08-27 21:49:04 +08:00
329193f2f2
feat: add setGizmoVisibility/pickGizmo methods to ThermionViewer
Nick Fisher
2024-08-27 21:48:27 +08:00
b20acaec6f
feat: remove gizmo view references, exclude gizmo entities from picking, add createIbl
Nick Fisher
2024-08-27 21:47:56 +08:00
516d420a1e
feat: createIbl
Nick Fisher
2024-08-27 21:47:02 +08:00
b92b34a8ad
chore: init SceneManager pointers to nullptr
Nick Fisher
2024-08-27 21:46:47 +08:00
7d7596bbdd
fix: add more nan checks for gizmo manipulation
Nick Fisher
2024-08-27 21:46:21 +08:00
acac2dba90
feat: expose API methods for create_ibl, pick/set gizmo visibility
Nick Fisher
2024-08-27 21:45:49 +08:00
727ac7d9df
feat: create transparent overlay for gizmo for easier picking
Nick Fisher
2024-08-27 21:45:19 +08:00
2fc54ae343
feat: rescale gizmo based on distance from camera
Nick Fisher
2024-08-27 16:54:40 +08:00
e04cd0488e
feat: rescale gizmo based on distance from camera
Nick Fisher
2024-08-27 16:50:54 +08:00
f867e21647
fix: add check for nan NDC coordinates for viewport translation
Nick Fisher
2024-08-25 21:54:08 +08:00
ec27935d81
fix stub methods
Nick Fisher
2024-08-24 16:28:12 +08:00
08ae0387a9
add implementations to JS bridge/shim classes
Nick Fisher
2024-08-24 16:26:05 +08:00
ca69c783d3
add missing methods to wasm viewer
Nick Fisher
2024-08-24 16:25:37 +08:00
12198dd6df
feat: highlight gizmo on hover
Nick Fisher
2024-08-24 16:25:17 +08:00
d1fbbe1167
add implementations to FFI viewer
Nick Fisher
2024-08-24 16:24:59 +08:00
65e79b0d07
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:24:06 +08:00
9fb9df1843
(flutter) (web) initialize viewer to 1x1 then resize on createTexture
Nick Fisher
2024-08-24 16:23:54 +08:00
b15166a599
feat!: (flutter) (web) upgrade package:web dep to 1.0.0
Nick Fisher
2024-08-24 16:23:00 +08:00
bf81dfe806
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:22:31 +08:00
f588b3b6e7
feat: expose setLayerEnabled, viewportDimensions and getCameraFov on ThermionView
Nick Fisher
2024-08-24 16:22:12 +08:00
c29db74b1d
stub out new methods
Nick Fisher
2024-08-24 16:21:35 +08:00
213fc3da91
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:20:06 +08:00
ab4f721914
fix!: (flutter) pass pixelRatio to createTexture
Nick Fisher
2024-08-24 16:19:50 +08:00
8ac9876ec3
chore: update bindings
Nick Fisher
2024-08-24 16:19:07 +08:00
4fbc113fcb
chore: add viewport test
Nick Fisher
2024-08-24 16:18:53 +08:00
4d3d744cd6
feat: layers, grid
Nick Fisher
2024-08-24 16:18:23 +08:00
21416fa8c8
feat: layers, grid
Nick Fisher
2024-08-24 16:18:12 +08:00
f2f973bf00
feat: ignore grid overlay and gizmo center when picking, implement highlighting
Nick Fisher
2024-08-24 16:17:34 +08:00
ebac947c92
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
ce85a9d0b1
feat: add getCameraFov to FilamentViewer
Nick Fisher
2024-08-24 16:01:03 +08:00
f114ca33d5
feat: add new grid overlay files to web CmakeLists
Nick Fisher
2024-08-24 16:00:15 +08:00
850628f7f6
chore: rebuild materials
Nick Fisher
2024-08-24 15:59:55 +08:00
8681d58ffb
fix: update material output path in Makefile
Nick Fisher
2024-08-24 15:59:36 +08:00
8f2cd5a353
add grid overlay
Nick Fisher
2024-08-24 15:59:04 +08:00
f6f12e2566
use inactive/active color gizmo
Nick Fisher
2024-08-24 15:58:49 +08:00
3512ed6da3
chore: don't use shader to overlay gizmo
Nick Fisher
2024-08-24 15:21:36 +08:00
4a29a77a78
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
aa17962936
fix: (web) add emscripten guards for flushAndWait call when swapchain destroyed
Nick Fisher
2024-08-21 17:18:37 +08:00
10cab8dcb4
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
0a720fae72
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
0153b5be22
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
479a9ead03
feat: (web) add capture() method and missing camera navigation controls
Nick Fisher
2024-08-21 14:29:40 +08:00
b207a48175
feat!: resize canvas on web
Nick Fisher
2024-08-17 11:43:43 +08:00
9e3311c6f9
feat!: update web/http dependencies
Nick Fisher
2024-08-17 11:43:03 +08:00
88257c7e03
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
a30e2f295f
feat: add startOffset parameter to gltf playAnimation
Nick Fisher
2024-07-29 16:13:45 +08:00
96ad9dee18
chore(release): publish packages
Nick Fisher
2024-07-23 09:40:05 +08:00
8800195c2c
chore: remove top-level .gitattributes
Nick Fisher
2024-10-23 14:41:21 +08:00
74b7c938a8
feat: set SCALE2:InputAction.ZOOM by default
Nick Fisher
2024-10-23 14:36:47 +08:00
3dcacfe631
doc: update camera_manipulation example project and docs
Nick Fisher
2024-10-23 14:36:26 +08:00
bf02406bf4
doc: add camera_manipulation example project
Nick Fisher
2024-10-23 14:11:48 +08:00
4371dbda3c
feat: track zoom delta for DelegateInputHandler
Nick Fisher
2024-10-23 14:10:41 +08:00
c6640cef96
feat: set InputType.SCALE1 to ROTATE by default for DelegateInputHandler.fixedOrbit
Nick Fisher
2024-10-23 14:03:47 +08:00
e235d22c7c
chore: add quickstart .metadata
Nick Fisher
2024-10-22 23:43:05 +08:00
512d74568a
chore: test cleanup
Nick Fisher
2024-10-23 16:43:17 +11:00
617c2ba578
chore: test cleanup
Nick Fisher
2024-10-23 16:43:02 +11:00
5476c6248c
chore: test cleanup
Nick Fisher
2024-10-23 16:42:33 +11:00
916366bd10
doc: add BUILDING.md with Windows instructions
Nick Fisher
2024-10-23 16:42:09 +11:00
5e66893719
chore!: View.getCamera returns Future<Camera>
Nick Fisher
2024-10-23 16:41:51 +11:00
16964b4987
fix:move createUnlitMaterialInstance and createGeometry to render thread
Nick Fisher
2024-10-23 16:40:55 +11:00
73846ffa9b
feat: produce debug symbols on Windows
Nick Fisher
2024-10-23 16:40:30 +11:00
d5824239f5
fix:move createUnlitMaterialInstance and createGeometry to render thread
Nick Fisher
2024-10-23 16:39:42 +11:00
c4270fc918
fix:move createUnlitMaterialInstance and createGeometry to render thread
Nick Fisher
2024-10-23 16:38:23 +11:00
a29a1605a7
chore: rename SceneManager* methods
Nick Fisher
2024-10-23 16:28:42 +11:00
22868a594f
fix: dont calculate surface orientation for non-triangle geometry
Nick Fisher
2024-10-23 16:28:00 +11:00
aed64a27e8
chore: test cleanup
Nick Fisher
2024-10-23 15:11:33 +11:00
2b338a63ba
cleanup tests
Nick Fisher
2024-10-23 15:08:14 +11:00
cda4027f83
fix!: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation
Nick Fisher
2024-10-23 15:02:28 +11:00
7814269e15
Create dart.yml
Nick Fisher
2024-10-23 14:35:44 +11:00
e2175db7cb
fix!: add meshoptimizer lib on Windows
Nick Fisher
2024-10-23 14:16:03 +11:00
f1828b0c92
fix!: Dart-only release mode builds on Window
Nick Fisher
2024-10-23 14:15:41 +11:00
5cf9fab4f2
fix: fix all Windows warnings so apps will compile with /WX
Nick Fisher
2024-10-23 02:41:16 +11:00