Commit Graph

123 Commits (main)

Author SHA1 Message Date
Nigel Barink 3d3596a3b6 Framebuffer now takes a size parameter
Scene now fills entire scene/Game view widget
2022-11-11 19:30:54 +01:00
Nigel Barink 628225af45 Asset explorer showing files
After loading a project the asset explorer now show all the project files.
2022-11-11 13:10:05 +01:00
Nigel Barink b5db500d48 Import / Export Meshes 2022-11-10 21:51:11 +01:00
Nigel Barink f7a85d53ab Editor Asset explorer setup 2022-11-10 21:50:27 +01:00
Nigel Barink c57177a1a9 Rudimentary Scene loading 2022-11-09 15:27:06 +01:00
Nigel Barink 9a9db279a5 Added new ComponentWidget and ViewWidget
A Render3DComponent can now be edited, A game view is available in the editor for game runtime rendering
2022-11-05 20:50:35 +01:00
Nigel Barink 210d535c41 Removed unnecessary inlcudes
This togheter with the previous commit has drastically improved compile time
2022-11-05 20:33:19 +01:00
Nigel Barink b2688e843c Precompiled header for the engine core library 2022-11-05 20:14:36 +01:00
Nigel Barink 28c64b43ba Improved architecute
further abstracting away the runtime
2022-11-05 19:14:23 +01:00
Nigel Barink 02e14aa8fa Solving a few warnings 2022-11-05 17:17:08 +01:00
Nigel Barink 7343300dcb Loading Projects now 2022-11-05 13:47:37 +01:00
Nigel Barink 3b91516d6e Move Editor UI into its own 'UI' folder 2022-11-05 13:47:19 +01:00
Nigel Barink c8ebc0fa17 Working on scene and project serialisation
Added scene/project save and load to main menu, added file dialogs for opening and saving scene/project
2022-11-05 12:50:01 +01:00
Nigel Barink 41d5b87c7b Editor console basics and more dependencies
Added basics of an editor console, Added YAML-CPP as a dependency of the editor , Added NativeFileDialog as a dependency
2022-11-05 12:29:50 +01:00
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