Commit Graph

123 Commits (main)

Author SHA1 Message Date
Nigel Barink 7349c0eb16 Basics of the meta Asset Management 2023-06-05 17:48:11 +02:00
Nigel Barink 19b630104c Big clean up, getting ready for new AssetManagement
* Removing Old EventSystem
* Removing Assets from Editor project
* Clean up of EditorLayer.h
* Moving primitives of renderer out of their subfolder
2023-06-05 17:47:40 +02:00
Nigel Barink 7ec13a7020 Adding more input handlers 2023-05-17 19:41:48 +02:00
Nigel Barink 4a84df7c3e Ignore more dirty submodules 2023-05-16 22:06:45 +02:00
Nigel Barink a297c7cb3a Adding googletest as a submodule 2023-05-16 22:04:32 +02:00
Nigel Barink 8ef886df83 Clean up layer stack code, input now goes through each layer 2023-05-16 21:59:10 +02:00
Nigel Barink 817d0bdca9 Adding tests for decompose function
Added scale and rotation decompose test
2023-05-16 20:43:05 +02:00
Nigel Barink c640ac574b Fixed translation issue with Imguizmo 2023-05-16 20:18:26 +02:00
Nigel Barink 0b2148ad55 Adding more things to .gitignore 2023-05-13 21:37:53 +02:00
Nigel Barink 95f77209cf Fixing lvalue errors on linux build
nfd is not yet linking on Linux
2023-05-13 21:33:57 +02:00
Nigel Barink f7e087ee8d remove yaml-cpp from root directory, Add tests project 2023-05-13 20:13:25 +02:00
Nigel Barink e52db0fafd Remove Runtime Project 2023-05-13 20:10:47 +02:00
Nigel Barink 5bdc0034d1 Moving premake5.lua build file to their individual submodule folder 2023-05-13 20:10:25 +02:00
Nigel Barink ceb485018f Rudimentary implementation of the translate,Rotate,Scale tools 2023-05-13 18:10:24 +02:00
Nigel Barink daf26c304b Added a few thing , and started simplifying renderer
- Added context menu to Inspector
- Added check to see if project path exists.
- Simplifying the renderer design
2023-05-13 01:31:37 +02:00
Nigel Barink 550c1b6e5b Updated Editor architecture
- Everything editor related will be happening in EditorLayer
- Added an icon font
- Added proper icon
- Added project badge in main menu bar
- Texture class now keeps track of the texture width and height
2023-05-11 20:27:07 +02:00
Nigel Barink c82398205a Script component inspector, glfwErrorCallback etc...
* Filling out script component inspector
* adding error_callback for glfw
* Measuring gflwInit time
* Moving Swap interval set to be after making context current
2023-05-09 19:38:53 +02:00
Nigel Barink 43fc721413 Replacing a few std::cout with spdlog::info/error 2023-05-09 19:36:34 +02:00
Nigel Barink 52747202d3 Mark two git submodules to ignore when their working tree has changes 2023-05-08 22:18:14 +02:00
Nigel Barink fef75ec64b Started Working on an assetsystem for loading more complex models 2023-05-08 22:08:08 +02:00
Nigel Barink 3c38e2a988 Editor Layer + Updating Camera System
Started updating the camera system, Moving editor logic to an Editor layer
2023-05-08 22:07:29 +02:00
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