Commit Graph

1018 Commits

Author SHA1 Message Date
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
Xiao Qi 84ce369607 Changed shader module library to Import shaders and reflect all on its own
Preparation for separation for built in shaders distinction
2022-10-25 21:04:21 +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
Xiao Qi b4726ae992 Removed Shader source library, changed header and enum type locations 2022-10-25 15:43:36 +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 d0714cee16 Merge branch 'main' into SP3-8-serialization 2022-10-25 15:10:35 +08:00
Sri Sham Haran dfdd477a37 Merge branch 'main' into SP3-4-editor_fix 2022-10-25 15:10:20 +08:00
Sri Sham Haran 8466309e2f Serialize/Deserialize SHCollider & SHColliderComponent 2022-10-25 15:09:45 +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
Brandon Mak 869916cb2a Lights WIP 2022-10-25 13:47:27 +08:00
Sri Sham Haran f64f13521b SHVec to yaml node convert 2022-10-25 08:42:51 +08:00
Kah Wei f6cbb18143 Added display of WIP CallbackEvents on the inspector 2022-10-25 01:34:46 +08:00
Brandon Mak 8fb0eddcc1 Lights WIP 2022-10-25 00:00:22 +08:00
Xiao Qi 2dbd2f6030 Split asset into 2 categories for internal assets to be loaded and external assets to be compiled 2022-10-24 22:46:01 +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
Xiao Qi 8a01065641 Moved original shader source library
Added functions to asset manager to get all by type
2022-10-24 04:17:51 +08:00
Xiao Qi 254fc4e641 SP3-284 Restructured Shader source loader into asset manager to follow design pattern for loaders and asset data 2022-10-24 03:54:28 +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
Kah Wei c6d29a1038 Added CallbackAction and CallbackEvent 2022-10-24 02:04:22 +08:00
Kah Wei 51c79d33d6 Added C-style versions of SHLog functions and P/Invoke versions in SHADE_CSharp 2022-10-24 02:04:12 +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
Kah Wei 10a945a35d Added SHADE_CSharp 2022-10-23 18:20:38 +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