Commit Graph

792 Commits

Author SHA1 Message Date
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
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
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
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
Sri Sham Haran 0acd6a99a4 Tweaks to editor widgets 2022-10-25 17:08:15 +08:00
Diren D Bharwani f04ff595c4 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-25 16:37:59 +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
XiaoQiDigipen e384a520ef
Merge pull request #113 from SHADE-DP/SP3-16-Math
SP3-16 Updated SHADE Managed Math & Transform

NEW

Quaternions in SHADE Managed
UPDATES

All Math in managed are using floats instead of doubles
Managed Transform Components store Rotations as Quaternions. Euler angles are stored separately.
2022-10-25 14:09:06 +08:00
Diren D Bharwani ff025f212c Added Euler Angles properties to Managed Transforms 2022-10-24 22:41:36 +08:00
Diren D Bharwani 24c591ec27 Modified Managed Transform Interface to use Quaternions 2022-10-24 20:07:59 +08:00
Sri Sham Haran 26eb4ad18c Fix command registrations and mouse pick polling when using transform gizmo 2022-10-24 16:18:18 +08:00
Diren D Bharwani 7643ca4289 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-10-24 02:46:08 +08:00
Diren D Bharwani c34faade86 Converted doubles to floats in SHADE Managed. Added Quaternions. 2022-10-24 02:45:47 +08:00
Diren D Bharwani 46de36d587 Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-10-23 23:45:17 +08:00
XiaoQiDigipen 23b8b66297
Merge pull request #112 from SHADE-DP/SP3-16-Math
SP3-16 Quaternions
NEW

Added implementations for Quaternion LookRotation, FromToRotation, Slerp, Lerp and RotateTowards
Transform now stores orientations instead of euler angle rotations. Transform Component interface unchanged.
Added Orientation getters and setters to Transform Component.
2022-10-23 20:07:17 +08:00
Diren D Bharwani 57f9898e07 Finished quaternion implementation 2022-10-23 20:03:18 +08:00
Diren D Bharwani bf0c068cc7 Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-10-23 18:23:06 +08:00
Diren D Bharwani e15f7696e6 Rotations are stored as radians to reduce the number of conversions 2022-10-23 18:22:58 +08:00
XiaoQiDigipen 5f73e8d1c0
Merge pull request #111 from SHADE-DP/SP3-13-Assets-Manager
Restructured Asset Manager with Generalised Template Types for Asset Data
All asset types are derived from asset type for casting and storing to facilitate general GetData function
2022-10-23 17:21:17 +08:00
Xiao Qi f9a28c81d4 Fixed vulkan breaking error 2022-10-23 17:18:46 +08:00
Xiao Qi 4019b4914c Merge branch 'main' into SP3-13-Assets-Manager 2022-10-23 17:08:37 +08:00
Diren D Bharwani 8559f7d27c Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-10-23 16:59:11 +08:00
XiaoQiDigipen bf2baee144
Merge pull request #110 from SHADE-DP/SP3-1-Rendering
Added customization for compute shader post processing after renderpass end 
Added customization for compute shader post processing after renderpass end
Added Input attachment descriptor set support (incomplete, still need to bind and handle resizing)
Command buffers now take in a pipeline type to specify bind point. They also now store bind point specific data such as pipeline layout
More descriptor type support
Fixed a bug in batches where the frame index was not correct
Fixed a bug in pipeline layout where the descriptor set layout order was wrong
Render Graph now has 1 extra function at the start of generate where it checks render graph nodes for node computes. If they exist, add another subpass to transition all images involved.
Kirsch node compute for testing is in Graphics System.
Added function in SHVkUtil to convert pipeline type to pipeline bind point
2022-10-23 16:57:15 +08:00
Xiao Qi a83d1f8f04 Removed line that loaded all assets
Separated template function in asset manager into hpp file
Fixed bug in checking map contains
2022-10-23 16:55:57 +08:00
Diren D Bharwani 33a6d3798c Added orientation interface and fixed compatibility between physics and transform 2022-10-23 16:55:01 +08:00
Brandon Mak a81ef91373 Removed some commented code 2022-10-23 16:47:39 +08:00
Brandon Mak 6d2affcbb9 Merge branch 'Rendering-Camera-Integration' into SP3-1-Rendering 2022-10-23 16:36:32 +08:00
Brandon Mak 982f2de286 Merge remote-tracking branch 'origin/main' into Rendering-Camera-Integration 2022-10-23 16:36:22 +08:00
Brandon Mak 64002c6f2b Camera Director integrated
Still has bug
2022-10-23 16:04:58 +08:00
XiaoQiDigipen 438bce43f2
Merge pull request #109 from SHADE-DP/SP3-141-Camera-System
Fixed editor camera
2022-10-23 15:07:10 +08:00
Brandon Mak d4fe63722a WIP (TODO: remember to change commit message) 2022-10-23 15:05:31 +08:00
maverickdgg aa1b45c3de Fixed editor camera 2022-10-23 15:03:24 +08:00