Brandon Mak
4210f5c533
Merge remote-tracking branch 'origin/SP3-1-Rendering' into SP3-1-Rendering
2022-12-28 12:24:50 +08:00
Brandon Mak
3bfec1e54f
WIP will update later, afraid for BSOD again
...
- All Shaders now take in a single projection matrix. The type of projection matrix is dependent on the SHRenderer projection type.
- SHGraphicsSystem now only has a single render graph.
- SHGlobalDescriptorSets now store a descriptor set for static global data and a handle to the lighting system. Functions to bind their descriptor sets are also available.
- Font desc set layout is added back into SHPredefinedData because while its possible to introspect the layouts from the shaders, the layouts is required beforehand to generate the font objects
- SHRenderers and SHViewport are now 2 separate entities, both passable to SHSubpass to be contained and used to set viewport/scissor and send camera matrices to shaders.
- SHRenderer descriptor sets are now updated separately from the binding. They happen directly before the render graph executes.
2022-12-28 12:19:30 +08:00
Brandon Mak
44ca317e1d
WIP will update later, afraid for BSOD again
2022-12-28 10:22:01 +08:00
SHAM-DP
f49ecdbb14
Remove a few redundancies.
...
Audio System now creates handles to audio clips
2022-12-27 16:23:53 +08:00
XiaoQiDigipen
35c8321e98
Merge pull request #296 from SHADE-DP/SP3-4-Editor
...
Added Collision Tag Matrix
2022-12-27 13:59:49 +08:00
XiaoQiDigipen
d2b786dd52
Merge pull request #295 from SHADE-DP/SP3-16-Math
...
Added Conversions To and From WXYZ Quaternion Representations
2022-12-27 13:58:25 +08:00
Sri Sham Haran
37f62fdd24
Collision Tag Matrix
2022-12-26 14:35:48 +08:00
Brandon Mak
5f2fa7fdf5
WIP
...
- Created a class that allows custom mappings of descriptor types to set indices
- SHPredefinedData now contains objects of the above class with predefined mappings for the different sub systems in the Graphics System.
- These mappings are also accompanied with descriptor set layout vectors that are only for that system. This helps the sub systems have access to these layouts easily without having to pass them around.
- Created another class to manage global descriptor sets such as lights.
- Modified pipeline layout creation code to take in the correct descriptor set layouts.
2022-12-26 09:28:15 +08:00
Brandon Mak
b035582b30
Renamed SHGraphicsGlobalData to SHPredefinedData
...
- SHPredefinedData now contains the font data descriptor set layout as well
- Added a function for SHPredefinedData to retrieve descriptor sets based on a bitfield
- Modified descriptor sets to not be tied to a set index anymore
- Descriptor set layout doesn't have a set anymore
- Removed desc set index constants from SHGraphicsConstants since they aren't really needed anymore
2022-12-25 14:32:55 +08:00
mushgunAX
43950400ae
Merge branch 'main' into SP3-10-input-management
2022-12-25 14:13:30 +08:00
mushgunAX
ee4ec83f7a
Progress on Input Manager Fixes
2022-12-25 14:13:21 +08:00
Brandon Mak
dfa9facfe0
Merge branch 'main' into SP3-1-Rendering
2022-12-24 20:43:16 +08:00
Diren D Bharwani
0df6e09ed6
Added box collision shapes
2022-12-24 13:32:50 +08:00
Diren D Bharwani
89f1f60064
Added physics settings menu for easily toggling debug draw states
2022-12-24 02:19:53 +08:00
Sri Sham Haran
c44f0f093a
Merge branch 'main' into SP3-4-Editor
2022-12-23 19:07:21 +08:00
mushgunAX
605d408a3a
Binding types, scroll wheel support, bind clears
2022-12-23 15:24:12 +08:00
Diren D Bharwani
22c0a14081
Renamed SHBox to SHAABB for clarity
...
The future SHBox will represent an OBB
2022-12-23 00:55:36 +08:00
Kah Wei
861e47812f
Fixed bug where StrToWstr and WstrToStr may contain invalid characters from a previous call
2022-12-22 15:06:52 +08:00
Diren D Bharwani
b667e4df87
Implemented axis locking constraints
2022-12-22 03:11:14 +08:00
Diren D Bharwani
f4f6cb7eae
Fixed sequential impulses
2022-12-22 01:10:25 +08:00
Diren D Bharwani
92ed8a29ff
Fixed bug with non-dynamic masses being overriden
2022-12-21 19:04:10 +08:00
Diren D Bharwani
d109d06764
Implemented sequential impulses using baumgarte stabilisation
...
There is a bug with masses of static bodies not being properly set
2022-12-21 18:57:10 +08:00
Kah Wei
360b362b7b
Moved command and process execution helpers to SHExecUtilities
2022-12-21 16:47:10 +08:00
Diren D Bharwani
33ef5e0d3d
Implemented accumulated impulses
...
untested
2022-12-21 01:10:28 +08:00
Diren D Bharwani
265a5bece8
Slight refactor to fix collision states for very fast moving objects
2022-12-21 00:40:01 +08:00
Diren D Bharwani
b58b475c04
Separated collision detection and added contact manager
2022-12-20 23:10:23 +08:00
Kah Wei
88e89a226a
Added the option to open the script csproj via menu bar
2022-12-20 22:35:47 +08:00
Kah Wei
8212ed2280
Application::Quit() no longer kills the application if in editor
2022-12-20 20:29:28 +08:00
Kah Wei
b402a44d95
Added SHAnimationClip stub
2022-12-20 17:26:27 +08:00
Diren D Bharwani
5def5392a1
Cleaned up CollisionKey object
2022-12-20 02:26:31 +08:00
Diren D Bharwani
751a16dcc3
Tested collision detection with collision states
2022-12-20 02:13:06 +08:00
Diren D Bharwani
cf9d4ef04b
Implemented backbone for collision detection with broadphase
2022-12-19 16:56:34 +08:00
Diren D Bharwani
3b55888fa1
Added conversions to and from wxyz quaternion representations
2022-12-16 23:19:44 +08:00
Diren D Bharwani
bbffdc5cd7
Merge remote-tracking branch 'origin/main' into SP3-16-Math
2022-12-16 23:02:36 +08:00
Kah Wei
51479d2bd0
Fixed bug where meshes added to the mesh library will not have correct corresponding "null" vertex bone weights and indices
2022-12-16 21:43:33 +08:00
Diren D Bharwani
d55a965e32
Merge remote-tracking branch 'origin/PhySH' into PhySH
2022-12-16 18:34:58 +08:00
Diren D Bharwani
24b13ed6e4
Refactored colliders to use parent-child transform logic
2022-12-16 18:34:53 +08:00
Diren D Bharwani
6a20e93704
Refactored colliders to use a parent-child transform logic
2022-12-16 18:34:29 +08:00
Diren D Bharwani
a6e1064e64
Fixed bug where collider offsets were not recomputed
2022-12-16 15:03:55 +08:00
Diren D Bharwani
2bd90e7c14
Adjusted physics debug draw to fit new debug draw interface
2022-12-16 14:38:46 +08:00
Diren D Bharwani
1b91f60c4a
Fixed warning with wrongly declared friends
2022-12-16 14:38:22 +08:00
Diren D Bharwani
ddf2d8bde9
Fixed warnings for subscript operator in vectors and removed react conversions
2022-12-16 14:38:01 +08:00
Diren D Bharwani
af39662748
Merge remote-tracking branch 'origin/main' into PhySH
2022-12-16 14:04:58 +08:00
Kah Wei
12a46c4266
Merge branch 'main' into SP3-17-animation-system
...
# Conflicts:
# SHADE_Engine/src/Graphics/MiddleEnd/Batching/SHBatch.cpp
# SHADE_Engine/src/Graphics/MiddleEnd/Interface/SHDebugDrawSystem.cpp
# SHADE_Engine/src/Graphics/MiddleEnd/Meshes/SHPrimitiveGenerator.cpp
# SHADE_Engine/src/Graphics/MiddleEnd/Meshes/SHPrimitiveGenerator.h
2022-12-16 12:59:11 +08:00
XiaoQiDigipen
c479e6c8d8
Merge pull request #294 from SHADE-DP/SP3-1-DebugDraw
...
Reworked DebugDraw System
2022-12-16 02:21:32 +08:00
Diren D Bharwani
6b8232ae91
Fixed bug where intertia tensors were not reset when unlocking axes
2022-12-16 02:02:20 +08:00
Kah Wei
0a3ff527d9
SHDebugDraw drawing functions now have the colour parameter defaulted to white
2022-12-16 00:05:03 +08:00
Kah Wei
77a164cefb
Updated C# Gizmos class with DrawCube and DrawSphere in
2022-12-15 23:33:53 +08:00
Kah Wei
8978515cb9
Reworked SHDebugDraw to fit new interface of SHDebugDrawSystem
2022-12-15 23:25:49 +08:00
Diren D Bharwani
27760a95c9
Tested physics interactions with scripts
2022-12-15 23:00:15 +08:00