Commit Graph

118 Commits

Author SHA1 Message Date
8ef886df83 Clean up layer stack code, input now goes through each layer 2023-05-16 21:59:10 +02:00
817d0bdca9 Adding tests for decompose function
Added scale and rotation decompose test
2023-05-16 20:43:05 +02:00
c640ac574b Fixed translation issue with Imguizmo 2023-05-16 20:18:26 +02:00
0b2148ad55 Adding more things to .gitignore 2023-05-13 21:37:53 +02:00
95f77209cf Fixing lvalue errors on linux build
nfd is not yet linking on Linux
2023-05-13 21:33:57 +02:00
f7e087ee8d remove yaml-cpp from root directory, Add tests project 2023-05-13 20:13:25 +02:00
e52db0fafd Remove Runtime Project 2023-05-13 20:10:47 +02:00
5bdc0034d1 Moving premake5.lua build file to their individual submodule folder 2023-05-13 20:10:25 +02:00
ceb485018f Rudimentary implementation of the translate,Rotate,Scale tools 2023-05-13 18:10:24 +02:00
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
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
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
43fc721413 Replacing a few std::cout with spdlog::info/error 2023-05-09 19:36:34 +02:00
52747202d3 Mark two git submodules to ignore when their working tree has changes 2023-05-08 22:18:14 +02:00
fef75ec64b Started Working on an assetsystem for loading more complex models 2023-05-08 22:08:08 +02:00
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
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
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
d8627d0357 Removing unused TransformTree definition files 2023-05-07 20:44:42 +02:00
ec8045c4f4 Added Asset selection in Render3D component view (Not functional yet!) 2023-05-07 15:25:31 +02:00
042dc3a457 Update Transform Component view of the editor 2023-05-07 15:24:23 +02:00
28927d9a4e Moved model file loading logic to the editor code base 2023-05-06 21:06:49 +02:00
89f5b1497f Can move around scene again .. working on Rendering engine still 2023-05-03 16:40:43 +02:00
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
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
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
282844b905 Load the previously loaded project and scene on startup
(read from an ini file)
2023-01-14 21:44:48 +01:00
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
79b68fbff1 deferred rendering can be enabled for certain meshes 2023-01-13 17:55:45 +01:00
13f67a7cdb Basic input handling, Editor camera Movement 2023-01-04 19:01:58 +01:00
d5a6ddb9d5 Moving vegetation test to the renderer 2023-01-04 15:57:08 +01:00
0f9be33bd6 Primitive Blending functionality 2023-01-01 17:02:44 +01:00
75aa577211 Relation widget + small memory leak solved 2023-01-01 17:00:48 +01:00
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
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
3a9c07aff9 Mixing Deferred and Forward rendering
- TODO: fix Skybox affected by lighting pass
2022-12-28 23:17:55 +01:00
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
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
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
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
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
1f1a776686 Adding physx and fixing memory allocation of AssetView 2022-12-22 17:16:09 +01:00
e7f1bd7d52 Removing big memory hog from renderer 2022-12-21 19:11:27 +01:00
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
4b84707f98 New entrypoint 2022-11-12 16:57:34 +01:00
3d3596a3b6 Framebuffer now takes a size parameter
Scene now fills entire scene/Game view widget
2022-11-11 19:30:54 +01:00
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
b5db500d48 Import / Export Meshes 2022-11-10 21:51:11 +01:00
f7a85d53ab Editor Asset explorer setup 2022-11-10 21:50:27 +01:00
c57177a1a9 Rudimentary Scene loading 2022-11-09 15:27:06 +01:00