Commit Graph

1886 Commits

Author SHA1 Message Date
mushgunAX 7dbd0b93b3 Minor comment fix 2023-01-08 21:39:48 +08:00
mushgunAX 4123e76a7d Checking Input Binding I/O 2023-01-08 21:36:19 +08:00
mushgunAX 92a7555370 Merge branch 'main' into SP3-10-input-management 2023-01-08 21:05:18 +08:00
mushgunAX baaeb9ee10 Input Binding File I/O 2023-01-08 21:05:09 +08:00
XiaoQiDigipen f120f365eb
Merge pull request #302 from SHADE-DP/SP3-1-DebugDraw
Added support for debug drawing wireframe capsules
2023-01-08 12:20:11 +08:00
Kah Wei 686e141efa Fixed comment for SHPrimitiveGenerator::LineCapsuleCap 2023-01-08 01:46:52 +08:00
Kah Wei f44e7b7a1c Debug draw capsule now works with different orientations 2023-01-08 01:43:40 +08:00
Kah Wei 5c5ff38b49 Merge branch 'main' into SP3-1-DebugDraw 2023-01-08 01:07:15 +08:00
Kah Wei 98bfbc1048 Added DrawWireCapsule for debug draw (doesn't support orientation changes yet) 2023-01-08 01:06:50 +08:00
Brandon Mak 1a0edf30d7 Will update commit message tomorrow. Fuck Vulkan. *KW in BG: DiReCtX* 2023-01-07 22:40:29 +08:00
Brandon Mak 77a5829fc9 Shadows WIP 2023-01-07 17:45:49 +08:00
SHAM-DP f726592557 Popup window base & popup management
Added Scene save prompt popup (WIP)
2023-01-07 17:34:07 +08:00
XiaoQiDigipen 83eb3fffcd
Merge pull request #301 from SHADE-DP/SP3-16-Math
Added rotate method with quaternions for Vector3
2023-01-07 16:18:36 +08:00
Diren D Bharwani 222bda9a13 Replaced Transform's Forward.get with new rotate method 2023-01-07 16:16:35 +08:00
Diren D Bharwani c3582cf5ee Added a rotate method with quaternions for Vector3 2023-01-07 16:14:55 +08:00
Diren D Bharwani 8914dea574 Merge remote-tracking branch 'origin/main' into SP3-16-Math 2023-01-07 16:01:03 +08:00
Brandon Mak 8bb406e17f Shadows WIP
- new subpass generated for shadow maps now use light's renderer
- Added support to pass in custom binding and location for vertex attributes
- SHLightingSubSystem GetViewMatrix uses SHMatrix::LookAtLH but with hard-coded values for now. This will eventually be replaced with real position and target values
- Created new shadow map rendering vertex input state.
2023-01-07 15:27:08 +08:00
SHAM-DP 1188c61c7d Filter WIP (Need to optimize the search first) 2023-01-07 15:25:50 +08:00
Brandon Mak 3e01c9e80a shadows WIP 2023-01-07 12:01:09 +08:00
Brandon Mak d3cd36984d Shadow map WIP 2023-01-07 07:42:42 +08:00
Brandon Mak 19f9b67550 Shadow map WIP
- Added companion subpass object to subpass
- Lighting sub system updates a light's renderer when it is a valid handle
- Light component's renderer will be created in the graphics system event when a light's shadow is enabled
2023-01-06 10:40:19 +08:00
Brandon Mak db87bea002 Added pre compute functions for render graph node compute 2023-01-04 09:58:29 +08:00
XiaoQiDigipen 75f4490409
Merge pull request #300 from SHADE-DP/SP3-4-Editor
Added Copy/Paste of component values, scene name display, editor config
2023-01-04 01:01:34 +08:00
Brandon Mak 87b2103f6e Shadows WIP 2023-01-03 22:05:36 +08:00
Sri Sham Haran 562c9e2064 Merge branch 'main' into SP3-4-Editor 2023-01-03 20:29:09 +08:00
Brandon Mak b771cdbfc6 Added barrier for shadow maps 2023-01-03 07:41:37 +08:00
Brandon Mak ef8867a7a5 Shadows WIP 2023-01-02 22:16:35 +08:00
Brandon Mak 7f8dc2b647 Added constants for render graph node names
- Fleshed out event function to add resource and subpass to shadow map render graph node when shadow is turned on
- Added support for linking resources and subpasses to render graph at runtime
2023-01-02 18:24:29 +08:00
Brandon Mak 03becd8e47 Removing resources now remove subpasses and computes involved
- Added an empty node in the render graph for shadow mapping
2023-01-01 13:59:10 +08:00
XiaoQiDigipen a6a0e1588b
Merge pull request #299 from SHADE-DP/SP3-6-c-scripting
Added scripting quality of life features
2023-01-01 12:37:09 +08:00
XiaoQiDigipen 1590982507
Merge pull request #298 from SHADE-DP/SP3-10-input-management
Fixed and Enhanced Input Binding Management
2023-01-01 12:35:49 +08:00
XiaoQiDigipen 3ddf0c39d5
Merge pull request #297 from SHADE-DP/SP3-1-Rendering
Refactored Graphics
2023-01-01 12:35:09 +08:00
Brandon Mak d7754e125d Wrote remove resource for render graph (untested) 2023-01-01 12:02:51 +08:00
Kah Wei fee2cdd8bf Merge branch 'main' into SP3-6-c-scripting 2022-12-31 18:32:41 +08:00
Kah Wei dcf7a65cac Added launching of Visual Studio by double clicking on a script file 2022-12-31 00:21:00 +08:00
mushgunAX 0e417fa7d6 Merge branch 'main' into SP3-10-input-management 2022-12-30 21:58:11 +08:00
mushgunAX fed7f340cd Add Binding Parameters 2022-12-30 21:57:59 +08:00
Kah Wei 8db5b35f25 Added additional file utilities, PowerShell based execution of commands and tools for working with visual studio 2022-12-30 17:02:09 +08:00
mushgunAX 472f52af89 Should be finished for now, final checks to do 2022-12-30 15:56:36 +08:00
Brandon Mak 118ad33109 Got rid of SHEnumWrapper 2022-12-30 15:54:45 +08:00
Kah Wei 2e8535d3cf Fixed script building causing a freeze 2022-12-30 15:43:54 +08:00
Kah Wei ce16ca6f8d Exposed transform and MDI buffers in SHBatch and exposed Batches in SHSuperBatch 2022-12-30 15:29:17 +08:00
Kah Wei 2f5d855fc6 Added stub for SHVSUtiltiies 2022-12-29 23:46:44 +08:00
Kah Wei abf9c6b813 Refactored SHExecUtilities to return additional data 2022-12-29 23:46:27 +08:00
SHAM-DP 2037aab3df Added current scenename display
Cleaned up menu bar
2022-12-29 15:31:27 +08:00
Brandon Mak 8e2c32d110 Graphics refactor more or less tested and working
- Descriptors sets are now independent from a set index. Camera matrices for example can be bound to set index 1 for the batching system but index 2 for compute shaders.
- Truly global descriptors sets (misc data, textures and light data) are now manually bound to a global static class that allows retrieval of these sets to be bound whenever in the middle end. 
- Predefined descriptor set layouts (but not truly global such as camera data, materials and font) have their layouts predefined in a class and used for descriptor set initialization within the middle end. The sets themselves are allocated using these layouts (also accessible globally). 
- Descriptor sets that are more flexible with their bindings such as render graph resources are introspected from shaders and not predefined at all (though their types are recorded in SHGraphicsPredefinedData to avoid magic numbers when binding descriptor sets in some systems).
- Systems now have fixed mappings for descriptors used in shaders and these are defined in SHGraphicsPredefinedData. Batching for example has 3 fixed descriptors: Static global bound at 0, camera data bound at 1, materials bound at 2.
- Viewports no longer contain renderers and renderers no longer contain render graphs. The graphics system only has 1 render graph and subpasses can have both viewports and renderers bound to them to have options for viewport/scissor and camera settings. 
- Light data is now bound before every compute system.
- There is only 1 render graph in the entire system and contains only 6 nodes: G-Buffer pass (with lighting compute pass), debug draw with depth, debug draw, screen space pass, dummy pass for transition to input attachment for imGui and lastly the imGui pass for rendering editor to swapchain.
2022-12-29 14:29:25 +08:00
SHAM-DP 17b9520fff Fixed bug where all components are serialized for any entity even if it does not have the component(s)
Hierarchy Controls are no longer disabled when it is not in focus
2022-12-28 22:05:06 +08:00
SHAM-DP 16d34c6478 Added Copy/Paste of Component Values
- Command should fail if deserialization fails
2022-12-28 21:23:34 +08:00
Brandon Mak 99e7dbfa01 WIP 2022-12-28 20:47:20 +08:00
SHAM-DP 51c9058ab8 Window now maximized by default
Application now loads working scene if run with editor
Added editor config to save:
- Window size
- Window Maximized
- Working Scene
- Editor Style
2022-12-28 17:21:08 +08:00