Skip to content
Merged
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
1b6ca71
- Added comments for explaining the Rec. 709 coefficients
OriginalDCAM Oct 13, 2025
868d630
- Fixed issue with transparency where there was a slight mistake in n…
OriginalDCAM Oct 13, 2025
5a367f1
- Moved headers to src folder
OriginalDCAM Oct 13, 2025
8796f80
- Moved viewport logic into it's own component
OriginalDCAM Oct 13, 2025
bd9cf16
- Basic implementation for adding entities to the scene
OriginalDCAM Oct 13, 2025
c3a6e15
- Added a counter to scene entity creation for uniqueness of names
OriginalDCAM Oct 13, 2025
b270ba3
- updated the selected context in hierarchy panel
OriginalDCAM Oct 14, 2025
313681a
Refactor camera control and add SceneCameraScript for improved viewpo…
OriginalDCAM Oct 14, 2025
601d6ed
W.I.P.
OriginalDCAM Oct 14, 2025
3cd9d5b
- Fixed issue with mouse cursor escaping viewport in editor
OriginalDCAM Oct 14, 2025
7b5a23a
- Fixed the skybox issue
OriginalDCAM Oct 14, 2025
32b5d99
- Added Roboto-Regular.ttf as a custom font
OriginalDCAM Oct 14, 2025
31c82de
- for school
OriginalDCAM Oct 15, 2025
fbf7a9f
- For home
OriginalDCAM Oct 15, 2025
0d14e63
- Added more properties to the inspector panel:
OriginalDCAM Oct 16, 2025
0cf29af
- Added comments to inspector component header about what each functi…
OriginalDCAM Oct 16, 2025
70f8f16
- More work on the inspector now for mainly having reflection for get…
OriginalDCAM Oct 16, 2025
aac65d9
Refactor material creation and update shader references for improved …
OriginalDCAM Oct 16, 2025
73b128f
Add multi-platform CMake workflow configuration
OriginalDCAM Oct 17, 2025
45d43ab
Delete .github/workflows directory
OriginalDCAM Oct 17, 2025
4b799d8
Refactor Renderer and related components for improved context managem…
OriginalDCAM Oct 17, 2025
1671b46
- Changed the property type of model colors to new COLOR3 type
OriginalDCAM Oct 17, 2025
cbf19cf
- Fixed a bug where changed_value was not being set correctly
OriginalDCAM Oct 17, 2025
009c8f8
- Set Demowindow flag to false
OriginalDCAM Oct 18, 2025
86cee73
- Commented out the create default scene because it wouldn't compile …
OriginalDCAM Oct 18, 2025
d6fd612
- Moved the repeated Opengl calls to it's own ShaderUniformBinder.h f…
OriginalDCAM Oct 18, 2025
61101d4
- Refactored Material class to use constants instead of magic strings
OriginalDCAM Oct 18, 2025
d2fbb62
- Updated model loader to use new material api
OriginalDCAM Oct 18, 2025
e83f85b
- Fixed a bug where the transform for rotation and scale were set for…
OriginalDCAM Oct 18, 2025
92c3ae1
- Temporary fix so that texture also gets unbound when unbinding mate…
OriginalDCAM Oct 18, 2025
2290ba5
- Used std::erase instead of hanving an iterator within remove
OriginalDCAM Oct 18, 2025
dc8f67f
- Added a new Manager for handling textures in inspector
OriginalDCAM Oct 18, 2025
84e4b5d
- Used spacing instead of seperator in Scene Hierarchy component
OriginalDCAM Oct 18, 2025
ba552ba
- Ditched the dynamic approach and just hardcoded the inputs in for m…
OriginalDCAM Oct 18, 2025
9530055
Add shadow map uniform and refactor scene management for editor mode
OriginalDCAM Oct 18, 2025
42fcdc8
Refactor mesh handling and enhance inspector functionality
OriginalDCAM Oct 19, 2025
2af7be0
- Added Imguizmo to project
OriginalDCAM Oct 19, 2025
87f4ef4
- Added transform gizmo's to the viewport component
OriginalDCAM Oct 20, 2025
f009c18
Refactor update methods to use const float for delta_time and update …
OriginalDCAM Oct 20, 2025
b323928
Refactor transform gizmo rendering to use member variables for operat…
OriginalDCAM Oct 20, 2025
742c574
Refactor Renderer and Framebuffer classes to improve const correctnes…
OriginalDCAM Oct 20, 2025
5aa2f97
Refactor Quad vertex normal calculation and update culling settings i…
OriginalDCAM Oct 20, 2025
a3e679f
Refactor Cube indices for correct face rendering and enhance ImGui in…
OriginalDCAM Oct 20, 2025
9927b2d
- Added drag and drop functionality to the SceneHierarchyComponent.cpp
OriginalDCAM Oct 21, 2025
67f98a6
- Fixed a bug where parent entities could be set a parent to child en…
OriginalDCAM Oct 21, 2025
01aa79b
Refactor GLFWWindow and OpenGLContext classes for finalization; updat…
OriginalDCAM Oct 21, 2025
d52c752
Changed variables to const to keep const corectness
OriginalDCAM Oct 21, 2025
a6d5eae
Refactor Application and EditorPlugin classes; update delta time hand…
OriginalDCAM Oct 22, 2025
1de5e34
Fixed a bug with shininess in the shader
OriginalDCAM Oct 23, 2025
4171602
Removed model from default scene
OriginalDCAM Oct 23, 2025
d8172cc
Fixed a bug with get title returning a reference to a temporary value
OriginalDCAM Oct 23, 2025
0a05ec9
Moved and renamed the UI :"Components" to "Panels"
OriginalDCAM Oct 23, 2025
07da241
Added comments to our imgui ui library
OriginalDCAM Oct 23, 2025
c4a8de0
Moved to respective panel folder
OriginalDCAM Oct 23, 2025
bcb2e9d
Passing ObjectID as output to framebuffer attachment
OriginalDCAM Oct 23, 2025
bb0ff38
Fixed shininess issue when importing/creating materials
OriginalDCAM Oct 23, 2025
7537b73
- Added a function for reading pixel values in a texture
OriginalDCAM Oct 23, 2025
e1d11f0
Enhance rendering pipeline with ObjectID support and framebuffer impr…
OriginalDCAM Oct 23, 2025
8d1f113
Change return type of entity_count from int to size_t
OriginalDCAM Oct 23, 2025
9529899
- Provided a helper method for uploading uint as uniforms to shaders
OriginalDCAM Oct 23, 2025
b9d8890
Added better comments to the header, Also implemented item picking fo…
OriginalDCAM Oct 23, 2025
15d32d3
Added texture for testing
OriginalDCAM Oct 24, 2025
a03b535
Updated README test
OriginalDCAM Oct 24, 2025
be07e08
Made some things const to adhere const correctness
OriginalDCAM Oct 24, 2025
d3b327d
Renamed active camera methods and variables to default camera for cla…
OriginalDCAM Oct 24, 2025
74e6894
Added a context menu section for adding camera's to scene/entities
OriginalDCAM Oct 27, 2025
823f356
Change the directories names from upper case to lower case
OriginalDCAM Oct 27, 2025
468f532
Added testing to the project and some simple tests for scene function…
OriginalDCAM Oct 27, 2025
0b15a75
Refactored the raw pointers that the mesh had ownership of to unique …
OriginalDCAM Oct 28, 2025
f31f446
Added context menu for adding components in the InspectorPanel and up…
OriginalDCAM Oct 29, 2025
f47a798
Refactored directory name from 'editor' to 'Editor' and removed unuse…
OriginalDCAM Oct 29, 2025
c595deb
Added time management functionality and refactored shader handling in…
OriginalDCAM Oct 29, 2025
2987ce7
Add Project class and header files
OriginalDCAM Oct 29, 2025
72ba6f9
Implemented a Definition for Project class with core functionality an…
OriginalDCAM Oct 29, 2025
f11d0a9
Updated ViewportPanel to use local transform matrix, and improved Sce…
OriginalDCAM Oct 30, 2025
4c237f5
Add AssetRegistry for managing project assets and update Project clas…
OriginalDCAM Nov 4, 2025
efb6198
.
OriginalDCAM Nov 4, 2025
71a2c8a
Update runner to use 'windows-latest' for builds
OriginalDCAM Nov 4, 2025
cda4c02
Delete CMakeSettings.json
OriginalDCAM Nov 4, 2025
623da7f
.
OriginalDCAM Nov 4, 2025
700b629
Merge pull request #23 from OriginalDCAM/main
OriginalDCAM Nov 5, 2025
91085c6
Merge pull request #22 from OriginalDCAM/editor/viewport-gizmos
OriginalDCAM Nov 5, 2025
e17c561
Added cmake settings json to gitignore
biggitgit Nov 5, 2025
15a6abb
Merge pull request #24 from OriginalDCAM/editor/rename-entities
biggitgit Nov 5, 2025
c8263d9
Added rename functionality for all entity tree nodes inside the scene…
biggitgit Nov 11, 2025
f27005c
Fixed the issue with renaming by storing the state in a dictionairy o…
OriginalDCAM Nov 13, 2025
434d3cc
Merge pull request #26 from OriginalDCAM/editor/rename-entities
biggitgit Nov 13, 2025
65e964e
editor/viewport-gizmos (#25)
OriginalDCAM Nov 13, 2025
3d92d0d
Abstracted the scene environment settings into it's own respective class
OriginalDCAM Nov 14, 2025
366cc3c
Fixed rendering issue with transparent objects with two pass renderin…
OriginalDCAM Nov 14, 2025
657d011
W.I.P. fixing the issue with transparency
OriginalDCAM Nov 14, 2025
96d9c81
Added shadow mapping properties to LightComponent and updated method …
OriginalDCAM Nov 16, 2025
1c81a81
- Added textures for prototyping
OriginalDCAM Nov 18, 2025
c0c3e34
Updated shaders to use an input/output block to make it clearer that …
OriginalDCAM Nov 18, 2025
7fd3754
Refactor texture wrap and filter mode methods to return GLint instead…
OriginalDCAM Nov 18, 2025
679efbb
Enhance default scene setup and improve shadow mapping properties in …
OriginalDCAM Nov 18, 2025
be7b7d5
Mark handle_open_scene and render_scene_list methods as const in Menu…
OriginalDCAM Nov 18, 2025
df49e9e
Updated readme and added doxygen to cmake
OriginalDCAM Nov 19, 2025
a388b74
Updated doxygen into cmake
OriginalDCAM Nov 19, 2025
41cd952
Updated README.md
OriginalDCAM Nov 19, 2025
66b3859
Add project logo path for Doxygen documentation
OriginalDCAM Nov 19, 2025
be3087a
Fixed game project W.I.P. will be used for serialization for testing …
OriginalDCAM Nov 19, 2025
6de39c5
Added a workflow for automatically deploying documentation to github …
OriginalDCAM Nov 20, 2025
2890e99
Updated github actions
OriginalDCAM Nov 20, 2025
5955f9e
.
OriginalDCAM Nov 20, 2025
089ba93
Updated cmake and deployment to docs
OriginalDCAM Nov 20, 2025
1ddde94
.
OriginalDCAM Nov 20, 2025
ce19734
.
OriginalDCAM Nov 20, 2025
f6fe630
Changed action to apply only to main
OriginalDCAM Nov 20, 2025
c815f82
.
OriginalDCAM Nov 20, 2025
2a5dc43
Fixed syntax issue
OriginalDCAM Nov 20, 2025
d01e305
Merge remote-tracking branch 'origin/main' into engine/shadows
OriginalDCAM Nov 20, 2025
e561a3a
Fixed issue with markdown syntax
OriginalDCAM Nov 20, 2025
0e14e95
Merge remote-tracking branch 'origin/main' into engine/shadows
OriginalDCAM Nov 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions engine/docs/scene_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The constructor initializes the SceneManager with no active scene. The destructo

### Scene Creation and Loading

#### `create_scene`
#### create_scene

```cpp
Scene* create_scene(const std::string& name = "GameScene");
Expand All @@ -57,7 +57,7 @@ Scene* game_scene = scene_manager.create_scene("Level1");

---

#### `load_scene`
#### load_scene

```cpp
Scene* load_scene(const std::string& filename);
Expand Down Expand Up @@ -86,7 +86,7 @@ Scene* same_scene = scene_manager.load_scene("assets/scenes/level1.json");

---

#### `save_scene`
#### save_scene

```cpp
bool save_scene(const std::string& filename, Scene* scene = nullptr) const;
Expand Down Expand Up @@ -118,7 +118,7 @@ if (success) {

### Scene Management

#### `set_active_scene`
#### set_active_scene

```cpp
void set_active_scene(Scene* scene);
Expand All @@ -143,7 +143,7 @@ scene_manager.set_active_scene(game);

---

#### `get_active_scene`
#### get_active_scene

```cpp
Scene* get_active_scene() const;
Expand All @@ -163,7 +163,7 @@ if (current) {

---

#### `get_scenes`
#### get_scenes

```cpp
std::vector<Scene*> get_scenes();
Expand All @@ -183,7 +183,7 @@ for (Scene* scene : all_scenes) {

---

#### `update`
#### update

```cpp
void update(float delta_time);
Expand All @@ -205,7 +205,7 @@ while (running) {

---

#### `clear`
#### clear

```cpp
void clear();
Expand All @@ -223,7 +223,7 @@ scene_manager.clear();

### Camera Management

#### `set_active_camera`
#### set_active_camera

```cpp
void set_active_camera(EntityID camera) const;
Expand All @@ -244,7 +244,7 @@ scene_manager.set_active_camera(camera_entity);

---

#### `get_active_camera`
#### get_active_camera

```cpp
CameraComponent* get_active_camera() const;
Expand All @@ -264,7 +264,7 @@ if (camera) {

---

#### `get_camera_entities`
#### get_camera_entities

```cpp
std::vector<EntityID> get_camera_entities() const;
Expand All @@ -289,7 +289,7 @@ for (EntityID cam_id : cameras) {

### Entity Management

#### `find_entity_by_name`
#### find_entity_by_name

```cpp
EntityID find_entity_by_name(const std::string& name);
Expand All @@ -316,7 +316,7 @@ if (player != 0) {

### Callbacks

#### `set_scene_activated_callback`
#### set_scene_activated_callback

```cpp
using SceneActivatedCallback = std::function<void(Scene*)>;
Expand Down