Nick Fisher
|
d7debf981c
|
Merge branch 'master' into develop
|
2024-10-25 14:15:51 +11:00 |
|
Nick Fisher
|
06b20ec6fc
|
fix: properly pass through loadResourcesAsync flag for loadGlbFromBuffer
|
2024-10-25 10:37:34 +08:00 |
|
Nick Fisher
|
f65324e555
|
chore: cleanup LFS
|
2024-10-23 15:17:25 +08:00 |
|
Nick Fisher
|
16964b4987
|
fix:move createUnlitMaterialInstance and createGeometry to render thread
|
2024-10-23 16:40:55 +11:00 |
|
Nick Fisher
|
c4270fc918
|
fix:move createUnlitMaterialInstance and createGeometry to render thread
|
2024-10-23 16:38:23 +11:00 |
|
Nick Fisher
|
a29a1605a7
|
chore: rename SceneManager* methods
|
2024-10-23 16:28:42 +11:00 |
|
Nick Fisher
|
22868a594f
|
fix: dont calculate surface orientation for non-triangle geometry
|
2024-10-23 16:28:00 +11:00 |
|
Nick Fisher
|
cda4027f83
|
fix!: (windows) add flushAndWait call to capture() to prevent stalling on Windows; use provided buffer as pixelBuffer rather than duplicate allocation
|
2024-10-23 15:02:28 +11:00 |
|
Nick Fisher
|
e2175db7cb
|
fix!: add meshoptimizer lib on Windows
|
2024-10-23 14:16:03 +11:00 |
|
Nick Fisher
|
8b7c2aa48d
|
fix: set render target to null for each view and then destroy render targets when viewer disposed
|
2024-10-22 12:42:50 +08:00 |
|
Nick Fisher
|
9bec96f160
|
chore: rename Viewer_destroyOnRenderThread method and cleanup unused SwapChain parameter in render threa
|
2024-10-22 12:42:19 +08:00 |
|
Nick Fisher
|
a6f5e59cbb
|
fix: move ThermionWin32.h to include
|
2024-10-14 09:36:28 +08:00 |
|
Nick Fisher
|
f9468db266
|
Windows embedder fixes
|
2024-10-14 11:23:56 +11:00 |
|
Nick Fisher
|
0ec0fef8f3
|
move standalone Windows file to extras
|
2024-10-12 14:55:41 +11:00 |
|
Nick Fisher
|
a348562f56
|
cleanup
|
2024-10-12 14:36:51 +11:00 |
|
Nick Fisher
|
392a606bbc
|
don't call endFrame() if no views were rendered
|
2024-10-12 14:36:05 +11:00 |
|
Nick Fisher
|
440bed4485
|
add files to run standalone Windows
|
2024-10-12 14:34:42 +11:00 |
|
Nick Fisher
|
a321966e5b
|
fix Windows build.dart to avoid native_assets fork; add implementations for ThermionFlutterWindows
|
2024-10-12 02:14:37 +11:00 |
|
Nick Fisher
|
646f05933d
|
use condition_variable for render thread requestFrame as well as tasks
|
2024-10-10 20:43:04 +08:00 |
|
Nick Fisher
|
95a44936ac
|
add option for async loading glTF resources
|
2024-10-10 14:58:09 +08:00 |
|
Nick Fisher
|
9deafc7371
|
return View when picking, use uint32_t for morphIndices
|
2024-10-10 08:42:16 +08:00 |
|
Nick Fisher
|
c1af7e374d
|
set bloom enabled by default, but 0 strength
|
2024-10-10 08:39:48 +08:00 |
|
Nick Fisher
|
562ecf2ee5
|
feat: camera and resizing improvements
|
2024-10-02 16:47:55 +08:00 |
|
Nick Fisher
|
d294938a2c
|
chore: remove EMSCRIPTEN ifdefs in *RenderThread methods (no longer used)
|
2024-09-30 18:24:05 +08:00 |
|
Nick Fisher
|
027cf23069
|
chore: cleanup
|
2024-09-30 18:20:30 +08:00 |
|
Nick Fisher
|
c4598637bb
|
feat: support multiple ThermionWidget on Android
|
2024-09-30 18:20:05 +08:00 |
|
Nick Fisher
|
8a94b6a334
|
feat: use imported texture on iOS
|
2024-09-30 14:51:11 +08:00 |
|
Nick Fisher
|
c80c163212
|
feat: working implementation of multiple widgets on macos
|
2024-09-30 13:45:57 +08:00 |
|
Nick Fisher
|
921a994eb6
|
refactor: continual refactor to support multiple render targets
|
2024-09-28 18:28:05 +08:00 |
|
Nick Fisher
|
65e60da288
|
chore: upgrade Swift interop gen
|
2024-09-28 17:59:05 +08:00 |
|
Nick Fisher
|
661185083e
|
chore: refactoring and cleanup for Gizmo
|
2024-09-28 13:24:28 +08:00 |
|
Nick Fisher
|
a2a26555e2
|
feat: more work on multiple views/swapchains
|
2024-09-28 11:19:06 +08:00 |
|
Nick Fisher
|
7f11250b79
|
refactor!: refactor to support multiple Views/Render Targets
|
2024-09-27 23:16:01 +08:00 |
|
Nick Fisher
|
a6d2f2ecf9
|
feat!: big refactor to support multiple swapchains
|
2024-09-27 18:39:20 +08:00 |
|
Nick Fisher
|
399d447eec
|
chore: don't keep superfluous handle to rtDepth and rtColor
|
2024-09-27 16:40:30 +08:00 |
|
Nick Fisher
|
95b378348c
|
refactor!: remove RenderThread methods no longer needed
|
2024-09-27 15:11:47 +08:00 |
|
Nick Fisher
|
1309bf7c6e
|
fix!: replace queuePosition/Rotation with queueTransforms
|
2024-09-27 15:10:13 +08:00 |
|
Nick Fisher
|
2531b507b0
|
fix!: replace queuePosition/Rotation with queueTransforms
|
2024-09-27 15:09:49 +08:00 |
|
Nick Fisher
|
16dc0419e2
|
feat: add uvScale to unlit material
|
2024-09-27 15:08:30 +08:00 |
|
Nick Fisher
|
035ad48fe4
|
feat!: set baseColorIndex to -1 by default in unlit materialss
|
2024-09-27 15:06:32 +08:00 |
|
Nick Fisher
|
a2d3c1d73e
|
chore: getter for native camera view matrix
|
2024-09-26 18:49:32 +08:00 |
|
Nick Fisher
|
1a721deee6
|
more camera work
|
2024-09-26 18:41:34 +08:00 |
|
Nick Fisher
|
4355d9c83f
|
more camera work
|
2024-09-26 16:51:14 +08:00 |
|
Nick Fisher
|
7ecf414a47
|
feat: set camera model matrix directly
|
2024-09-26 15:52:50 +08:00 |
|
Nick Fisher
|
a2684ae47d
|
renaming/refactoring and allow creating new cameras
|
2024-09-25 23:56:25 +08:00 |
|
Nick Fisher
|
2b1339b560
|
feat: expose more camera methods
|
2024-09-25 23:09:27 +08:00 |
|
Nick Fisher
|
65e99b9212
|
set clearOptions to true
|
2024-09-23 13:51:18 +08:00 |
|
Nick Fisher
|
e83193ba0d
|
introduce stronger native typing, camera projection/culling methods, update tests
|
2024-09-21 11:36:41 +08:00 |
|
Nick Fisher
|
57872d2e40
|
rename from *FFI to *RenderThread, return bool from render() to check frame timings, update render loop to wait on condition variable, add requestFrame() method
|
2024-09-21 10:21:46 +08:00 |
|
Nick Fisher
|
ddbb4ec5c6
|
rename CameraPtr to TCamera and use named arguments for setCameraLensProjection
|
2024-09-20 18:31:20 +08:00 |
|