From f62eaff37b076d13b75e4efe92a788a3a2554c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Sobczy=C5=84ski?= <32263891+h4570@users.noreply.github.com> Date: Sat, 27 Aug 2022 15:37:32 +0200 Subject: [PATCH 1/7] Update README.MD --- README.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 2e30b6c..a18e19a 100644 --- a/README.MD +++ b/README.MD @@ -54,7 +54,7 @@ Decision was simple - I need to create an engine which will handle 3D file loadi **And that's what Tyra is all about.** ### Tutorials -* Setup environment - [Text tutorial](https://github.com/h4570/tyra/tree/master/docs/install) or [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) +* Setup environment - [Text tutorial](https://github.com/h4570/tyra/tree/master/docs/install) or [Video](https://www.youtube.com/watch?v=9IXOU1SPdzc) * Cook game assets - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) * Create game from template - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) * Run game from USB in PS2 - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) From 286b9e43a78a32442306082a6a493f702d6b093b Mon Sep 17 00:00:00 2001 From: h4570 Date: Sun, 28 Aug 2022 13:50:32 +0200 Subject: [PATCH 2/7] fix far plane --- engine/inc/renderer/renderer_settings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/inc/renderer/renderer_settings.hpp b/engine/inc/renderer/renderer_settings.hpp index f5889ca..796e4b6 100644 --- a/engine/inc/renderer/renderer_settings.hpp +++ b/engine/inc/renderer/renderer_settings.hpp @@ -22,7 +22,7 @@ class RendererSettings { height(448.0F), interlacedHeightF(height / 2), near(0.1F), - far(8192.0F), + far(51200.0F), projectionScale(4096.0F), aspectRatio(width / height), interlacedHeightUI(static_cast(interlacedHeightF)) {} From 2c41930cb2b1b928d63c24bd7e0223419869a604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Sobczy=C5=84ski?= <32263891+h4570@users.noreply.github.com> Date: Sun, 28 Aug 2022 14:26:09 +0200 Subject: [PATCH 3/7] Update README.MD --- README.MD | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.MD b/README.MD index a18e19a..9789b67 100644 --- a/README.MD +++ b/README.MD @@ -54,20 +54,20 @@ Decision was simple - I need to create an engine which will handle 3D file loadi **And that's what Tyra is all about.** ### Tutorials -* Setup environment - [Text tutorial](https://github.com/h4570/tyra/tree/master/docs/install) or [Video](https://www.youtube.com/watch?v=9IXOU1SPdzc) -* Cook game assets - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) -* Create game from template - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) -* Run game from USB in PS2 - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) +* 01 - Setup environment - [Text tutorial](https://github.com/h4570/tyra/tree/master/docs/install) or [Video](https://www.youtube.com/watch?v=9IXOU1SPdzc) +* 02 - Cooking game assets - [Video](https://www.youtube.com/watch?v=LjO71ovPFJs) +* 03 - Create game from template - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) +* 04 - Run game from USB in PS2 - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) --- -* 01 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/01-hello), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - Hello world -* 02 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/02-sprite), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - 2D rendering -* 03 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/03-minecraft), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - 3D minecraft blocks -* 04 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/04-de_dust2), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - `de_dust2.obj` rendering -* 05 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/05-animation), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - 3D animation -* 06 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/06-audio), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - Background music and sound effects -* 07 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/07-lighting), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - Static lightmap and dynamic directional lights -* 08 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/08-skybox-debug), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - Skybox and debug rendering -* 09 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/09-manual-mode), [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) - Manual rendering (a'la OpenGL) +* 01 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/01-hello) - Hello world +* 02 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/02-sprite) - 2D rendering +* 03 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/03-minecraft) - 3D minecraft blocks +* 04 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/04-de_dust2) - `de_dust2.obj` rendering +* 05 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/05-animation) - 3D animation +* 06 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/06-audio) - Background music and sound effects +* 07 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/07-lighting) - Static lightmap and dynamic directional lights +* 08 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/08-skybox-debug) - Skybox and debug rendering +* 09 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/09-manual-mode) - Manual rendering (a'la OpenGL) * Demo game - [Code](https://github.com/h4570/tyra/tree/master/demo) --- From c9535412a72b122e7bda3bcb8bdc04f19c92efe9 Mon Sep 17 00:00:00 2001 From: h4570 Date: Sun, 28 Aug 2022 15:07:58 +0200 Subject: [PATCH 4/7] info about tutorials --- tutorials/04-de_dust2/src/tutorial_04.cpp | 5 ++--- tutorials/05-animation/src/tutorial_05.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tutorials/04-de_dust2/src/tutorial_04.cpp b/tutorials/04-de_dust2/src/tutorial_04.cpp index ab804df..a987da2 100644 --- a/tutorials/04-de_dust2/src/tutorial_04.cpp +++ b/tutorials/04-de_dust2/src/tutorial_04.cpp @@ -37,9 +37,8 @@ void Tutorial04::loop() { /** * Render de_dust2. * - * As you see there are clipping issues (visual glitches). - * If you want to know how to fix it, please - * watch video tutorial. + * If you see clipping issues (visual glitches), + * You can check how to fix them in #02 YT tutorial. */ stapip.render(mesh.get(), renderOptions); } diff --git a/tutorials/05-animation/src/tutorial_05.cpp b/tutorials/05-animation/src/tutorial_05.cpp index 0161720..c5233c5 100644 --- a/tutorials/05-animation/src/tutorial_05.cpp +++ b/tutorials/05-animation/src/tutorial_05.cpp @@ -55,7 +55,7 @@ void Tutorial05::loadZombieMesh() { /** Starting file suffix index. It means that 1 will start from _000001.obj */ options.animation.startingIndex = 1; - /** If you want to know how to cook this file, please watch tutorial video */ + /** If you want to know how to cook this file, please watch #02 YT tutorial */ auto data = ObjLoader::load(FileUtils::fromCwd("zombie/zombie.obj"), options); zombieMesh = std::make_unique(data.get()); From 945b9c462b85618d1c3ea022f14652449ebdbde9 Mon Sep 17 00:00:00 2001 From: h4570 Date: Sun, 28 Aug 2022 15:15:24 +0200 Subject: [PATCH 5/7] fix template includes --- template/inc/racer_game.hpp | 3 +-- template/src/main.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/template/inc/racer_game.hpp b/template/inc/racer_game.hpp index a8885aa..01436c6 100644 --- a/template/inc/racer_game.hpp +++ b/template/inc/racer_game.hpp @@ -1,7 +1,6 @@ #pragma once -#include -#include +#include namespace Racer { diff --git a/template/src/main.cpp b/template/src/main.cpp index 4563a08..b9d8bde 100644 --- a/template/src/main.cpp +++ b/template/src/main.cpp @@ -1,4 +1,4 @@ -#include "engine.hpp" +#include #include "racer_game.hpp" int main() { From f08da7b3582284aa29cf5b2857b67a852e51b4a6 Mon Sep 17 00:00:00 2001 From: h4570 Date: Sun, 28 Aug 2022 15:31:18 +0200 Subject: [PATCH 6/7] update extensions.json --- .vscode/extensions.json | 3 ++- template/.vscode/extensions.json | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 83ad6c7..e1776e9 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,6 +3,7 @@ "ms-vscode.cpptools-extension-pack", "ryzngard.vscode-header-source", "maziac.asm-code-lens", - "dmnsgn.vscode-wavefront" + "dmnsgn.vscode-wavefront", + "spmeesseman.vscode-taskexplorer" ] } \ No newline at end of file diff --git a/template/.vscode/extensions.json b/template/.vscode/extensions.json index b5b5f82..e1776e9 100644 --- a/template/.vscode/extensions.json +++ b/template/.vscode/extensions.json @@ -2,6 +2,8 @@ "recommendations": [ "ms-vscode.cpptools-extension-pack", "ryzngard.vscode-header-source", - "maziac.asm-code-lens" + "maziac.asm-code-lens", + "dmnsgn.vscode-wavefront", + "spmeesseman.vscode-taskexplorer" ] } \ No newline at end of file From fa173f1e87db4887b26356ea4241807d4667ec39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Sobczy=C5=84ski?= <32263891+h4570@users.noreply.github.com> Date: Sun, 28 Aug 2022 16:51:46 +0200 Subject: [PATCH 7/7] Update README.MD --- README.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 9789b67..08abca2 100644 --- a/README.MD +++ b/README.MD @@ -56,7 +56,7 @@ Decision was simple - I need to create an engine which will handle 3D file loadi ### Tutorials * 01 - Setup environment - [Text tutorial](https://github.com/h4570/tyra/tree/master/docs/install) or [Video](https://www.youtube.com/watch?v=9IXOU1SPdzc) * 02 - Cooking game assets - [Video](https://www.youtube.com/watch?v=LjO71ovPFJs) -* 03 - Create game from template - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) +* 03 - Create a game repository - [Video](https://www.youtube.com/watch?v=DKfIKar3GUM) * 04 - Run game from USB in PS2 - [Video (soon)](https://www.youtube.com/playlist?list=PLdQVLBcXRRWvtMi-OqccDWLTEFEisD5RH) --- * 01 - [Code](https://github.com/h4570/tyra/tree/master/tutorials/01-hello) - Hello world