XiaoQiDigipen
ade24b904f
Merge pull request #127 from SHADE-DP/SP3-2-Physics
...
SP3-2 Colliders use relative size
NEW
Colliders have materials. The material system is intended to emulate Unity's physics materials.
UPDATE
Colliders now show relative size on the Editor. This change has not been reflected in Scripting.
Colliders will deep copy the shape in case it was not already doing so.
If this doesn't compile, beat me. I swear I just compiled, ran and tested for functionality.
2022-10-28 16:38:44 +08:00
Diren D Bharwani
d4f775843c
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-10-28 14:08:18 +08:00
Kah Wei
621dae4c40
All Vec3 and Vec4s in materials are now automatically set to full 1.0 vectors
2022-10-28 13:32:13 +08:00
Kah Wei
e733cd2e1c
Fixed bug where changes to meshes were not saved by batching system
2022-10-27 23:18:02 +08:00
Diren D Bharwani
a354928e0d
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-10-27 17:41:01 +08:00
Xiao Qi
b5a1d5ea88
SP3-282 Restructured loaders and compilers
...
Completed shader compiling and loading
2022-10-27 12:54:58 +08:00
Diren D Bharwani
371ffc52da
Colliders now use relative sizes
2022-10-27 03:14:46 +08:00
Xiao Qi
5154b579d7
Re-restructured compilers to be more self contained
...
Loaders only load internal binary asset files
2022-10-26 23:07:01 +08:00
Brandon Mak
43ea33cabf
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-10-26 15:26:41 +08:00
Brandon Mak
5637fb707f
Tested light component. Values reflected in renderdoc correctly
...
- Added pure copy compute shader (used instead of kirsch)
- Created sparse set for lights
- Note that while the instanced attribute contains both EID and layer light index and in the future potentially more, the objects still write to a uint framebuffer.
- Light layer index is in a different frame buffer than the eid one.
- Updated shaders to accommodate light layer index.
2022-10-26 02:14:43 +08:00
Diren D Bharwani
bf0c068cc7
Merge remote-tracking branch 'origin/main' into SP3-16-Math
2022-10-23 18:23:06 +08:00
Xiao Qi
f9a28c81d4
Fixed vulkan breaking error
2022-10-23 17:18:46 +08:00
Diren D Bharwani
8559f7d27c
Merge remote-tracking branch 'origin/main' into SP3-16-Math
2022-10-23 16:59:11 +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
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
Diren D Bharwani
ebfcf1c6bb
Transform now stores orientation as Quaternions. Interface unchanged
2022-10-22 20:16:38 +08:00
Kah Wei
43c2680a82
Added generic Handles and fixed bugs with SHResourceManager
2022-10-21 15:38:39 +08:00
Kah Wei
7e15edb052
Completed initial implementation of SHResourceManager
2022-10-21 13:58:27 +08:00
Diren D Bharwani
fda33f7461
Fixed multi-level transform updates
2022-10-20 22:55:59 +08:00
Diren D Bharwani
314d497b66
Reparenting objects maintain world transforms
2022-10-20 18:35:57 +08:00
Brandon Mak
682a5a6cbf
bug fix
2022-10-14 00:10:56 +08:00
Brandon Mak
d265aa4541
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-10-14 00:10:45 +08:00
Brandon Mak
ab09d78e42
removed routines for graphics from application (remember to add back after ingui update routine is added).
...
Scene graph and physics system had some extra couts
input system bug fix (this change is now in main)
Mouse pick system wip
2022-10-14 00:08:14 +08:00
Diren D Bharwani
acd3174c39
Merge branch 'SP3-16-Math' into SP3-2-Physics
2022-10-13 18:15:52 +08:00
Diren D Bharwani
ff9b504bc5
Moved collider interface into physics object. Added support for removing rigidbodies
2022-10-11 01:26:12 +08:00
Xiao Qi
40bcea133d
Changed texture index to 0 for both racoons
2022-10-02 00:09:38 +08:00
Diren D Bharwani
e4a6877ed3
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-10-01 20:43:18 +08:00
Diren D Bharwani
374f1a961d
Integrated rigidbodies into physics system
2022-10-01 16:50:50 +08:00
Diren D Bharwani
4f56a32a9b
Added physics system (untested)
2022-10-01 15:26:08 +08:00
Xiao Qi
5069a42319
SP3-237 Mesh compile and load successfully. Although now path to load/compile is hardcoded. Flow will be done after MS1
2022-10-01 13:12:37 +08:00
Xiao Qi
584b7e425f
WIP Write meta files to track whether raw asset (fbx/gltf/dds) have been compiled into custom binary
2022-09-30 08:57:25 +08:00
Kah Wei
70559204bf
Added spinning raccoons and fixed TRansform component bug
2022-09-28 23:55:44 +08:00
Kah Wei
566c12a922
Merge branch 'main' into SP3-6-c-scripting
...
# Conflicts:
# SHADE_Application/src/Scenes/SBTestScene.cpp
# SHADE_Engine/src/Editor/SHEditorWidgets.hpp
2022-09-28 23:27:48 +08:00
Brandon Mak
78f216e445
Rendered multiple racoons
2022-09-28 20:33:29 +08:00
Brandon Mak
4fcb5e313b
Added more objects + tested materials (still needs testing)
2022-09-28 18:03:46 +08:00
Brandon Mak
2df9252e17
Fixed material desc set binding
2022-09-28 15:31:37 +08:00
Brandon Mak
a2311a473e
Auto stash before merge of "SP3-1-Rendering" and "origin/SP3-1-Rendering"
2022-09-28 10:29:42 +08:00
Xiao Qi
d5cc923413
Hard coded to always load racoon mesh instead of bag
2022-09-27 22:37:49 +08:00
Kah Wei
d71fbc22de
Merge branch 'SP3-1-Rendering' of https://github.com/SHADE-DP/SHADE_Y3 into SP3-1-Rendering
...
# Conflicts:
# TempShaderFolder/TestCubeFs.glsl
# TempShaderFolder/TestCubeFs.spv
2022-09-27 21:07:55 +08:00
Kah Wei
61219f5136
Added tests for material binding and fixed some crashes
2022-09-27 21:06:14 +08:00
Brandon Mak
70940534e1
Merge remote-tracking branch 'origin/SP3-1-Rendering' into SP3-1-Rendering
2022-09-27 20:07:29 +08:00
Kah Wei
055a0a1711
Fixed textures not loading correctly
2022-09-27 19:52:36 +08:00
Brandon Mak
b7adf8815b
Fixed camera. Can see texture now
2022-09-27 19:18:45 +08:00
Kah Wei
337894ebc2
Merge branch 'main' into SP3-6-c-scripting
2022-09-27 16:39:02 +08:00
Kah Wei
04b452543c
Modified TextureLibrary to use SHTextureAsset instead of SHDDSAsset
2022-09-27 16:05:47 +08:00
Xiao Qi
60540b1adc
Temp function to retrieve all textures
2022-09-27 14:09:44 +08:00
Kah Wei
e9496bead6
Fixed bug where different Renderables of different meshes are thrown into the same SubBatch
2022-09-27 13:43:59 +08:00
Kah Wei
085ab50ec7
Added a script to test Transform modifications
2022-09-27 01:57:23 +08:00
Kah Wei
3e2bcf28b6
Added texture loading that is almost working
2022-09-26 20:59:20 +08:00