Skip to content

Commit 519fa2e

Browse files
committed
website: updated introduction in design document, regenerated documentation
1 parent fadb162 commit 519fa2e

File tree

94 files changed

+4521
-1881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+4521
-1881
lines changed

docs/DESIGN.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,30 @@
22

33
THIS DOCUMENT IS A DRAFT AND IT IS NOT COMPLETE
44

5-
Game engines are complex pieces of software. They provide an platform
6-
to define logic, render graphics, and access system resources like
7-
audio and input, as well as providing a cross-platform abstraction to
8-
the developer.
5+
What is a game engine?
6+
7+
The line between a game / application and its engine is not something
8+
inherently fixed, people have different needs and they may think
9+
differently about it. This is what fundamentally drives the design of
10+
their engines. AAA studios may want a "big engine" that provides many
11+
advanced features out of the box, I would place Unreal Engine and
12+
Unity in this category. Some other smaller studios or individual
13+
recreational programmers may want a lighter platform that is easier to
14+
understand and to modify, think Raylib and Love2D.
15+
16+
Regardless, game engines are usually complex pieces of software. They
17+
provide an platform to define logic, render graphics, and access
18+
system resources like audio and input, as well as providing a
19+
cross-platform abstraction to the developer.
20+
21+
Brenta-Engine is more positioned towards the "big-engine"
22+
category. Here is an high level overview of the major classes that are
23+
used in the engine:
924

1025
![high-level-overview](./brenta-picture.png)
1126

27+
## Design proces
28+
1229
Brenta's development has been more iterative than meticulously
1330
designed. I rewrote huge parts of the engine many many times, to the
1431
point where I am not scared to do big refactoring anymore - that is
@@ -24,7 +41,7 @@ implemented, and as a programming exercise / learning experience. The
2441
more I learned about graphics the more I became fascinated and
2542
interested in the topic.
2643

27-
When I began this project in july 2024 I was really confused with
44+
When I began this project in July 2024 I was really confused with
2845
using OpenGL and C++, it took me a while to develop a decent mental
2946
model. I was at my second year of university and I did not have any
3047
major programming experience, but I pushed through it and hacked some

docs/html/DESIGN.html

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,27 @@
1717
</div>
1818
<h1 id="design">Design</h1>
1919
<p>THIS DOCUMENT IS A DRAFT AND IT IS NOT COMPLETE</p>
20-
<p>Game engines are complex pieces of software. They provide an platform
21-
to define logic, render graphics, and access system resources like audio
22-
and input, as well as providing a cross-platform abstraction to the
23-
developer.</p>
20+
<p>What is a game engine?</p>
21+
<p>The line between a game / application and its engine is not something
22+
inherently fixed, people have different needs and they may think
23+
differently about it. This is what fundamentally drives the design of
24+
their engines. AAA studios may want a "big engine" that provides many
25+
advanced features out of the box, I would place Unreal Engine and Unity
26+
in this category. Some other smaller studios or individual recreational
27+
programmers may want a lighter platform that is easier to understand and
28+
to modify, think Raylib and Love2D.</p>
29+
<p>Regardless, game engines are usually complex pieces of software. They
30+
provide an platform to define logic, render graphics, and access system
31+
resources like audio and input, as well as providing a cross-platform
32+
abstraction to the developer.</p>
33+
<p>Brenta-Engine is more positioned towards the "big-engine" category.
34+
Here is an high level overview of the major classes that are used in the
35+
engine:</p>
2436
<figure>
2537
<img src="./brenta-picture.png" alt="high-level-overview" />
2638
<figcaption aria-hidden="true">high-level-overview</figcaption>
2739
</figure>
40+
<h2 id="design-proces">Design proces</h2>
2841
<p>Brenta's development has been more iterative than meticulously
2942
designed. I rewrote huge parts of the engine many many times, to the
3043
point where I am not scared to do big refactoring anymore - that is just
@@ -38,7 +51,7 @@ <h1 id="design">Design</h1>
3851
implemented, and as a programming exercise / learning experience. The
3952
more I learned about graphics the more I became fascinated and
4053
interested in the topic.</p>
41-
<p>When I began this project in july 2024 I was really confused with
54+
<p>When I began this project in July 2024 I was really confused with
4255
using OpenGL and C++, it took me a while to develop a decent mental
4356
model. I was at my second year of university and I did not have any
4457
major programming experience, but I pushed through it and hacked some

docs/html/annotated.html

Lines changed: 102 additions & 99 deletions
Large diffs are not rendered by default.

docs/html/annotated_dup.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var annotated_dup =
88
[ "CameraEcsComponent", "classbrenta_1_1CameraEcsComponent.html", null ],
99
[ "CameraRenderSystem", "classbrenta_1_1CameraRenderSystem.html", null ],
1010
[ "Color", "classbrenta_1_1Color.html", null ],
11+
[ "Cubemap", "classbrenta_1_1Cubemap.html", null ],
1112
[ "DirLight", "classbrenta_1_1DirLight.html", null ],
1213
[ "DirLightEcsComponent", "classbrenta_1_1DirLightEcsComponent.html", null ],
1314
[ "DirLightNodeComponent", "classbrenta_1_1DirLightNodeComponent.html", null ],
@@ -54,6 +55,8 @@ var annotated_dup =
5455
[ "Script", "classbrenta_1_1Script.html", null ],
5556
[ "Shader", "classbrenta_1_1Shader.html", "classbrenta_1_1Shader" ],
5657
[ "SignalManager", "classbrenta_1_1SignalManager.html", "classbrenta_1_1SignalManager" ],
58+
[ "Skybox", "classbrenta_1_1Skybox.html", null ],
59+
[ "SkyboxPass", "classbrenta_1_1SkyboxPass.html", null ],
5760
[ "Sound", "classbrenta_1_1Sound.html", null ],
5861
[ "SoundAsset", "classbrenta_1_1SoundAsset.html", "classbrenta_1_1SoundAsset" ],
5962
[ "SoundManager", "classbrenta_1_1SoundManager.html", "classbrenta_1_1SoundManager" ],

docs/html/asset_8cpp_source.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,11 +550,11 @@
550550
<div class="ttc" id="aclassbrenta_1_1FilesystemWatcher_html"><div class="ttname"><a href="classbrenta_1_1FilesystemWatcher.html">brenta::FilesystemWatcher</a></div><div class="ttdef"><b>Definition</b> <a href="fswatcher_8hpp_source.html#l00029">fswatcher.hpp:30</a></div></div>
551551
<div class="ttc" id="aclassbrenta_1_1Font_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Font_1_1Builder.html">brenta::Font::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="font_8hpp_source.html#l00051">font.hpp:52</a></div></div>
552552
<div class="ttc" id="aclassbrenta_1_1Material_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Material_1_1Builder.html">brenta::Material::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="material_8hpp_source.html#l00033">material.hpp:34</a></div></div>
553-
<div class="ttc" id="aclassbrenta_1_1Model_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Model_1_1Builder.html">brenta::Model::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="model_8hpp_source.html#l00078">model.hpp:79</a></div></div>
554-
<div class="ttc" id="aclassbrenta_1_1Scene_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Scene_1_1Builder.html">brenta::Scene::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="scene_8hpp_source.html#l00060">scene.hpp:61</a></div></div>
553+
<div class="ttc" id="aclassbrenta_1_1Model_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Model_1_1Builder.html">brenta::Model::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="model_8hpp_source.html#l00076">model.hpp:77</a></div></div>
554+
<div class="ttc" id="aclassbrenta_1_1Scene_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Scene_1_1Builder.html">brenta::Scene::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="scene_8hpp_source.html#l00065">scene.hpp:66</a></div></div>
555555
<div class="ttc" id="aclassbrenta_1_1Shader_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Shader_1_1Builder.html">brenta::Shader::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="shader_8hpp_source.html#l00170">shader.hpp:171</a></div></div>
556556
<div class="ttc" id="aclassbrenta_1_1SoundAsset_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1SoundAsset_1_1Builder.html">brenta::SoundAsset::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="sound_8hpp_source.html#l00061">sound.hpp:62</a></div></div>
557-
<div class="ttc" id="aclassbrenta_1_1Texture_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Texture_1_1Builder.html">brenta::Texture::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="texture_8hpp_source.html#l00208">texture.hpp:209</a></div></div>
557+
<div class="ttc" id="aclassbrenta_1_1Texture_1_1Builder_html"><div class="ttname"><a href="classbrenta_1_1Texture_1_1Builder.html">brenta::Texture::Builder</a></div><div class="ttdef"><b>Definition</b> <a href="texture_8hpp_source.html#l00195">texture.hpp:196</a></div></div>
558558
<div class="ttc" id="astructbrenta_1_1AssetManager_1_1AssetOwned_html"><div class="ttname"><a href="structbrenta_1_1AssetManager_1_1AssetOwned.html">brenta::AssetManager::AssetOwned</a></div><div class="ttdef"><b>Definition</b> <a href="asset_8hpp_source.html#l00136">asset.hpp:137</a></div></div>
559559
<div class="ttc" id="astructbrenta_1_1AssetManager_1_1Asset_html"><div class="ttname"><a href="structbrenta_1_1AssetManager_1_1Asset.html">brenta::AssetManager::Asset</a></div><div class="ttdef"><b>Definition</b> <a href="asset_8hpp_source.html#l00129">asset.hpp:130</a></div></div>
560560
</div><!-- fragment --></div><!-- contents -->

docs/html/asset_8hpp_source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
<div class="ttc" id="aclassbrenta_1_1Font_html"><div class="ttname"><a href="classbrenta_1_1Font.html">brenta::Font</a></div><div class="ttdef"><b>Definition</b> <a href="font_8hpp_source.html#l00024">font.hpp:25</a></div></div>
261261
<div class="ttc" id="aclassbrenta_1_1Material_html"><div class="ttname"><a href="classbrenta_1_1Material.html">brenta::Material</a></div><div class="ttdef"><b>Definition</b> <a href="material_8hpp_source.html#l00029">material.hpp:30</a></div></div>
262262
<div class="ttc" id="aclassbrenta_1_1Model_html"><div class="ttname"><a href="classbrenta_1_1Model.html">brenta::Model</a></div><div class="ttdef"><b>Definition</b> <a href="model_8hpp_source.html#l00024">model.hpp:25</a></div></div>
263-
<div class="ttc" id="aclassbrenta_1_1Scene_html"><div class="ttname"><a href="classbrenta_1_1Scene.html">brenta::Scene</a></div><div class="ttdef"><b>Definition</b> <a href="scene_8hpp_source.html#l00029">scene.hpp:30</a></div></div>
263+
<div class="ttc" id="aclassbrenta_1_1Scene_html"><div class="ttname"><a href="classbrenta_1_1Scene.html">brenta::Scene</a></div><div class="ttdef"><b>Definition</b> <a href="scene_8hpp_source.html#l00030">scene.hpp:31</a></div></div>
264264
<div class="ttc" id="aclassbrenta_1_1Shader_html"><div class="ttname"><a href="classbrenta_1_1Shader.html">brenta::Shader</a></div><div class="ttdef"><b>Definition</b> <a href="shader_8hpp_source.html#l00040">shader.hpp:41</a></div></div>
265265
<div class="ttc" id="aclassbrenta_1_1Sound_html"><div class="ttname"><a href="classbrenta_1_1Sound.html">brenta::Sound</a></div><div class="ttdef"><b>Definition</b> <a href="sound_8hpp_source.html#l00091">sound.hpp:92</a></div></div>
266266
<div class="ttc" id="aclassbrenta_1_1Texture_html"><div class="ttname"><a href="classbrenta_1_1Texture.html">brenta::Texture</a></div><div class="ttdef"><b>Definition</b> <a href="texture_8hpp_source.html#l00030">texture.hpp:31</a></div></div>

0 commit comments

Comments
 (0)