Commit Graph

102 Commits (e9852fe0e7f1b739ccb77deeec5529289b101c52)

Author SHA1 Message Date
Nigel Barink e9852fe0e7 Implementing started properly implementing Gizmo
Adding GetTransform to the transform component such that the proper view transform can be calculated for any scene camera
2023-05-08 22:06:01 +02:00
Nigel Barink 8e202f9d59 Introducing application layers
This feature is not really used yet but will help in the future simplify the propegation of events
2023-05-08 22:01:44 +02:00
Nigel Barink d8627d0357 Removing unused TransformTree definition files 2023-05-07 20:44:42 +02:00
Nigel Barink ec8045c4f4 Added Asset selection in Render3D component view (Not functional yet!) 2023-05-07 15:25:31 +02:00
Nigel Barink 042dc3a457 Update Transform Component view of the editor 2023-05-07 15:24:23 +02:00
Nigel Barink 28927d9a4e Moved model file loading logic to the editor code base 2023-05-06 21:06:49 +02:00
Nigel Barink 89f5b1497f Can move around scene again .. working on Rendering engine still 2023-05-03 16:40:43 +02:00
Nigel Barink 7448017701 Further abstraction of platform window handling
We could now build our own native window class and stop relying on GLFW. However this won't be important for now!
2023-01-31 18:41:46 +01:00
Nigel Barink ba69726e33 Updated gitignore and added submodule
- Added a filebrowser for imgui submodule
- Added gitignore entries for two submodules
2023-01-14 22:18:15 +01:00
Nigel Barink 7223c20f1d Changed selected type
Moving away from using the pure ENTT library types and starting to use my own
2023-01-14 22:11:09 +01:00
Nigel Barink 282844b905 Load the previously loaded project and scene on startup
(read from an ini file)
2023-01-14 21:44:48 +01:00
Nigel Barink 145338d666 Editor Refactor
This refactor of the editor code makes the code more maintainable.

All widget objects have now moved away from RAII and are now just allocated object that live for the entirety of the applications lifetime.
This feels better as I am used to this style plus constantly pushing and popping objects from the stack seems a little wasteful (although I as of right now have no way to prove that it is ).
2023-01-14 17:27:37 +01:00
Nigel Barink 79b68fbff1 deferred rendering can be enabled for certain meshes 2023-01-13 17:55:45 +01:00
Nigel Barink 13f67a7cdb Basic input handling, Editor camera Movement 2023-01-04 19:01:58 +01:00
Nigel Barink d5a6ddb9d5 Moving vegetation test to the renderer 2023-01-04 15:57:08 +01:00
Nigel Barink 0f9be33bd6 Primitive Blending functionality 2023-01-01 17:02:44 +01:00
Nigel Barink 75aa577211 Relation widget + small memory leak solved 2023-01-01 17:00:48 +01:00
Nigel Barink fe7e168e21 Adding a relationship component
The relationship component enables us to define a hierarchy through the ECS. This creates a pathway towards Inverse Kinematics
2022-12-31 02:42:27 +01:00
Nigel Barink 3722e63495 Updated Markdown Documents
- Added new screenshot
- Removed two unnecessary screenshots
- Moved screenshots to a separate showcase markdown file
- Updated the Todo list
- Removed the features markdown file and added it to the README
- Moved development instructions to a separate Development markdown file
2022-12-28 23:49:55 +01:00
Nigel Barink 3a9c07aff9 Mixing Deferred and Forward rendering
- TODO: fix Skybox affected by lighting pass
2022-12-28 23:17:55 +01:00
Nigel Barink 2dcc3f1803 Deferred rendering mode + Skybox
- Added deferred rendering mode to the renderer
- Added a skybox to the forward rendering mode
- moved default imported assets directory (temporary fix)
2022-12-28 22:35:23 +01:00
Nigel Barink 2a5c7811e7 Importing mesh asset now functioning
- Added debug logging for all user actions regarding FileDialog
- Importing a Meshasset wil now Create a propery entity for the asset.
2022-12-27 21:16:56 +01:00
Nigel Barink 3fa5455b43 Improving the editor, ImGuizmo is now rendering guizmo's
- Added Guzimo's to the sceneview
- Added new menu to the menubar
- Improved multiple widgets (ImGui windows)
- Added a new RuntimeControl widget (ImGui window)
- New Screenshots
2022-12-24 02:10:29 +01:00
Nigel Barink ad79aa2865 Small rendering improvements
- Make view and projection matrix part of the camera
- Add a getter function for the camera in renderer
- Take shader uniform values by const ref
2022-12-24 02:04:51 +01:00
Nigel Barink fd68c5dde3 Moving Physics to its own system
- Moved Physx to a singular Physics system
- Removed old Physx test code from application.cpp
2022-12-24 02:00:11 +01:00
Nigel Barink 1f1a776686 Adding physx and fixing memory allocation of AssetView 2022-12-22 17:16:09 +01:00
Nigel Barink e7f1bd7d52 Removing big memory hog from renderer 2022-12-21 19:11:27 +01:00
Nigel Barink a1ec94e983 Applying better design choices for general engine
Renderer is causing a big memory leak because it never deletes its Vertex Array
2022-11-12 22:40:36 +01:00
Nigel Barink 4b84707f98 New entrypoint 2022-11-12 16:57:34 +01:00
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