118 Commits

Author SHA1 Message Date
burkkyy b5d28ce3eb math.hpp added 2026-09-24 23:00:02 -07:00
burkkyy ae8db07d6f Simplified handles 2026-09-23 23:24:23 -07:00
burkkyy 97267f1a26 stuff 2026-09-24 05:31:38 +00:00
burkkyy 6a50cdb4e8 Formatting 2026-09-23 00:42:47 -07:00
burkkyy a98eac3dc7 laptop changes 2026-09-23 04:20:43 +00:00
burkkyy 39253771f1 starting scene renderer stuff 2026-09-21 11:34:29 -07:00
burkkyy ce54f2ffcc PM stuff 2026-09-21 01:33:39 -07:00
burkkyy 72e4ae79e2 gitea issue helper 2026-09-21 01:30:21 -07:00
burkkyy 4d037e1250 moving stuff around 2026-09-21 01:15:58 -07:00
burkkyy 650b4d813f moving files to better dirs 2026-09-21 01:10:13 -07:00
burkkyy 8fbabda095 Render Graph concept started! 2026-09-21 01:03:16 -07:00
burkkyy 2569eff130 changes 2026-09-21 00:30:11 -07:00
burkkyy f3c0f61eb1 Big changes 2026-09-21 00:26:50 -07:00
burkkyy 16f7bb7da3 Upgrading pool pattern 2026-09-20 20:52:09 -07:00
burkkyy fe40d4a629 Simply 2026-09-20 18:58:51 -07:00
burkkyy 5e1caabde6 Add offscreen render targets and rename AssetRegistry to ResourceRegistry
Add a RenderTarget resource so the scene can render offscreen instead of
straight to the swapchain. The editor uses it to show the scene inside the
Viewport panel.

- Rename AssetRegistry to ResourceRegistry (AssetTraits -> ResourceTraits,
  assets() -> resources()) and move the pools from engine/src/assets to
  engine/src/resources. It now covers non-asset GPU resources as well.
- Replace loadMesh() with create<T>(...), and add create<RenderTarget>(),
  requestResize(), getExtent() and isAlive().
- Add RenderTarget and RenderTargetPool with RenderTargetHandle.
  Resizes are deferred and applied at the start of the next frame, when the
  GPU is idle.
- Add Application::setSceneTarget(). With no target set, the scene still
  renders to the swapchain. With a target set, the scene renders offscreen
  and the swapchain receives only the UI. Frame extent and camera projection
  follow the target's size.
- Add sophia::UI (Application::ui()) with image() and getTextureId() to draw
  a render target in an ImGui window, sizing the target to the available
  space. ImGuiRenderer now registers the target textures for this.
- ViewportPanel takes the UI and a target, and draws the scene image in place
  of the flat background fill.
- Update the testbed, the boids example, and the glossary for the rename.
2026-09-20 16:21:22 -07:00
burkkyy 1485ce01f3 Merge pull request 'Supporting setting panel layout' (#7) from issue-5/support-default-editor-panel-layout-and-locked-panels into main
Reviewed-on: #7
2026-09-19 22:44:30 -07:00
burkkyy 625ed87538 Removing comment 2026-09-19 22:43:30 -07:00
burkkyy 98b3d4a552 Formatting 2026-09-19 22:40:26 -07:00
burkkyy 0e26ccae98 Removed comment 2026-09-19 22:38:47 -07:00
burkkyy 7d9633fb33 Formatting 2026-09-19 22:36:50 -07:00
burkkyy 7837acdf92 removing comments 2026-09-19 22:36:24 -07:00
burkkyy f814ad969f making config editable 2026-09-19 21:13:41 -07:00
burkkyy da6bda7ca7 Supporting setting panel layout 2026-09-19 19:41:39 -07:00
burkkyy ace69f613e Merge pull request 'Made console command registry a better usage pattern' (#4) from dev into main
Reviewed-on: #4
2026-09-19 00:57:44 -07:00
burkkyy e72ada5b40 branch-from command 2026-09-19 00:56:40 -07:00
burkkyy dffb7b7972 Changes:
- editor project
- build system fixes
- dummy data editor panels mock
2026-09-16 02:28:42 -07:00
burkkyy 169ff4a277 Made console command registry a better usage pattern 2026-09-16 01:59:34 -07:00
burkkyy 8824f64225 Merge pull request 'Huge changes' (#3) from dev into main
Reviewed-on: #3
2026-09-15 02:36:50 -07:00
burkkyy a6b98e0613 Added console concept 2026-09-15 02:36:23 -07:00
burkkyy b16507c61d application updated 2026-09-15 02:28:28 -07:00
burkkyy 1229f5c017 test bed testing debugUI 2026-09-15 02:24:44 -07:00
burkkyy 34faf8b61e glossary 2026-09-15 02:24:17 -07:00
burkkyy c97db37b31 mesh pool 2026-09-15 02:23:41 -07:00
burkkyy 05fe3c2ee8 changes for ImGui 2026-09-15 02:23:22 -07:00
burkkyy 12a1e6eca9 AssetRegistry and small changes 2026-09-15 02:20:38 -07:00
burkkyy 6e2c6c0fc5 2d boids example done 2026-09-13 00:52:08 -07:00
burkkyy 4190ff847b asset_manager concept 2026-09-09 11:36:07 -07:00
burkkyy 9aef3f57fc SOPHIA_ASSERT 2026-09-09 02:02:03 -07:00
burkkyy 73d2121bc1 renamed model to mesh 2026-09-08 22:48:59 -07:00
burkkyy c211fffda1 helper to open renderdoc 2026-09-07 00:09:06 -07:00
burkkyy dc8b363354 Big application changes 2026-09-06 23:41:40 -07:00
burkkyy d9a5cf6cae Updates 2026-09-06 23:41:20 -07:00
burkkyy b6a2d5bf11 Updates 2026-09-06 23:40:49 -07:00
burkkyy 9b1e7d56a3 Updates 2026-09-06 23:40:27 -07:00
burkkyy dc40e973d3 testbed update + triangle example new pattern 2026-09-06 23:39:17 -07:00
burkkyy 69ea48ad22 removing unused renderer class 2026-09-06 22:50:25 -07:00
burkkyy 34f03444b4 removed render triangle test 2026-09-06 22:49:49 -07:00
burkkyy e40b660cb2 Adding entt to cmake 2026-09-06 22:48:29 -07:00
burkkyy db488a5981 removing device builder 2026-09-06 22:48:21 -07:00