Commit Graph

31 Commits (Feature/BasicRenderer)

Author SHA1 Message Date
Nigel Barink 85f9c78adf Started implementation of first event/message passing system 2022-06-10 22:44:40 +02:00
Nigel Barink 4df6cfba90 Added simple glfw input callbacks 2022-06-10 21:06:45 +02:00
Nigel Barink 7b9685c381 Externalized ImGUI compilation and fixed white screen issue 2022-06-10 21:06:20 +02:00
Nigel Barink 82e0f473fb Shader copying now is a pre-build step 2022-06-08 21:40:49 +02:00
Nigel Barink 16b61986a1 Adding textures capabilities
* Added Texures to the two sample cubes
* Modified mesh structure
	- mesh now contains indices and vertices
	- Vertices contain vertices and uv's (later on they will also
	contain normals)

Solution definitely not perfect and needs improvement.
2022-06-05 01:44:54 +02:00
Nigel Barink d019155d10 Working on basic rendering #4
* Added a basic material abstraction
* Started implementation of RenderTarget (such as render textures)
2022-06-04 18:26:58 +02:00
Nigel Barink d9f0f40ad9 Fixed perfomance counter
* Added vert-count and draw call count
* extracted performance function to seperate header as inline functions
2022-05-29 21:31:21 +02:00
Nigel Barink 02727c74bb Clean up of sandbox
* Added a statistics panel
* Added comments to `Sandbox.cpp`
* Moved utility functions and GUI code out of sandbox.cpp
2022-05-29 15:23:08 +02:00
Nigel Barink 8cc6ed1f15 Multiple changes to prepare for the basic render engine.
* Rendering 2 cubes
* per cube transform panels
* Updated TODO.md
* Updated README.md
2022-05-28 21:19:16 +02:00
Nigel Barink 76c051e407 Made multiple managers for individual pieces
Added UIManager that renders the UI inside the window
2022-05-28 18:49:08 +02:00
Nigel Barink dae8830e2b Graphics Engine is now part of the whole engine instead, Project will
actually compile #9
2022-05-28 13:32:17 +02:00
Nigel Barink 3446bc2399 Reorganising the game engine structure. Getting things ready for real development of the engine 2022-05-27 22:47:36 +02:00
Nigel Barink 4625ca657b Small fix up
* Added multiple ImGui windows with better widgets
* Fixed cube rendering wrong
* Added ImGui scripting window ( max 255 character script)
2022-05-13 22:38:37 +02:00
Nigel Barink 9165e30d0e Incorrectly loading a model, Adding a VertexArray abstraction
* Using import library assimp to incorrectly load a cube.obj
* Using a temporary Renderable class as a placeholder for all data needed
to render the mesh.
* Vertex Array abstraction added
2022-05-04 23:25:18 +02:00
Nigel Barink eb0e7f7a51 Abstracted away the creation of buffers
Added a transform
Updated the TODO.md
Updated default shaders to include the apropriate three 4x4 matrices to
render in 3D
2022-05-04 15:27:42 +02:00
Nigel Barink af4a114fad Added IMGUI 2022-05-04 14:39:27 +02:00
Nigel Barink 9c92cc05b7 Added Gorrilla-Audio and Tinygltf Library
Started laying out a assetManager / ModelImporter
2022-05-04 11:11:57 +02:00
Nigel Barink 8efa1d1d0a Added the last two libs which are not yet submodules
to gitignore
2022-04-30 22:53:40 +02:00
Nigel Barink f5c680ba3e Improved shader definition loader 2022-04-30 22:51:50 +02:00
Nigel Barink f547ff1b8f Basic rectangle drawing 2022-04-30 20:20:07 +02:00
Nigel Barink ddf7e14682 Added spdlog as a submodule 2022-04-29 20:40:25 +02:00
Nigel Barink f613059c2d Added glm as a git submodule 2022-04-29 13:32:58 +02:00
Nigel Barink 56ec05adf1 Added GLFW as a submodule 2022-04-29 13:28:42 +02:00
Nigel Barink a6d2c49f71 Merge branch 'main' of https://git.barink.dev/Nigel/MyGameEngine into main 2022-04-29 13:10:42 +02:00
Nigel Barink 358b088fc9 Adjusted TODO and README markdown files 2022-04-29 13:10:08 +02:00
Nigel Barink bd116cd203 Adjusted TODO and README markdown files 2022-04-29 13:09:07 +02:00
Nigel Barink 86b0506bbb Added abstracted window
Added Lua interpreter
2022-04-28 21:02:54 +02:00
Nigel Barink 168b936945 Created a basic shader object and window object
Using GLAD to load OpenGL/Vulkan extensions
2022-04-22 22:37:38 +02:00
Nigel Barink dab01f1541 Initial setup.
Correctly linking glfw and spdlog...
Linking could be improved by not needing the sandbox
application to also be linked with glfw
2022-04-20 21:40:35 +02:00
Nigel Barink 2a93a78c4f Cleanup workspace 2021-09-29 19:14:27 +01:00
Nigel Barink b089c76938 Initial commit, Basic project structure 2021-05-22 20:50:20 +01:00