Commit Graph

828 Commits

Author SHA1 Message Date
Kah Wei 97432b8666 Accounted for updating collider storage when a collider is removed 2022-10-27 12:46:42 +08:00
Kah Wei d45d621701 Collider now will have it's sub collider list updated based on events 2022-10-27 12:32:06 +08:00
Kah Wei cd04132fd7 Merge branch 'main' into SP3-6-c-scripting 2022-10-27 11:41:14 +08:00
XiaoQiDigipen 41ef49a8d3
Merge pull request #122 from SHADE-DP/SP3-141-Camera-System
Sp3 141 camera system

Fixed weird camera movement,
Added clamping for camera pitch.
Added RTTR reflection for camera.
Editor inspector now draws camera component.
2022-10-27 10:39:33 +08:00
maverickdgg dee4e9acbd Fixed RTTR registration. Added back Camera Clamp 2022-10-27 10:33:54 +08:00
Kah Wei d2c7630af4 Merge branch 'main' into SP3-6-c-scripting 2022-10-27 10:12:52 +08:00
maverickdgg 0c2d020f89 Merge branch 'main' into SP3-141-Camera-System 2022-10-27 09:26:53 +08:00
maverickdgg 012070ba6d Added RTTR registration 2022-10-27 09:26:49 +08:00
Sri Sham Haran a854a50fb2 Fix error from shader graph preventing compilation on main 2022-10-27 09:22:42 +08:00
maverickdgg d8086edbe2 Merge branch 'main' into SP3-141-Camera-System 2022-10-27 08:55:06 +08:00
XiaoQiDigipen 6189768e6f
Merge pull request #121 from SHADE-DP/SP3-2-Physics
SP3-2 Fixed another physics bug & added Collider Add/Remove events

[NEW]

Added events when adding/removing colliders
[BUGFIX]

Multiple colliders are now properly deleted.
2022-10-26 18:44:07 +08:00
Diren D Bharwani 19ceab84df Added events for adding and removing colliders 2022-10-26 18:35:41 +08:00
Diren D Bharwani 12758878c5 Fixed bug with multiple collider removals 2022-10-26 16:55:28 +08:00
XiaoQiDigipen 29dccf77b3
Merge pull request #120 from SHADE-DP/SP3-2-Physics
SP3-2 Physics Bugfixes
NEW

Forces can be added to the rigid body.
BUGFIXES

Rigidbody transforms can be modified while the editor is in play.
Deleting a rigid body no longer causes a crash (please let me know if it does happen again and how to replicate it)
Deleting a collider actually gets rid of the collider
On editor stop, forces and velocities are cleared from rigid bodies.
2022-10-26 16:40:31 +08:00
Diren D Bharwani 4f28161e45 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-26 16:30:36 +08:00
Diren D Bharwani 58491fcbff Fixed physics bugs
1. Colliders are now properly deleted along with its component.
2. Forces and velocities are reset on stop.
2022-10-26 16:17:22 +08:00
Sri Sham Haran 7c0bcd8a3e
Delete UserLayout.ini
@Xenosas1337 stop pushing this please
2022-10-26 16:09:54 +08:00
XiaoQiDigipen b49bfa4a25
Merge pull request #119 from SHADE-DP/SP3-1-Rendering
Lighting WIP. Some bug fixes.
2022-10-26 15:36:13 +08:00
Brandon Mak 43ea33cabf Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-10-26 15:26:41 +08:00
Brandon Mak 5637fb707f Tested light component. Values reflected in renderdoc correctly
- Added pure copy compute shader (used instead of kirsch)
- Created sparse set for lights
- Note that while the instanced attribute contains both EID and layer light index and in the future potentially more, the objects still write to a uint framebuffer. 
- Light layer index is in a different frame buffer than the eid one.
- Updated shaders to accommodate light layer index.
2022-10-26 02:14:43 +08:00
Diren D Bharwani 7ba02aeb0f Removed unused functions, fixed RigidBody 2022-10-26 01:46:13 +08:00
Diren D Bharwani fbb613b859 m dumb. it work. 2022-10-26 01:16:49 +08:00
Brandon Mak 4b7a837469 Fixed some bugs in render graph
- Changed the eid buffer for instanced rendering to a vec2 (potentially vec3 or 4), to pass other types of data like light layer index. 
- Renamed some render graph nodes and subpasses. Added a dummy render pass to transition the scene to read only optimal.
- offscreen buffer resource now transitions to eShaderReadOnlyOptimal instead of eGeneral
2022-10-26 01:08:02 +08:00
Brandon Mak 5016600397 Lights WIP 2022-10-25 23:39:35 +08:00
Diren D Bharwani 0defa58c77 Physics Component Synchronisation is now done through events 2022-10-25 23:09:46 +08:00
Diren D Bharwani 3c5a1b73d6 Fixed bug with destroying a rigidbody component 2022-10-25 22:26:07 +08:00
Diren D Bharwani 024ad44e84 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-25 22:14:04 +08:00
Diren D Bharwani 388795a2db Transform Components are Enforced through the editor for certain components 2022-10-25 22:13:27 +08:00
XiaoQiDigipen a1b0e95123
Merge pull request #118 from SHADE-DP/SP3-4-editor_fix
Asset Browser Ver. 0 and New default layout
Editor widget tweaks
Anything else i added i cant rmb
2022-10-25 21:04:35 +08:00
Sri Sham Haran 534aeba06b Latest Default Layout 2022-10-25 20:59:32 +08:00
Sri Sham Haran 6d9a8e484c Asset browser 2022-10-25 20:55:46 +08:00
Brandon Mak 0395df5c63 Lights WIP (bug fixes) 2022-10-25 19:59:16 +08:00
Sri Sham Haran 393422a0a3 Merge branch 'main' into SP3-4-editor_fix 2022-10-25 19:48:08 +08:00
Glence d1d64ec167 added tooltips for the rest of the widgets 2022-10-25 18:48:45 +08:00
XiaoQiDigipen 3486da7a7a
Merge pull request #117 from SHADE-DP/Fix-SamplerCrash
Added proper deletion of VKSamplers
2022-10-25 17:42:29 +08:00
Kah Wei 416c571fd2 Added proper deletion of VKSamplers 2022-10-25 17:40:13 +08:00
maverickdgg 53fc0c970c Added a DegreesToRadians when setting rotation of camera comp 2022-10-25 17:30:11 +08:00
Sri Sham Haran 0acd6a99a4 Tweaks to editor widgets 2022-10-25 17:08:15 +08:00
Kah Wei 3bdc48260f Improved CallbackEvent inspector 2022-10-25 16:55:50 +08:00
Diren D Bharwani f04ff595c4 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-25 16:37:59 +08:00
Kah Wei 73a85e4aab Merge branch 'main' into SP3-6-c-scripting
# Conflicts:
#	SHADE_Managed/src/Utility/Convert.cxx
#	SHADE_Managed/src/Utility/Convert.hxx
2022-10-25 15:56:11 +08:00
XiaoQiDigipen 82f9499f5d
Merge pull request #116 from SHADE-DP/EditorConfig
Added .editorconfig to enforce 2-spacing indentation
2022-10-25 15:42:31 +08:00
Kah Wei da167ec3a5 Added .editorconfig to enforce 2-spacing indentation 2022-10-25 15:39:18 +08:00
Diren D Bharwani 9a6fa32a32 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-25 15:21:37 +08:00
XiaoQiDigipen 7c35d2955b
Merge pull request #115 from SHADE-DP/Fix-IncorrectMDI
Fixed instanced rendering the wrong number of instances
2022-10-25 15:20:50 +08:00
Kah Wei 9f98bed4d1 Fixed batching renedering the wrong number of instances 2022-10-25 15:11:01 +08:00
Sri Sham Haran dfdd477a37 Merge branch 'main' into SP3-4-editor_fix 2022-10-25 15:10:20 +08:00
XiaoQiDigipen be9f55ec6b
Merge pull request #114 from SHADE-DP/Fix-RenderableDeleteCrash
Fixed deletion crash caused by Renderables
Can delete after merge.
2022-10-25 14:43:35 +08:00
Kah Wei b059385c8b Merge branch 'main' into Fix-RenderableDeleteCrash 2022-10-25 14:33:03 +08:00
Kah Wei c2e51dc603 Fixed deletion crash caused by Renderables 2022-10-25 14:31:28 +08:00