Commit Graph

59 Commits (b44c88d05caabf00ce72e2d94992072ed67a1565)

Author SHA1 Message Date
Nigel Barink b44c88d05c Engine clean
Added namespaces to the core engine, improved premake setup, added a buildsolution batch script, removed tinygltf submodule
2022-11-04 14:14:53 +01:00
Nigel Barink 644b6db100 More official engine name
Updating name in readme, added more recent screenshot
2022-11-04 09:56:38 +01:00
Nigel Barink f37175a01e Additions to editor
Entities can be selected using the scene-explorer, Components can be viewed and edited through the inspector , empty Entities can be added through the mainmenu bar
2022-11-03 20:33:14 +01:00
Nigel Barink c62f3615d4 Redering cube in editor 2022-11-03 15:06:42 +01:00
Nigel Barink 3e75406783 Adding ImGuizmo submodule 2022-11-03 10:42:57 +01:00
Nigel Barink 65ae892951 Performance sampler added 2022-10-30 16:25:18 +01:00
Nigel Barink f0984b6117 Adding a really basic ambient light component 2022-10-23 17:33:49 +02:00
Nigel Barink adf2331ab1 Render position of the cube based on the transform component, fixed some compile issues with the previous commit 2022-10-23 14:36:23 +02:00
Nigel Barink 99eb5282e5 Added a prepare step to the renderer , removed transform object and GPUBucket object, Added a mesh to the Render3DComponent
The renderer prepare uploads the necessary vertex data to the GPU
2022-10-23 14:02:13 +02:00
Nigel Barink bc1254e427 Rendering a cube basics through ENTT 2022-10-23 12:57:58 +02:00
Nigel Barink 7458254b2d Basic Entity Components implementation 2022-10-23 00:14:47 +02:00
Nigel Barink b359a940ba Adding a new submodel ENTT 2022-10-22 17:20:09 +02:00
Nigel Barink e0e8de90b1 Removing B-ECS from BarinkEngine, Moving not really graphics related definitions outside the graphics folder, Moving Graphical primitives into a graphics primitives subfolder 2022-10-22 15:36:28 +02:00
Nigel Barink 23ac663667 Sandbox App is no longer an editor, Editor setup has moved to the editor project 2022-10-22 15:21:48 +02:00
Nigel Barink 955eeabb48 Adding / organizing the workspace into multple seperate projects 2022-10-22 14:58:55 +02:00
Nigel Barink 29e715b92a Adding docking support through ImGui , Adding multiviewport support through ImGui, Moving header file back into the src directory , started building the editor, Added framebuffer to renderer.
BUG:
The framebuffer will not be displayed in the editor for some reason
2022-10-22 13:27:23 +02:00
Nigel Barink 463a9ff307 Sped up application load time by Enginestatistics allocation from heap to stack, Colour and rotation render test 2022-10-09 21:13:24 +02:00
Nigel Barink cbbdafcb3e Moved rendering code outside of the sandbox update function, renderer instance is now rendering the cube ( although colour is still missing but should be something simple) 2022-10-08 20:40:06 +02:00
Nigel Barink b03b82272f Moving to a single renderer instance system 2022-10-08 15:34:02 +02:00
Nigel Barink 3974889f7e More config and testing adding models
Seperated Sanbox premake config from the main premake file.
2022-08-15 21:35:22 +02:00
Nigel Barink db6def3bc9 FIXED inputsystem linker error 2022-08-15 21:15:12 +02:00
Nigel Barink ab5599f1fc Started development of BECS - the basic ECS system for the engine 2022-08-06 18:24:05 +02:00
Nigel Barink 3639f967e1 Ignore untracked file changes in some submodules
These files are probably nothing of great importance to our
development and thus have no business showing up in our git status
2022-08-06 18:22:10 +02:00
Nigel Barink 5a06b068f3 Moving source files to a src folder 2022-08-06 18:21:42 +02:00
Nigel Barink e31fd036ea Added the basics for a scene explorer in ImGui 2022-07-10 15:52:25 +02:00
Nigel Barink 6a2e8d3b2f Basic Scene creation 2022-07-09 22:21:56 +02:00
Nigel Barink f8b390923e Working on semi proper API to build a scene 2022-07-09 21:22:50 +02:00
Nigel Barink b7e3465406 Editing the modelimporter to allow to create scene graphs 2022-07-08 21:35:14 +02:00
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