Commit Graph

294 Commits

Author SHA1 Message Date
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
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
Cocoa cc6d1dd95b Added Transform Component 2022-09-20 17:20:57 +08:00
Kah Wei f461a0e658 Modified generate.bat to delete all generated files before generating files 2022-09-20 16:37:29 +08:00
Kah Wei 9896c5c913 Added CallbackAction and CallbackEvent 2022-09-20 16:23:03 +08:00
Brandon Mak c194765889 More warnings fixed. More graphics constants. 2022-09-20 16:12:47 +08:00
Cocoa 7f173b3207 Added SH_API to Math Classes 2022-09-20 16:10:47 +08:00
Cocoa 7b7a4788e4 Merge branch 'main' into SP3-16-Math 2022-09-20 15:42:53 +08:00
XiaoQiDigipen 5b6f60ee8a
Merge pull request #34 from SHADE-DP/SP3-12-SceneGraph
SP3-12 Scene Graph Fixes

BUGFIXES

Scene Graph automatically creates a root which is set to MAX_EID
Fixed constness of getter functions in Scene Graph & Scene Node
2022-09-20 15:37:58 +08:00
Cocoa b5f3ec85aa Merge branch 'main' into SP3-16-Math 2022-09-20 15:37:28 +08:00
Cocoa f4bf895e45 Fixed constness of functions in scene graph 2022-09-20 15:35:10 +08:00
Brandon Mak 0bc3a23161 Fixed the fence with high quality wood 2022-09-20 14:15:09 +08:00
Brandon Mak 147292f91c Fence is broken. The neighbour's kids went to knock it down again. 2022-09-20 12:15:06 +08:00
Brandon Mak d9213fe35d Moved a bunch of global data from Graphics System to new class
New class in SHGraphicsGlobalData
2022-09-20 10:39:52 +08:00
Brandon Mak 77330511ee Fixed pipeline default color blend state
Remember to switch winding back to CCW after rendering in world space
2022-09-20 09:27:13 +08:00
Cocoa c0290b7185 Added fixes to scene graph. Read description for details.
1. Scene graph creates a root on construction. EntityID is set to MaxEID. The root is not intended to be modified.
2. When adding a node, if the 2nd arg (parent) is omitted, the node will be a child of the root.
2022-09-20 01:31:59 +08:00
Cocoa 34685e6726 Regenerated project files 2022-09-20 00:48:27 +08:00
Kah Wei 8772ce0cea Fixed SHSceneManager not SH_API-ed 2022-09-20 00:03:29 +08:00
Kah Wei 95b01fb96d Merge branch 'main' into SP3-6-c-scripting 2022-09-19 23:12:52 +08:00
Kah Wei 8ad0eee032 Fixed vertex data buffer being incorrect 2022-09-19 21:31:23 +08:00
Kah Wei 9e09896984 Fixed SHVkBuffer move and reworked batching buffers to be host visible 2022-09-19 20:15:39 +08:00
Kah Wei 4023b9d136 Added tests for rendering and fixed bugs with Batching system 2022-09-19 18:37:57 +08:00
XiaoQiDigipen 624c8fa4d6
Merge pull request #33 from SHADE-DP/SP3-5-ECS
SP3-5 ecs
Added Scene Graph functionality to Entity, Scene graph set parent missing old parent check (diren handling)
Scene graph functionality untested.

Added SH_API to Scene Graph
2022-09-19 17:31:21 +08:00
maverickdgg ceb96938fb Added SHAPI to Scene graph 2022-09-19 17:28:59 +08:00
Cocoa e51a3688af Merge branch 'main' into SP3-16-Math 2022-09-19 17:17:40 +08:00
Kah Wei 308aa35e00 Merge branch 'main' into SP3-6-c-scripting 2022-09-19 17:17:28 +08:00