Commit Graph
100 Commits
Author SHA1 Message Date
Simon Lübeß 08613b9e82 Overcomplicated chunk loading
Implemented an overly complicated mechanism into LoadChunk to be able to passively wait for chunks to be loaded by another thread.
2021-03-03 19:00:34 +01:00
Simon Lübeß 4b032d2c7e Added Semaphore and Mutex 2021-03-03 18:57:42 +01:00
Simon Lübeß 9d52f77b43 Switched to Int32 vector from Point 2021-03-03 16:34:25 +01:00
Simon Lübeß 7a777bb55e Added Int32 vectors 2021-03-03 16:33:58 +01:00
Simon Lübeß f87c0e2ecd Raycasting world now returns intersection location and face 2021-03-02 22:25:38 +01:00
Simon Lübeß 488d2a55c4 Added voxel raycasting and voxel chunk access 2021-03-02 22:07:21 +01:00
Simon Lübeß cbfbd449ff Start of block raycasting 2021-02-26 10:58:11 +01:00
Simon Lübeß 4dcf1b5bec Updated .gitignore and added Chunk loading and saving 2021-02-24 20:07:02 +01:00
Simon Lübeß afc7594df9 initial VoxelGame commit 2021-02-24 14:55:12 +01:00
Simon Lübeß 0461669e13 Added rudimentary DepthStencilTarget 2021-02-21 14:45:50 +01:00
Simon Lübeß 78af9e736e Added GeometryBinding refcounting 2021-02-20 14:52:51 +01:00
Simon Lübeß 9ae376f572 Added Vectors and Vector component swizzling 2021-02-20 13:38:05 +01:00
Simon Lübeß 64e9cc1613 Constants of Effects can now be accessed easily 2021-02-16 18:11:34 +01:00
Simon Lübeß 6ab6a6a0b9 Added preprocessing for effects 2021-02-14 15:31:58 +01:00
Simon Lübeß 1f33949be2 BufferCollection cleanup + destringviewified 2021-02-12 12:00:07 +01:00
Simon Lübeß 08026eaf02 Added Effect constructor 2021-02-09 17:25:24 +01:00
Simon Lübeß 1ce94b6a6c VertexLayout cleanup 2021-02-09 17:24:21 +01:00
Simon Lübeß abe4f66724 Added BlendState 2021-02-09 13:37:26 +01:00
Simon Lübeß 7e3bb932fc Added simple SamplerStateManager 2021-02-08 19:36:21 +01:00
Simon Lübeß 9219ccf9d8 Textures can now hold SamplerStates 2021-02-08 15:48:00 +01:00
Simon Lübeß ea140f0532 Added SamplerState 2021-02-08 15:36:47 +01:00
Simon Lübeß 11bc63fb04 Reference counting fixes 2021-02-08 15:25:46 +01:00
Simon Lübeß 2adb138f72 Added Textures 2021-02-08 12:37:30 +01:00
Simon Lübeß 1055712ec1 Added Submodule DirectXTK-beef 2021-02-07 18:42:10 +01:00
Simon Lübeß 54f2c0fcec RefCounted GraphicsContext 2021-02-07 13:04:18 +01:00
Simon Lübeß c1fc1c3fd8 Added extension functions for ImGui 2021-02-07 13:00:17 +01:00
Simon Lübeß 9ea56d6786 Added RefCounting, added ConstantBuffers 2021-02-06 19:37:07 +01:00
Simon Lübeß a2e4b5563e Added Assert to Logger 2021-02-05 15:50:50 +01:00
Simon Lübeß bca23f7a23 GameTime no longer inherits Stopwatch 2021-01-09 14:30:49 +01:00
Simon Lübeß 5277638e01 Added simple camera control 2021-01-09 13:06:08 +01:00
Simon Lübeß 33f8c86a18 Updated directx-beef 2021-01-09 12:40:45 +01:00
Simon Lübeß 4054a9b0c2 Added Camera, Renderer, ... and moved example to sandbox 2021-01-09 12:05:05 +01:00
Simon Lübeß 2159f8087a Drawing test quad 2021-01-08 10:38:16 +01:00
Simon Lübeß 1fe678103e Added Context, Bind and Unbind to GeometryBinding 2021-01-06 19:29:27 +01:00
Simon Lübeß 9eb4a19df1 Added GeometryBinding 2021-01-06 19:22:43 +01:00
Simon Lübeß 4a5a90c859 Added IndexSize to IndexFormat 2021-01-06 19:21:57 +01:00
Simon Lübeß bfb6bc57f4 VertexBuffer is no longer generic 2021-01-06 19:11:13 +01:00
Simon Lübeß 523da5536b (Breaking) Made VertexLayout initialization sexy 2021-01-02 16:32:08 +01:00
Simon Lübeß 3c58e20787 Workaround beef bug 2021-01-01 14:47:49 +01:00
Simon Lübeß e021da8e0b Shaders and BufferCollection now use append allocation 2020-12-31 13:19:27 +01:00
Simon Lübeß ebb5d94c1f Fixed wrong generic const parameter 2020-12-31 12:56:09 +01:00
Simon Lübeß fc5d654d01 Removed NotImplemented call 2020-12-30 19:34:42 +01:00
Simon Lübeß 5736f02dbf cbuffers now initialized with default values from shader 2020-12-30 19:33:51 +01:00
Simon Lübeß 56183c1896 Added reflection and constant buffers to vertex shaders 2020-12-30 18:52:32 +01:00
Simon Lübeß d0c8685ce7 Added SetData for single struct 2020-12-30 18:52:06 +01:00
Simon Lübeß a02b781347 WindowsWindow now calls DestroyWindow 2020-12-30 14:48:37 +01:00
Simon Lübeß 9a010f7c4a Added Buffers to Shaders 2020-12-30 14:47:29 +01:00
Simon Lübeß f3c5ac3d60 Added Assert to Logger 2020-12-30 14:22:51 +01:00
Simon Lübeß 23d2572941 Fixed crash when closing window 2020-12-29 17:34:09 +01:00
Simon Lübeß 567ef97ffb Moved pixel-/vertex shader to own files 2020-12-27 13:55:38 +01:00
Simon Lübeß 3a599fd21a Added vertex shader 2020-12-24 23:53:56 +01:00
Simon Lübeß 9964a1f5ad Added generic Buffer 2020-12-06 00:08:55 +01:00
Simon Lübeß 242d9e728c Added Shader base and PixelShader 2020-12-04 19:02:42 +01:00
Simon Lübeß b12baf695a Added SetPrimitiveTopology 2020-12-01 20:06:29 +01:00
Simon Lübeß eea334db18 fix: Added (dirty) VertexLayout 2020-12-01 19:58:48 +01:00
Simon Lübeß 1c58d0986e Added (dirty) VertexLayout 2020-12-01 19:57:59 +01:00
Simon Lübeß e7464118d6 Now using interpolation strings 2020-12-01 19:29:14 +01:00
Simon Lübeß 6e2c801265 Fixed error "Cant' find project ImGuiImplDX11" 2020-11-29 01:17:57 +01:00
Simon Lübeß 0d4bab5dba Added SetViewport to GraphicsContext, removed Dx11Cheater, cleanup 2020-11-25 21:23:05 +01:00
Simon Lübeß 684669321a Updated DirectX 2020-11-25 20:50:36 +01:00
Simon Lübeß ff16f6a895 Added RasterizerState 2020-11-25 20:04:51 +01:00
Simon Lübeß 5954fbc411 Render basic geometry
Added GraphicsContext, SwapChain, Buffer, VertexBuffer, IndexBuffer and a basic DX11 implementation.
2020-11-25 13:03:40 +01:00
Simon Lübeß 0237e0b38d ImGui fixed
- Disabled DpiAwareness
- Now using ImGui implementation  WndProcHandler
- Fixed horizontal scrolling
2020-11-17 17:53:48 +01:00
Simon Lübeß 8d39da3d3d Added ID3D11Debug 2020-11-17 14:56:39 +01:00
Simon Lübeß 0a32778965 Fixed ImGuiImplDX11 include 2020-11-17 14:55:38 +01:00
Simon Lübeß dbecf7cdb1 Fixed com interface releasing and nullification 2020-11-17 12:56:13 +01:00
Simon Lübeß a3eb2b08ba Fixed imgui-beef 2020-11-17 12:51:26 +01:00
Simon Lübeß 7749d9afb4 Updated directx-beef 2020-11-17 12:40:59 +01:00
Simon Lübeß 1dfafc133b changed .submodule 2020-11-17 12:31:52 +01:00
Simon Lübeß 6211655041 Fixed double ImGuiLayer 2020-11-17 11:58:46 +01:00
Simon Lübeß 9b2d32d43b Added Default property to WindowDescription 2020-11-16 21:45:50 +01:00
Simon Lübeß 7b81339889 Window platform implementation now via extension 2020-11-16 21:44:53 +01:00
Simon Lübeß ebd56e54b1 Fixed ImGui being distorted after window resize or move 2020-11-16 21:17:04 +01:00
Simon Lübeß 6bfeffa49d Fixed ImGui and added docking and viewport support 2020-11-16 21:16:19 +01:00
Simon Lübeß b472d0774d Added submodule imgui-beef 2020-11-16 20:19:13 +01:00
Simon Lübeß 60dbb11664 Removed imgui submodule 2020-11-16 20:16:27 +01:00
Simon Lübeß c699741682 Refactored and completed WindowsInput implementation 2020-11-16 18:04:59 +01:00
Simon Lübeß 3ef090e932 Added old-state-methods and GetMouseMovement 2020-11-16 18:04:31 +01:00
Simon Lübeß 37f59793d9 Renamed KeyCodes.bf to Key.bf and changed enum syntax to case-style 2020-11-16 18:03:43 +01:00
Simon Lübeß 7b0ff441c9 ImGui now uses GlitchyEngine KeyCodes 2020-11-14 15:13:06 +01:00
Simon Lübeß 696961e46c Started making Input framebased and added KeyCodes 2020-11-14 15:09:59 +01:00
Simon Lübeß 356011119b Implemented basic input polling 2020-11-13 19:45:23 +01:00
Simon Lübeß 5697f606d5 Added Position- and Size-properties to Windpw 2020-11-13 19:44:45 +01:00
Simon Lübeß 001bd346a9 Added NativeWindow-property to Window 2020-11-13 19:44:16 +01:00
Simon Lübeß 6b97fdaccb Changed Application.Get to function 2020-11-13 19:43:21 +01:00
Simon Lübeß 80a04e68c9 Added Point structure 2020-11-13 19:42:00 +01:00
Simon Lübeß 6de24ec95a Removed temporary vsync and example log message 2020-11-13 13:50:46 +01:00
Simon Lübeß 1e5420f42a Replaced sketchy manual linking with not so sketchy override via extension 2020-11-13 13:50:01 +01:00
Simon Lübeß 4401d80948 Fixed backbuffer resolution on startup and after maximizing 2020-11-13 13:47:47 +01:00
Simon Lübeß 40c05d22a9 Inverted hscrolling 2020-11-13 13:47:13 +01:00
Simon Lübeß 6402503a02 GameTime tick now first thing in frame 2020-11-13 13:45:41 +01:00
Simon Lübeß ac63a0f1b3 Added trace messages to UpdateSwapchain 2020-11-13 13:45:20 +01:00
Simon Lübeß b73dec5636 Added imgui.ini to .gitignore 2020-11-13 13:12:18 +01:00
Simon Lübeß 4b877af226 Added ImGui 2020-11-12 23:25:48 +01:00
Simon Lübeß 6e71eeea25 Revert "Added cimgui"
This reverts commit 9ce3766c1a.
2020-11-09 23:08:41 +01:00
Simon Lübeß 9ce3766c1a Added cimgui 2020-11-09 22:57:10 +01:00
Simon Lübeß b41b57a61d Moved vendor directory 2020-11-09 22:53:12 +01:00
Simon Lübeß 9a84e0409f Added a way to create window platform independant 2020-11-09 22:36:36 +01:00
Simon Lübeß efb46ff25c Implemented Layers and LayerStack 2020-11-09 00:10:02 +01:00
Simon Lübeß aa2165ef77 Implemented WindowsWindow and EventCallback 2020-11-08 18:21:54 +01:00