Kah Wei
6af4933b52
Fixed on-close crashes coming from SHResourceManager
2023-01-29 18:51:31 +08:00
Kah Wei
bce7237e20
Modified shader to support instanced bone first index and system to support runtime updating of animations
2023-01-16 21:02:37 +08:00
Kah Wei
c0e8c032b9
Added inspector for animator component
2023-01-11 16:17:32 +08:00
SHAM-DP
51c9058ab8
Window now maximized by default
...
Application now loads working scene if run with editor
Added editor config to save:
- Window size
- Window Maximized
- Working Scene
- Editor Style
2022-12-28 17:21:08 +08:00
Kah Wei
78575b11e4
Added debug draw of wire spheres, filled cube and filled sphere
2022-12-15 18:08:12 +08:00
Diren D Bharwani
3775df23a4
Debug draw is disabled on publish builds.
2022-11-24 14:43:41 +08:00
Diren D Bharwani
9bdaea10f5
Fixed...another..bug...:(
2022-11-23 16:56:25 +08:00
maverickdgg
a57145b510
Merge branch 'main' into SP3-20-UI-System
2022-11-22 20:39:39 +08:00
maverickdgg
a612e71f0c
Added Buttons, Added Canvas Scaling matrix, Added Serialization of buttons and camera arm
2022-11-22 20:39:15 +08:00
Diren D Bharwani
053c3e04fd
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-22 19:26:47 +08:00
Diren D Bharwani
c18d58cba3
Fixed various physics bugs
...
Fixed bug where world was prebuilt and entity IDs were wrongly synced
Fixed collider properties not being synced in the first frame during mass property computations
Fixed static objects being wrongly updated post world update
2022-11-22 19:26:17 +08:00
Brandon Mak
cf0b94e97d
Merge branch 'main' into SP3-1-Rendering
2022-11-22 10:50:04 +08:00
Brandon Mak
4377972315
Added functionality for graphics system to render to swapchain image
...
- Added functionality for graphics system to render to swapchain image when SHEDITOR is disabled. This is done via rendering a simple quad on screen and using an input attachment as a texture to the shader.
2022-11-22 10:10:26 +08:00
Kah Wei
af2ad6cc80
Merge branch 'main' into SP3-6-c-scripting
2022-11-21 20:59:08 +08:00
Kah Wei
4172362790
Renamed SHTextRenderer to SHTextRenderable
2022-11-21 20:35:31 +08:00
Diren D Bharwani
3baedd8ffa
Merge branch 'main' into SP3-2-Physics
2022-11-21 20:15:58 +08:00
Diren D Bharwani
1d692d3301
Physics works without SHEDITOR defines. Mass is temporarily auto computed.
2022-11-21 19:59:32 +08:00
XiaoQiDigipen
e10c1f518f
Merge pull request #234 from SHADE-DP/SP3-1-Rendering
...
Implemented serialization and editor inspector display for text renderer component
2022-11-20 22:41:06 +08:00
Brandon Mak
5d3603ac7d
Text Renderer Component serialization
2022-11-20 22:24:24 +08:00
Brandon Mak
c686954c77
Implemented Text Rendering
...
- The Text Renderer Component serialization and reflection onto inspector is not in yet, but there is basic functionality.
- Updated shaders
- Topology for text rendering is changed to triangle fan. Front facing for primitives is clockwise. Vertex state has both the positionOffset and glyphIndex attribute set as instanced.
- Freetype instance is now initialized in InitBoilerplate
- SHCamera no longer calling SetPerspective/Ortho inside HandleResize
- Font Geometry is now loaded in SHFontLoader into SHFontAsset fontGeometry variable.
2022-11-20 19:03:12 +08:00
Diren D Bharwani
5871f32547
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-20 17:23:38 +08:00
Diren D Bharwani
7226ccf279
Tested Collision Tags
2022-11-20 03:16:49 +08:00
Brandon Mak
d55adcdfe4
Merge remote-tracking branch 'origin/main' into UI_Integration
2022-11-19 22:08:16 +08:00
Brandon Mak
223276dd87
Created partial functionality to render a texture to swapchain image
2022-11-19 21:44:41 +08:00
Diren D Bharwani
a4e5a1c269
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-18 18:31:38 +08:00
Diren D Bharwani
b328d1df82
Added Physics Raycasts with Debug Drawing
...
Press F11 while the scene is playing to toggle debug drawing of rays.
2022-11-18 18:15:19 +08:00
Brandon Mak
03ce142137
Merge remote-tracking branch 'origin/main' into SP3-1-Rendering
2022-11-18 16:37:06 +08:00
Brandon Mak
66f33554a3
Tested adding text component to entities
2022-11-18 16:35:49 +08:00
maverickdgg
9ac1c01008
Merge branch 'main' into SP3-20-UI-System
2022-11-18 09:38:42 +08:00
maverickdgg
ad30f150d1
UI component and UI System prep
2022-11-17 07:12:38 +08:00
Kah Wei
f0c09817ce
EnsureBufferAndCopy utility functions now avoid resizes if new size is smaller or equal
2022-11-16 17:49:11 +08:00
Brandon Mak
f991e7b227
Fixed some text shaders and changed some image parameters
...
- SHApplication has a font compiler exe call to test compiling a sample font
- SHVkImage now takes in a vector instead of a span for mip offsets (fuck it, copy the mip offset. The RAM can cry about it).
- Removed font data descriptor set layouts from graphics global data
- FONT_DATA set index is changed to 4 instead. This clashes with Render graph resource set index but it won't matter.
- Added entity ID render graph resource to scene render graph
- SHFont format for images is now R8G8B8A8UNorm
2022-11-16 16:57:08 +08:00
Brandon Mak
292fdf4ee2
Fixed some bugs but SHFont constructor still breaks
...
the vkImage is not loading correctly
2022-11-15 20:40:43 +08:00
Xiao Qi
96cb832e81
Font meta file and line in application to manually trigger font load
2022-11-15 13:48:54 +08:00
Xiao Qi
3dcb6f26c2
Merge branch 'main' into SP3-1-Rendering
2022-11-15 13:21:28 +08:00
Diren D Bharwani
e93eea6381
Cleaned up tools folder. Added debug only logging macros with _D suffix
2022-11-15 03:03:37 +08:00
Brandon Mak
d95ed3f067
Text Rendering WIP
2022-11-14 18:36:26 +08:00
Diren D Bharwani
45e549f9f1
.....small restructure....
2022-11-12 16:56:58 +08:00
Diren D Bharwani
3efecd64e7
Added box & sphere debug draw for physics
2022-11-10 14:30:30 +08:00
Diren D Bharwani
99f41e947f
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-10 02:16:42 +08:00
Diren D Bharwani
4731df28f0
Skeleton for Reworked Physics Debug Draw
2022-11-10 02:16:33 +08:00
XiaoQiDigipen
7ac910149e
Merge pull request #185 from SHADE-DP/SP3-6-CSharpLights
...
Add interface for C# light class and modified Color to match Unity's interface
2022-11-08 21:51:04 +08:00
Kah Wei
e89f5b4b9e
Added OnDrawGizmos for debug draw for scripts
2022-11-08 20:49:07 +08:00
Diren D Bharwani
8fbd32a144
Added Relative Sizes to Shapes
2022-11-08 00:46:09 +08:00
Diren D Bharwani
70dcad1313
Changed Collider to CollisionShape for improved clarity
2022-11-07 18:19:39 +08:00
Sri Sham Haran
b86f092f52
Merge branch 'main' into SP3-305-configurationsMerge
2022-11-04 18:37:19 +08:00
Xiao Qi
f2b589071c
Merge branch 'main' into SP3-13-Assets-Manager
2022-11-04 17:49:43 +08:00
Xiao Qi
6d0089ee12
Merge branch 'main' into SP3-13-Assets-Manager
2022-11-04 17:49:13 +08:00
Glence
be16fbed19
added item script in the scene
2022-11-04 17:35:09 +08:00
Xiao Qi
9ef956029e
Changed name check for hardcoded racoon mesh
2022-11-04 17:20:52 +08:00