Commit Graph

2420 Commits

Author SHA1 Message Date
Sri Sham Haran 3a3f7efb29 [WIP] Transform Gizmo 2022-10-19 01:31:48 +08:00
Sri Sham Haran 96f5b29418 Serialization/Deserialization 2022-10-19 01:03:32 +08:00
Sri Sham Haran 2f429f33f8 Merge branch 'main' into SP3-8-serialization 2022-10-19 00:26:14 +08:00
Sri Sham Haran 0e6893840b Merge remote-tracking branch 'origin/SP3-8-serialization' into SP3-8-serialization 2022-10-19 00:17:03 +08:00
Kah Wei ceb4c6c4ca Added Range Attribute 2022-10-18 22:34:46 +08:00
XiaoQiDigipen 2623952d47
Merge pull request #95 from SHADE-DP/SP3-6-c-scripting
Added script inspector tooltips support via Tooltip attribute
2022-10-18 20:13:30 +08:00
Kah Wei 5727bf3905 Merge branch 'main' into SP3-6-c-scripting 2022-10-18 20:10:06 +08:00
Kah Wei 87cf3ffa61 Added script inspector tooltips support via Tooltip attribute 2022-10-18 20:09:50 +08:00
Sri Sham Haran b18d1f66ae Merge branch 'main' into SP3-8-serialization 2022-10-18 19:50:20 +08:00
Sri Sham Haran 82637b620d
Delete UserLayout.ini 2022-10-18 19:36:49 +08:00
XiaoQiDigipen 0a6f777c07
Merge pull request #94 from SHADE-DP/RenderingEditorVPIntegration
Viewport
Added viewport thing to editor.
and mouse picking
2022-10-18 19:20:08 +08:00
Sri Sham Haran da99a5559e Merge branch 'main' into RenderingEditorVPIntegration 2022-10-18 19:09:08 +08:00
Sri Sham Haran 15a17deaf0 select picked entity in hierarchy panel 2022-10-18 19:08:31 +08:00
Brandon Mak 9ce5a4a47b Mouse picking system now uses cursor returned from editor
- This new cursor position is relative to where the viewport is rendering
- Window resize callback in Graphics system now checks if editor is enabled before signaling for resize. This is because editor will handle the signaling for resizing when its enabled. When its disabled, the graphics system will signal itself to resize when the window resize callback is called.
2022-10-18 17:41:14 +08:00
Kah Wei a221cfc1cd Modified SHScriptEngine's serialization functions to take in EntityID instead of SHEntity 2022-10-18 17:25:45 +08:00
Brandon Mak 033ba48304 Editor changes to support viewport integration 2022-10-18 15:04:25 +08:00
Brandon Mak e76bc6ef58 World render graph now doesn't render to swapchain image.
world render graph now only renders to "Scene" resource.
Editor render graph renders to "Present" swapchain image.
Removed some unnecessary if statements slowing down the resizing
Printing for success also disabled for now
2022-10-18 02:41:27 +08:00
Brandon Mak 7b7533420e WIP 2022-10-18 01:12:03 +08:00
Sri Sham Haran ec6772657f Hierarchy QOL
Undo/Redo Parent Child
Shift select
Undo/Redo create entity
2022-10-17 21:25:59 +08:00
Brandon Mak 17b71393f3 Restructured abit 2022-10-17 16:50:53 +08:00
XiaoQiDigipen 86f4125100
Merge pull request #92 from SHADE-DP/SP3-13-Assets-Manager
SP3-13 Assets Management
Pushed functions to retrieve mesh and texture asset data
2022-10-17 15:05:14 +08:00
Xiao Qi 013bb71325 Functions to retrieve mesh and texture data 2022-10-17 15:04:38 +08:00
XiaoQiDigipen 161d33280a
Merge pull request #91 from SHADE-DP/SP3-13-Assets-Manager
SP3-13 Assets Management

Automatic loading of data with existing meta files
Asset meta file written into disk
Commented hardcoded asset loading lines
2022-10-16 23:16:55 +08:00
Xiao Qi b10f490e45 SP3-102 SP3-248 Saving of SHMETA files with asset IDs, retrieval of asset data under works, currently all assets are loaded into memory automatically 2022-10-16 23:15:11 +08:00
Brandon Mak 95ee4b7b55 Resize half working 2022-10-16 19:42:44 +08:00
Diren D Bharwani a481970e5f Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-16 19:16:02 +08:00
Sri Sham Haran 7fc417e35a Parent/child multiple entities (WIP) 2022-10-16 18:16:05 +08:00
Brandon Mak c16bea2d39 WIP 2022-10-16 17:35:15 +08:00
Brandon Mak 1117ecc5ef WIP 2022-10-16 17:31:53 +08:00
XiaoQiDigipen bda38049ea
Merge pull request #90 from SHADE-DP/SP3-1-Rendering
Support for docking (incomplete)
2022-10-16 16:38:30 +08:00
XiaoQiDigipen 0a042f3a3f
Merge pull request #89 from SHADE-DP/SP3-6-c-scripting
Added Input class for C#
2022-10-16 16:38:20 +08:00
Brandon Mak 0d02ece4c1 Wrote handle resize for mouse picking objects 2022-10-16 16:28:29 +08:00
Sri Sham Haran 7f2935dcf6 add window pos change for editor windows
add git ignore for user ini
2022-10-16 15:36:14 +08:00
Brandon Mak 2830dad8e3 Fixed Kai Wei's issues (sampler move ctor never move device :D) 2022-10-16 15:35:32 +08:00
Sri Sham Haran 228868604a Editor fixes
Integration of mouse pick
Add editor state
Add editor layout
2022-10-16 14:20:35 +08:00
Brandon Mak 808274fce0 Lots of changes
- World renderer graph add new resource for scene
- G-Buffer Write subpass now renders offscreen to a color attachment
- Added a new subpass "Scene layout transition" to get vulkan to help transition our scene image layout to shader read
- Added back SHEDITOR check
- Created a post offscreen render system to create the necessary objects
- SH_ATT_DESC_TYPE is now SH_ATT_DESC_TYPE_FLAGS. Render graph resources also now store a bit field instead of a single type.
- Render graph nodes now have more customization when it comes to registering resources. They now have the option to not clear resources on begin.
2022-10-16 14:16:14 +08:00
Kah Wei 3b3492843f Added input class 2022-10-16 03:25:33 +08:00
Brandon Mak 7005f4d839 Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-10-16 00:26:53 +08:00
Diren D Bharwani daa4b74c17 Merge branch 'main' into SP3-2-Physics 2022-10-14 17:05:14 +08:00
Sri Sham Haran a7ed10c0b4 Merge branch 'main' into SP3-8-serialization 2022-10-14 16:05:53 +08:00
XiaoQiDigipen c257842156
Merge pull request #88 from SHADE-DP/SP3-4-editor_fix
Collider Component Inspector, Editor routine

Added inpector view for collider component (WIP)
Converted Editor to SHSystem (i feel dirty now) so that it can have a routine
Converted Editor update to a SHSystemRoutine so that the routine can be sequenced between some graphics system routines.
2022-10-14 15:58:43 +08:00
Sri Sham Haran 22cad78728 Clean up 2022-10-14 15:53:29 +08:00
Sri Sham Haran 20cedbb4ec Merge branch 'main' into SP3-4-editor_fix 2022-10-14 15:53:12 +08:00
Sri Sham Haran 49575893fe Made Editor a system and create editor routine so that the editor routine will run between graphics routines 2022-10-14 15:39:43 +08:00
Sri Sham Haran e027318d22 Inspector View - Collider Component 2022-10-14 14:35:09 +08:00
XiaoQiDigipen 2ed2e04f83
Merge pull request #87 from SHADE-DP/SP3-1-Rendering
Mouse picking system for rendering side is in
2022-10-14 12:19:56 +08:00
Brandon Mak d6101c936e Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-10-14 11:53:06 +08:00
Brandon Mak faa55847cb Mouse picking is working from rendering side
- Buffer now has function to get data from mapped pointer if it exists
- Batches now also pass a buffer of EIDs to the GPU
- Global vertex attributes now have 1 extra instanced attribute for storing EntityIDs
- Render graph resources now have a usage flags on top of the usage flags calculated in the graph AddResource function. This is to tell vulkan that we want some resources to be copyable for example (EID render target copy to buffer).
-  Mouse pick system stores eid picked
2022-10-14 11:52:15 +08:00
XiaoQiDigipen ec99a6f0f9
Merge pull request #86 from SHADE-DP/SP3-10-input-management
Fixed timing of memcpy of keys to keysLast

This in turn fixes GetKeyDown() and GetKeyUp() as the input manager now knows changes of keys between the last frame and current frame.
2022-10-14 01:54:20 +08:00
Brandon Mak 682a5a6cbf bug fix 2022-10-14 00:10:56 +08:00