Simon Lübeß
a2db0774f8
Cleanup
2022-02-13 02:14:56 +01:00
Simon Lübeß
5b1f694bc9
SwapChain.AspectRatio fix
2022-01-22 10:44:10 +01:00
Simon Lübeß
69be98bb38
FontRenderer: Allow preparing empty strings
2022-01-22 10:42:27 +01:00
Simon Lübeß
7eb4001a1b
PrepareFont calculates total pen advance
2022-01-21 21:19:44 +01:00
Simon Lübeß
bca4552341
Added AspectRation property to SwapChain
2022-01-21 21:19:02 +01:00
Simon Lübeß
d96ec6f21b
Renderer2D: DrawQuad with Matrix + BeginScene now takes any camera
2022-01-21 21:17:43 +01:00
Simon Lübeß
44fe2c3281
Start of gamma correction
2022-01-15 17:50:52 +01:00
Simon Lübeß
6a55108a37
Fixed RenderTargets leaking a texure when it's a Swapchain target
2022-01-15 17:49:36 +01:00
Simon Lübeß
a7b2515cf4
Added PNG-Loader to Texture2D
2022-01-15 14:34:46 +01:00
Simon Lübeß
ee9dfd4593
Don't use Harfbuzz for simple text rendering + Ignored warnings
2022-01-15 13:29:45 +01:00
Simon Lübeß
3c1897b926
Even more Profiling
2022-01-14 22:01:41 +01:00
Simon Lübeß
8a84843f54
Updated Freetype-beef
2022-01-14 21:50:06 +01:00
Simon Lübeß
06469f3350
Instrumentation
2022-01-14 21:49:15 +01:00
Simon Lübeß
78faf4cb81
Simple bidirectional text
2022-01-08 02:17:35 +01:00
Simon Lübeß
e292029015
Start of font preparation
2022-01-07 18:42:43 +01:00
Simon Lübeß
5373d92297
Updated Freetype
2022-01-07 03:28:39 +01:00
Simon Lübeß
deedb62a03
Merge remote-tracking branch 'origin/main' into main
2022-01-05 15:42:57 +01:00
Simon Lübeß
6199496987
Fixed release build
2022-01-05 15:36:34 +01:00
Simon Lübeß
826ac68873
Basic Harfbuzz support and use MSDGen with Skia
2022-01-05 15:31:09 +01:00
Simon Lübeß
b2ce560bfc
Added DepthStencilState
2022-01-01 19:34:59 +01:00
Simon Lübeß
664ba552ea
Added struct and disposable component Generators
2021-12-30 16:52:32 +01:00
Simon Lübeß
b555cc37d1
Simplified dispose function of DisposableComponents
2021-12-30 16:52:13 +01:00
Simon Lübeß
b3ab30e72a
DrawQuad with transform matrix
2021-12-30 16:18:43 +01:00
Simon Lübeß
1cc37ee168
Run default constructor when assigning component
2021-12-30 16:18:22 +01:00
Simon Lübeß
f4d64b15fa
Merge remote-tracking branch 'origin/main' into main
2021-12-15 21:25:17 +01:00
Simon Lübeß
e55b73db0f
Renamed Int-Vector and added swizzle
2021-12-08 20:58:26 +01:00
Simon Lübeß
f28984bec5
Enabled vector swizzle
2021-12-04 15:52:48 +01:00
Simon Lübeß
0fd6ac1dee
Fixed preprocessor macros
2021-10-30 14:21:26 +02:00
Simon Lübeß
419509ab7f
Improved Define names
2021-10-30 14:17:17 +02:00
Simon Lübeß
2bc87b437a
Removed delete:append in GameTime
2021-10-30 11:25:31 +02:00
Simon Lübeß
b3f9376dc8
Added Min/Max to Vectors
2021-10-30 11:24:58 +02:00
Simon Lübeß
ffafa380ea
Added Backbuffer to Swapchain + RenderCommand API changes
2021-10-15 22:40:42 +02:00
Simon Lübeß
90e654b750
Renderer2D cleanup
2021-10-15 22:39:24 +02:00
Simon Lübeß
adaf62de62
Fixed circle instancing buffer + clip pixels
2021-10-15 12:57:32 +02:00
Simon Lübeß
dcb8424c2d
Added circle rendering to Renderer2D
2021-10-14 23:01:08 +02:00
Simon Lübeß
84df8c111b
Fixed various memory leaks + ModelLoader cleanup
2021-10-14 20:47:25 +02:00
Simon Lübeß
cd82a99450
Added helpers for deleting/clearing Lists of RefCounters
2021-10-14 20:42:24 +02:00
Simon Lübeß
9216462a51
ComponentPools no longer falsely trigger leak detection
...
Fixes #3
2021-10-14 20:40:18 +02:00
Simon Lübeß
3eb7068bca
Dispose Components when EcsWorld gets deleted
2021-10-14 18:56:29 +02:00
Simon Lübeß
54870330b6
Fixed memory leak
2021-10-14 15:54:13 +02:00
Simon Lübeß
ac74aeb116
Updated Submodule msdfgen
2021-10-13 23:12:32 +02:00
Simon Lübeß
b5bfcf5741
Fixed memory leak
2021-10-13 23:04:43 +02:00
Simon Lübeß
0cbbf94fe6
Use static D3D11 device and context
2021-10-13 22:56:22 +02:00
Simon Lübeß
84daee95e4
Replaced RefCounted with RefCounter
2021-10-13 09:52:12 +02:00
Simon Lübeß
2cd9ab3e69
Fixed memory leaks
2021-10-11 12:41:56 +02:00
Simon Lübeß
5a82b89622
Fixed memory leak in Renderer2D
2021-10-09 16:47:20 +02:00
Simon Lübeß
b020855ec5
Cleaned ExampleLayer2D
2021-09-29 23:58:01 +02:00
Simon Lübeß
4dc6c916ae
Reimplemented Renderer2D
...
- Renderer2D now static
- Renderer now calls Init and Deinit of Renderer2D
- Renderer2D now calls Init and Deinit of FontRenderer
- Fixed Deinit order of Layers and renderer (e.g. Layers now deinit first)
- Sandbox2D now uses SandboxApp (only loads different layer)
2021-09-29 23:27:41 +02:00
Simon Lübeß
9a9d75afbc
Movement speed now depends on zoom
2021-09-29 23:18:32 +02:00
Simon Lübeß
fab0f99951
Added guizmo
...
Translation is broken for some reason
2021-09-28 21:56:51 +02:00
Simon Lübeß
122f7e9904
Replaced imgui with engine specific repository
2021-09-28 21:27:08 +02:00
Simon Lübeß
eb2bbf4b82
Keep references to Images used by ImGui
2021-09-21 16:49:10 +02:00
Simon Lübeß
611782653c
Adapted Editor to new RenderTarget api
2021-09-21 16:36:22 +02:00
Simon Lübeß
229d2b578e
Reworked RenderTarget2D and corresponding API
2021-09-21 16:30:34 +02:00
Simon Lübeß
8e39d7988b
Added RefCounted helpers
2021-09-21 16:29:22 +02:00
Simon Lübeß
4debaee7d4
SetViewport now part of RenderCommand
2021-09-21 13:15:43 +02:00
Simon Lübeß
4af61a372f
Fire WindowResizeEvent when window minimizes
...
Also no longer updates layer-stack when the application is minimized
2021-09-21 13:14:58 +02:00
Simon Lübeß
3f1f5736b5
Improved MSDF generation and rendering
2021-09-20 15:42:10 +02:00
Simon Lübeß
2afff4ec20
Added MSDF to Font and FontRenderer
2021-09-19 21:19:00 +02:00
Simon Lübeß
764b9f27b6
Start of TextureViewer
2021-09-19 21:16:57 +02:00
Simon Lübeß
2d5c408b54
Flush Renderer2D when instance buffer is full
2021-09-19 17:36:58 +02:00
Simon Lübeß
22a4bc355e
Fixed typo
2021-09-19 17:35:53 +02:00
Simon Lübeß
90284739c0
Added support for int shader variables
2021-09-19 14:22:37 +02:00
Simon Lübeß
8471b7d7b9
Added SamplerState for white texture
2021-09-19 13:33:48 +02:00
Simon Lübeß
38fd5fa2c8
Switched to static c-library, updated submodules
2021-09-18 22:44:11 +02:00
Simon Lübeß
0c4fd27226
Removed warnings when converting Vectors from GlitchyEngine to DirectX
2021-09-18 18:59:01 +02:00
Simon Lübeß
a80a63fbc1
Start of msdf text
2021-09-18 18:39:34 +02:00
Simon Lübeß
9cd95ed0e4
Renderer2D can now use custom effects
2021-09-18 18:38:45 +02:00
Simon Lübeß
b5efaf2b5b
Added submodule msdfgen
2021-09-18 18:37:12 +02:00
Simon Lübeß
da6d242353
Adapted to internal change in Texture
2021-09-17 13:09:15 +02:00
Simon Lübeß
0b1ec9a837
Improved Editor
...
- Added window docking
- Added MenuBar
- Added scene viewport
- Added closing and reopening for editor windows
2021-09-17 13:05:15 +02:00
Simon Lübeß
45d298b755
Added overload for Image to ImGui extension
2021-09-17 13:00:17 +02:00
Simon Lübeß
266d7a4651
Added RenderTarget2D
2021-09-17 12:58:33 +02:00
Simon Lübeß
d051b392d0
Fixed class name in EditorApp
2021-09-16 18:16:40 +02:00
Simon Lübeß
e2fc373a06
Update EntityHierarchyWindow.bf
2021-09-16 18:14:37 +02:00
Simon Lübeß
48de55f987
Updated imgui
2021-09-16 18:13:10 +02:00
Simon Lübeß
0079b80b1c
Created editor project and moved Editor there
2021-09-16 13:19:25 +02:00
Simon Lübeß
f6b073557a
Updated .gitignore
2021-09-16 13:18:49 +02:00
Simon Lübeß
b8626f3c27
Made buffer fixed array
2021-09-15 18:43:45 +02:00
Simon Lübeß
0b8be33d68
Workaround for localTransform calculation changing transform values
2021-09-15 17:53:27 +02:00
Simon Lübeß
e14ebec387
Added Component editor for Transform- and DebugNameComponent
2021-09-15 17:52:35 +02:00
Simon Lübeß
b4bb5c4a39
Added Editor and EntityHierarchyWindow
2021-09-15 13:27:03 +02:00
Simon Lübeß
c04cd8a956
Added generic TreeNode class
2021-09-15 13:25:57 +02:00
Simon Lübeß
908167c83e
Added DebugNameComponent
2021-09-14 23:54:50 +02:00
Simon Lübeß
ab17598972
[ECS] WorldEnumerator now skips deleted entities
2021-09-14 23:29:33 +02:00
Simon Lübeß
db05a5a6a9
[ECS] Fixed_disposingPools gets trashed when _componentPools reallocates
2021-09-14 23:28:18 +02:00
Simon Lübeß
cb2c83678e
Assigning a component again now returns the component instead of null
2021-09-14 23:00:42 +02:00
Simon Lübeß
b0b5f76423
Animations now component based
2021-09-13 20:52:41 +02:00
Simon Lübeß
44374a84a7
Added DrawCoordinateCross function
2021-09-11 17:50:30 +02:00
Simon Lübeß
39f5893c7e
Updated AnimationClip, Model Loader now loads Nodes into ECS
...
- SandboxApp: Started basic skinned mesh render system
2021-09-11 17:00:11 +02:00
Simon Lübeß
89bb475994
Added SkinnedMeshRendererComponent
2021-09-11 16:58:00 +02:00
Simon Lübeß
c4ed04ba96
Replaced Error with debug assert
2021-09-11 16:57:33 +02:00
Simon Lübeß
886ce2fe3d
Added basic AnimationComponent
2021-09-11 16:57:16 +02:00
Simon Lübeß
8442f7741d
Fixed setting matrix array in material
2021-09-11 16:31:58 +02:00
Simon Lübeß
29749f64e9
Added WorldEnumerator with 4 generic parameters
2021-09-11 16:31:16 +02:00
Simon Lübeß
5c95668a1d
Start of DebugRenderer
2021-09-11 12:58:25 +02:00
Simon Lübeß
cb51880925
Reference fixes
2021-09-11 12:57:44 +02:00
Simon Lübeß
da24643c64
Added SetVariable for Matrix-arrays
2021-09-11 12:50:27 +02:00
Simon Lübeß
f761f87e1d
Added Setter for LocalTransform
2021-09-11 12:49:17 +02:00
Simon Lübeß
fc2f1cd7e6
Skeleton and AnimationClip now refcounted
2021-09-11 12:48:49 +02:00