Commit Graph

318 Commits

Author SHA1 Message Date
XiaoQiDigipen 7f527c30f3
Merge pull request #46 from SHADE-DP/SP3-16-Math
SP3-16 Transform System integration into Application

UPDATES

Added missing instantiation of transform system into application
BUGFIXES

Fixed an error with the Transform System being an abstract class.
Fixed warning coming from Scene Graph when adding new nodes.
Changed editor pause to true for the Transform System
2022-09-23 00:32:55 +08:00
Diren D Bharwani c77d9b2ff5 Changed editor pause for transform system to true 2022-09-22 22:58:14 +08:00
Diren D Bharwani 6d646851e2 Added missing transpose to transform update and a test component to application 2022-09-22 20:39:46 +08:00
Diren D Bharwani 2c0fa3a6b2 Fixed warning from scene graph when adding new nodes to root. 2022-09-22 20:25:42 +08:00
Diren D Bharwani 0250687e06 Instantiated Transform System & Update Routine 2022-09-22 20:25:23 +08:00
Diren D Bharwani f03a0d4be7 Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-09-22 20:05:49 +08:00
XiaoQiDigipen 3457759ed3
Merge pull request #44 from SHADE-DP/SP3-6-c-scripting
Script lifecycle functions now run and ScriptEngine has been made a ECS System
2022-09-22 17:39:40 +08:00
XiaoQiDigipen 802e038938
Merge pull request #43 from SHADE-DP/SP3-16-Math
SP3-16 Reworked Transform System

UPDATES

Reworked transform system to match intended system structure
2022-09-22 17:39:15 +08:00
Kah Wei 1bede86ff6 Awake(), Start() and Update(), OnDestroy() for scripts now all run as intended 2022-09-22 17:25:43 +08:00
Xiao Qi 3a908b717b Merge remote-tracking branch 'origin/SP3-6-c-scripting' into SP3-6-c-scripting 2022-09-22 17:08:11 +08:00
Xiao Qi 5bd35cec61 Fixed SHEventReceiver constructor callback return signature. 2022-09-22 17:07:59 +08:00
Kah Wei 2051d485eb Merge branch 'main' into SP3-6-c-scripting 2022-09-22 17:04:18 +08:00
Kah Wei 3b533ac03d Added faulty registration to entityDestroyed event 2022-09-22 16:40:49 +08:00
Diren D Bharwani 38dbd0c217 Removed static data member...again... 2022-09-22 15:49:00 +08:00
Diren D Bharwani d648fc8645 Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-09-22 15:42:09 +08:00
XiaoQiDigipen 003b1fdea1
Merge pull request #41 from SHADE-DP/SP3-12-SceneGraph
SP3-12 Hierarchical Active States

UPDATES

Scene Nodes now hold active state in hierarchy.
Active states will propagate down into children.
2022-09-22 15:09:58 +08:00
Diren D Bharwani cda7330c5b Removed static data member for transform update routine 2022-09-22 14:56:58 +08:00
Diren D Bharwani 2d93c9559d Restructured Transform system to match intended system structure 2022-09-22 14:54:06 +08:00
Diren D Bharwani 52c17dcc3f Merge branch 'main' into SP3-16-Math 2022-09-22 14:32:37 +08:00
Diren D Bharwani ed143661b3 Scene node active states propagate down the hierarchy
Vulkan is throwing an exception...
2022-09-22 14:26:07 +08:00
Diren D Bharwani cd1f1a8fea Merge remote-tracking branch 'origin/main' into SP3-12-SceneGraph 2022-09-22 13:53:17 +08:00
Kah Wei 5bc24b09d4 Added generalisation of csproj file location 2022-09-22 12:32:15 +08:00
Kah Wei 5ff375113f Removed CallbackAction and CallbackEvent for moving to C# library in future 2022-09-22 11:39:50 +08:00
Kah Wei 4958240806 Added implementation of GetComponentInChildren() for scripts 2022-09-22 11:37:24 +08:00
Kah Wei 21a3d6ecd7 Added test code for scripts 2022-09-22 11:22:51 +08:00
Kah Wei b04789945f Merge branch 'main' into SP3-6-c-scripting 2022-09-22 11:06:26 +08:00
XiaoQiDigipen b2f8ed23b1
Merge pull request #40 from SHADE-DP/PremakeCopyFix
Fixed certain DLLs and includes missing when copying
2022-09-22 11:06:07 +08:00
Kah Wei af1d24d874 Fixed certain DLLs and includes missing when copying 2022-09-22 10:52:07 +08:00
Kah Wei 2004a1739b Merge branch 'main' into SP3-6-c-scripting 2022-09-22 10:25:39 +08:00
Xiao Qi edfa8c8ace Fixed premake outputdir and interdir 2022-09-22 10:03:03 +08:00
Kah Wei c1b7c7ded8 Merge branch 'main' into SP3-6-c-scripting
# Conflicts:
#	SHADE_Application/src/Application/SBApplication.cpp
#	SHADE_Engine/src/Scene/SHSceneManager.h
2022-09-22 09:55:31 +08:00
Diren D Bharwani b6b2a3350c Merge remote-tracking branch 'origin/main' into SP3-12-SceneGraph 2022-09-21 23:53:07 +08:00
Diren D Bharwani 1c5a66b569 Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-09-21 23:53:01 +08:00
Xiao Qi d2e2e85726 Added build path ignore
Readded output dir and removed interdir from premake
Added DEBUG guards in SHVkPhysicalDeviceLibrary when using SHLOG_TRACE
2022-09-21 22:54:15 +08:00
Xiao Qi 124b367413 Fixed SHTransform compile error
Include header in math path wrong
Added proj and filter ignore into git (again)
2022-09-21 22:24:52 +08:00
XiaoQiDigipen f52fa9463d
Merge pull request #39 from SHADE-DP/SP3-16-Math 2022-09-21 20:02:20 +08:00
XiaoQiDigipen 67d673ff80
Merge pull request #38 from SHADE-DP/SP3-12-SceneGraph 2022-09-21 20:01:44 +08:00
XiaoQiDigipen de983cdc66
Merge pull request #37 from SHADE-DP/SP3-1-Rendering 2022-09-21 19:54:13 +08:00
Diren D Bharwani 14eed4c726 Added missing active check in transform system 2022-09-21 18:30:20 +08:00
Diren D Bharwani ac379e3ef3 Added method to scene graph to easily traverse and execute a unary function 2022-09-21 18:23:01 +08:00
Brandon Mak 270c8240c1 Shifted Graphics system to SBTestScene 2022-09-21 16:29:54 +08:00
Brandon Mak 80dc8d0a71 Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-09-21 15:41:36 +08:00
Brandon Mak 8d2b6aec46 Descriptor set fix and camera descriptor set
Fixed SHVkDescriptorSetGroup bug with vkLayouts inside the ctor
Added descriptor set to renderer for camera
Logical Device now stores a buffer alignment variable for UBOs
2022-09-21 15:41:30 +08:00
Diren D Bharwani d69d70c7c9 Merge remote-tracking branch 'origin/main' into SP3-12-SceneGraph 2022-09-21 14:55:51 +08:00
Diren D Bharwani 415e47780c Completed Transform System 2022-09-21 14:54:57 +08:00
Diren D Bharwani 0db7392eed Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-09-21 14:06:36 +08:00
XiaoQiDigipen e7eac229ee
Merge pull request #36 from SHADE-DP/SP3-12-SceneGraph
SP3-12 More Scene Graph Fixes

BUGFIXES

Fixed bug where parenting an object will spawn infinite children
Fixed bug where parents held on to a child after the child left
2022-09-21 09:06:01 +08:00
XiaoQiDigipen 2097edd94d
Merge pull request #35 from SHADE-DP/CleanAndGenerate
Modified generate.bat to delete all generated files before generating files with Premake

Should fix issues where sometimes Premake excludes some files from the generated projects. The usual fix is to manually delete the files so this change automates that.
2022-09-21 09:04:53 +08:00
Cocoa 9c69d41a4e Added 90% of transform component & transform system. 2022-09-21 00:49:52 +08:00
Cocoa 3cd538562c More Scene Graph Fixes 2022-09-20 19:32:28 +08:00