Oddstone Games
Oddstone Games
  • Видео 15
  • Просмотров 43 889
X11: Creating a Linux Window | C++ Game Engine
Good day everyone! This is the 9th video of this game engine from scratch series. Here we will learn how to create a window using Xlib and we will also fix some bugs.
Thank you for watching!
Timecodes
00:00 : Bug Fixes
02:50 : Creating a Linux window
09:06 : Result
GitHub Repo:
github.com/oddStoneGames/MiniEngine
You can join our discord channel to connect with me:
discord.com/invite/d65zTzrhrp
I also stream on twitch sometimes:
www.twitch.tv/oddstonegames
Просмотров: 1 181

Видео

From Pixels To Perception: Linux's X11 vs Wayland in Great Details!
Просмотров 24 тыс.Год назад
Discover the evolution of graphical user interfaces for linux! Join us in this informative RUclips video as we explore the history and inner workings of the X Window System, X11, and Xorg. Through engaging explanations and illustrative code examples, we'll unlock the secrets of how X11 manages window systems and different window managers using the command line interface (CLI). But that's not al...
Win32 API: Creating a Window | C++ Game Engine
Просмотров 1,5 тыс.Год назад
Good day everyone! This is the 8th video of this game engine from scratch series. Here we will learn how to create a window using Win32 API and we will also add the ability to Remove Listeners in our Event System. Thank you for watching! Timecodes 00:00 : What is Win32 API? 01:44 : What are Handles & Modules? 02:57 : How does window creation work? 04:15 : How to handle window events? 08:15 : Cr...
C++ Game Engine: The Event System Guide
Просмотров 5 тыс.Год назад
Good day everyone! This is the 7th video of this game engine from scratch series. Thank you for watching! Timecodes 00:00 - What are Events? 02:40 - Event & Event Dispatcher 05:00 - Different Types of Events 06:47 - Event Handler 08:50 - Update CMakeLists.txt 10:16 - Test Events 11:10 - Update MiniEngine Header 11:25 - Adding Listeners to Events 13:20 - Outro GitHub Repo: github.com/oddStoneGam...
How to Create a Custom Logger | Game Engine From Scratch
Просмотров 488Год назад
Good day everyone! This is the sixth video of this game engine from scratch series. Thank you for watching! Timecodes 00:00 - Apology 00:24 - Intro 00:54 - Structure of Logs 03:35 - Logger Class 09:27 - Wrapper for Logging 11:34 - Update CMakeLists.txt 11:46 - Testing the Logger 12:20 - Result 13:00 - Output to text file 13:42 - Outro Daniel's Yelloger: github.com/danielblagy/Yelloger GitHub Re...
Making a Game | Game Engine From Scratch
Просмотров 313Год назад
G'day everyone! This is the fifth video of this game engine from scratch series. Thank you for watching! GitHub Repo: github.com/oddStoneGames/MiniEngine You can join our discord channel to connect with me: discord.com/invite/d65zTzrhrp I also stream on twitch sometimes: www.twitch.tv/oddstonegames
Delta time? | Game Engine From Scratch
Просмотров 553Год назад
G'day everyone! This is the fourth video of this game engine from scratch series. Thank you for watching! GitHub Repo: github.com/oddStoneGames/MiniEngine You can join our discord channel to connect with me: discord.com/invite/d65zTzrhrp I also stream on twitch sometimes: www.twitch.tv/oddstonegames
Adding CMake | Game Engine From Scratch
Просмотров 564Год назад
G'day everyone! This is the third video of this game engine from scratch series. Thank you for watching! GitHub Repo: github.com/oddStoneGames/MiniEngine You can join our discord channel to connect with me: discord.com/invite/d65zTzrhrp I also stream on twitch sometimes: www.twitch.tv/oddstonegames
Adding an Entry Point & Window Class | Game Engine From Scratch
Просмотров 703Год назад
G'day everyone! This is the second video of this game engine from scratch series. Thank you for watching! GitHub Repo: github.com/oddStoneGames/MiniEngine You can join our discord channel to connect with me: discord.com/invite/d65zTzrhrp I also stream on twitch sometimes: www.twitch.tv/oddstonegames
Why are you making a game engine from scratch?
Просмотров 1,6 тыс.Год назад
G'day everyone! This is the first video of this game engine from scratch series & discusses the scale and the need for this project. You need to have some knowledge about C to follow along or you can implement all of this code in some other language. Thank you for watching! You can join our discord channel to connect with me: discord.com/invite/d65zTzrhrp I also stream on twitch sometimes: www....
PBR vs Blinn-Phong Reflection Model
Просмотров 1,8 тыс.2 года назад
Hey! I implemented PBR in my render engine based on the tutorials from learnopengl.com. My sincere thanks to Joey De Vries :D Features- PBR Workflow (Physically Based Rendering) Deferred & Forward Lighting SSAO (Screen Space Ambient Occlusion) FXAA (Fast Approximate Anti Aliasing) Bloom Tone Mapping HDR Rendering Parallax Occlusion Mapping Shadow Mapping .glTF Model Loader HDR Maps - www.hdrlab...
Advanced Lighting - Bloom, Shadow Mapping, Reflections, Parallax & Tone Mapping
Просмотров 1 тыс.2 года назад
For this project, I made my own GLTF loader very much based on the tutorial by Victor Gordan(ruclips.net/video/AB_f4slL2H0/видео.html) to properly load all the .glTF models & textures. Everything else includes doing MSAA, Fast Soft Shadow Mapping, Bloom, Reflections, Parallax Occlusion Mapping & Tone Mapping which I learnt from learnopengl.com. Models Used: Aladdin's Lamp - sketchfab.com/3d-mod...
what is this XDD
Просмотров 1982 года назад
idk how it happened, i was trying to generate like 81 triangles in geometry shader from just a single line as vertex position output, and my first run gave me this xdddddddddd
Horror - OpenGL Game
Просмотров 2,8 тыс.2 года назад
A test Horror game i made using glfw, dear imgui & assimp. Hand Model: sketchfab.com/3d-models/hand-a43c9c9059b24e2aa4af08d1a76f0916 Flashlight Model: sketchfab.com/3d-models/retro-style-flashlight-1bca09efb5154e75b6f6f17d8f71deeb House Model: sketchfab.com/3d-models/old-house-19a1121bab5a4aaaad4d973abe5b61cb Tree Model: sketchfab.com/3d-models/trees-dbd3f20966de4cae9170413b9c6f891d
2D Platformer - OpenGL Game
Просмотров 1,9 тыс.2 года назад
A test platformer i made using glfw & OpenGL 4.6. Player Texture: pixeljoint.com/forum/forum_posts.asp?TID=15046 Background Texture: opengameart.org/content/2d-pixel-cloudy-backgrounds Ground Texture: opengameart.org/content/platformer-grass-tileset

Комментарии

  • @meqdadfn
    @meqdadfn 4 дня назад

    This is the best explanation of display servers and windows managers I’ve watched! Great video.

  • @akashashen
    @akashashen 7 дней назад

    Minor note, over a year later, initramfs loads the root file system. It loads first in case a problem disrupts that sequence (that's why it has itsown mini-toolkit/environment.

  • @RishiYT-is1ld
    @RishiYT-is1ld 27 дней назад

    thank you

  • @xXaymanXxBG
    @xXaymanXxBG Месяц назад

    Dawg now i understand why since i stopped using wayland my pc stopped freezing forcing me to cut off electricity on the entire pc just to reboot...

  • @NKG416
    @NKG416 Месяц назад

    so what's the different between linux and windows in these area?

  • @wile123456
    @wile123456 Месяц назад

    The only annoying thing in wayland is vsync is forced on for everything, so the vsync setting in video games litterally does nothing. Vsync should be enabled for windows and desktop applications, but its annoying it doesnt allow easy changing of vsync of games or 3D applications

  • @ToyKeeper
    @ToyKeeper Месяц назад

    I use X11 because network transparency and accessibility and automation are important, and Wayland sacrificed those things to solve problems I don't have. I could list many examples if youtube's filter would let me, but it blocks long comments... so I'll try to describe just one. I have a bunch of computers, including desktops, notebooks, and servers. I rely on being able to use all of them regardless of where I am or which hardware is in front of me. With X11 I can mix and match freely, but Wayland is designed to prevent that because it's considered unnecessary and a security risk. Like, if I'm at my desk I have a desktop and two notebooks, so I use the desktop's mouse and keyboard for all three, simply moving the cursor off the edge of one screen and onto the next, using a trivial little program called x2x. But frequently I'll grab a notebook to go elsewhere, like a cafe or the loo or a client meeting or even just the living room couch. I can still use every computer, either by exporting a running session as a remote desktop, or running individual programs over the network for remote display, or simply moving the cursor to any screens which happen to be nearby. It all "just works" easily and reliably, even for servers with no screen or keyboard attached. When doing local stuff it's a smooth 60fps with no perceptible lag, and when remote, things are slower but still very usable. But Wayland doesn't do that. In a time when nearly everything in computing is getting more flexible, more interoperable, and more network-transparent... Wayland strives to go in the opposite direction. With Wayland, I can't even use my notebooks while I'm at my desk.

  • @aeliusdawn
    @aeliusdawn 2 месяца назад

    Fantastic series. Needs more views. Liking and commenting for algorithm

  • @iamwatchingthisvid.7682
    @iamwatchingthisvid.7682 2 месяца назад

    I ran into problems with wayland being unable to drag and drop archive contents to my file explorer when extracting... but on x11 worked just fine... wayland is much responsive tho and I use gnome desktop.... if this problem in wayland is fixed then I might use it again

  • @1pcfred
    @1pcfred 3 месяца назад

    I use X.0rg but I have used X11 in the past. X11R6

  • @oglothenerd
    @oglothenerd 3 месяца назад

    Why hello there! :)

  • @PoeLemic
    @PoeLemic 3 месяца назад

    Thank you for explaining this -- thru showing us an example. It makes total sense. I had basic idea of how X worked, but I'm coming from Windows. And, I want to understand Linux better.

  • @samucancld
    @samucancld 4 месяца назад

    X11 makes more sense

  • @GnuChanOS
    @GnuChanOS 4 месяца назад

    I tried Wayland before in Manjaro, but it only showed a cursor and a black screen, so I gave up. Xorg works fine for me.

  • @AnnatarTheMaia
    @AnnatarTheMaia 4 месяца назад

    Boy am I glad we don't have "Weyland" on Solaris! Good old X11R6 (Solaris 10) and X11R7 (Solaris 11 / illumos) and driiivvveee....

    • @user-xv8xh2ib6p
      @user-xv8xh2ib6p 3 месяца назад

      Using Solaris is even more funny than using BSD OSes as a desktop. At least FreeBSD and OpenBSD are good for servers. Who tf uses Solaris in 2024?

    • @NitroNilz
      @NitroNilz 3 месяца назад

      That's very "racist" in terms of OS'es. (Does it have a term? OS-ist?). I would also suggest jumping to open source like an illumos distribution, but still respect people who'd stay on proprietary shit.

    • @AnnatarTheMaia
      @AnnatarTheMaia 3 месяца назад

      @@NitroNilz the word you are looking for is "elitist", and yes it is, and so what? Enough with mediocrity!

    • @NitroNilz
      @NitroNilz 3 месяца назад

      @@AnnatarTheMaia I was referring to "who […] uses Solaris in 2024?" as elitist. Thank you for the word! Down with mediocracy!

  • @ClintAnderson808
    @ClintAnderson808 4 месяца назад

    this was nice to find after watching several videos that were just people reading web pages or spouting off opinions, thanks for this

  • @anonymouscommentator
    @anonymouscommentator 4 месяца назад

    loved the video, thank you very much!

  • @CocolinoFan
    @CocolinoFan 4 месяца назад

    Wasteland is not a display server, is a protocol

  • @SlinkyD
    @SlinkyD 5 месяцев назад

    Wayland is X12.

    • @1pcfred
      @1pcfred 3 месяца назад

      Wayland is X0

  • @vaibhavmishra5179
    @vaibhavmishra5179 5 месяцев назад

    Please continue this series, this is so interesting.

  • @luigiistratescu2756
    @luigiistratescu2756 5 месяцев назад

    What do you think? Is Phong still worth using it in games these days? Trine 1 and 2 used Phong, Trine 3+ used PBR. Apparently WoW was using Phong all this time, except that now they also added Raytracing. Do you think Phong lighting still has a place in games today?

  • @aka6double0
    @aka6double0 5 месяцев назад

    Wow, thank you. Very well said my friend.

  • @calebcasual
    @calebcasual 6 месяцев назад

    C++ class is missing on mine, even tried reinstalling visual studio

  • @lealcy
    @lealcy 6 месяцев назад

    The display manager (KDM, GDM, XDM) loads after X11 or Wayland. The DM is just a graphical program to manage the login to the desktop and need a graphical server to load on.

    • @neamupanselutelor7309
      @neamupanselutelor7309 3 месяца назад

      How does the DM choose whether to load X11 or Wayland on the first boot?

    • @lealcy
      @lealcy 3 месяца назад

      @@neamupanselutelor7309 it depends on how the distro is configured on install

    • @yusefaslam9675
      @yusefaslam9675 2 месяца назад

      In GDM (GNOME Display Manager), there is an option called "WaylandEnable", if that is set to true, GDM uses Wayland, if it is false or commented out it uses X11.

    • @yusefaslam9675
      @yusefaslam9675 2 месяца назад

      Sorry, I meant to say in GDM's configuration file.

  • @gustavojoaquin_arch
    @gustavojoaquin_arch 7 месяцев назад

    Imagine using winbugs

  • @twachl8039
    @twachl8039 7 месяцев назад

    great video, thumbs up my friend

  • @dragos-andreirotaru2316
    @dragos-andreirotaru2316 7 месяцев назад

    Hyprland dev commented :))

    • @oddstonegames
      @oddstonegames 7 месяцев назад

      Oh wow! I am glad you watched it. 😄

  • @HikaruAkitsuki
    @HikaruAkitsuki 7 месяцев назад

    If you running Linux in VM which is the host is also Linux, X11 version of your DE is work better than Wayland's DE

    • @kienhwengtai8113
      @kienhwengtai8113 2 месяца назад

      There's zero benefit using Wayland on VM because the underlying GPU is a virtual GPU anyway.

  • @methos1024
    @methos1024 7 месяцев назад

    I Like this explanation, but it ist not 100% correct :-) still good for understanding some things especially about X11

  • @methos1024
    @methos1024 7 месяцев назад

    Wayland does NOT handle User input. Things like libinput is used for user inputs

  • @methos1024
    @methos1024 7 месяцев назад

    Wayland is not a Display Server that first statement is alredy wrong. It is a Protocol and the actual Desktops have to program thyr Display managers etc. around that protocol for compatibility.

    • @whoman0385
      @whoman0385 4 месяца назад

      same with X11, just a protocol and there are display servers that implement it like xorg and xfree86

    • @methos1024
      @methos1024 4 месяца назад

      @@whoman0385 Yeah, that should be correct. So i should Frame what i want to say a bit different so everyone gets what i really want to say.

  • @methos1024
    @methos1024 7 месяцев назад

    There is not really a question whether to go with wayland or X11. its more like have you an nvidia Graphics card oder an AMD/Intel graphics card. With the first one you have no real choice. witch the others the best option for many usecases ist the not deprecated standard - wayland. But you also may have A workload that does currently not support wwayland - so again no choice..

  • @miku
    @miku 7 месяцев назад

    god is happy

  • @vaxryy
    @vaxryy 7 месяцев назад

    22 seconds in an you already have made a considerable mistake. That's quite fast. Neither X11 nor Wayland are display servers.

    • @dragos-andreirotaru2316
      @dragos-andreirotaru2316 7 месяцев назад

      Display protocol?

    • @oddstonegames
      @oddstonegames 7 месяцев назад

      Ok, I did my research when i made this video but found that the two terms were used interchangeably, I don't have any kind of experience with wayland or x11, i did it only for a month or two and decided to make a video about it. If you can explain in detail it will be of help to anyone reading :)

    • @slycordinator
      @slycordinator 5 месяцев назад

      ​@@oddstonegames As alluded to, X11 is a windowing system and protocol. A big component of it is the server, but X11 itself isn't the server. Though, the distinction can be confusing, given that X11's canonical implementation is XOrg Server.

    • @khaled-0
      @khaled-0 3 месяца назад

      🤓

    • @wildwestrom
      @wildwestrom 2 месяца назад

      ​@@oddstonegames You just admitted you haven't even used the software you're talking about and made a video about them?

  • @BirfTheSpider
    @BirfTheSpider 10 месяцев назад

    Incredible!

  • @MrCWoodhouse
    @MrCWoodhouse 11 месяцев назад

    Thanks. Helped me a lot to understand. X11 has been such a mystery to me my whole life. Time to learn.

  • @mikesmorningwood3653
    @mikesmorningwood3653 Год назад

    Beautifully explained, thank you ❤

  • @harshpandey703
    @harshpandey703 Год назад

    thanks!

  • @gamedevmode
    @gamedevmode Год назад

    thank you for explaining in such great details!

  • @silver-zero
    @silver-zero Год назад

    thank you so much!

  • @gamedevmode
    @gamedevmode Год назад

    thanks!

  • @harshpandey703
    @harshpandey703 Год назад

    Amazing video!

  • @silver-zero
    @silver-zero Год назад

    thank you!

  • @sweetlaura7316
    @sweetlaura7316 Год назад

    Interesting video! ✌

  • @garolstipock
    @garolstipock Год назад

    this was superb!

  • @sweetlaura7316
    @sweetlaura7316 Год назад

    Roses are red, violets are blue, your pixel knowledge is on point, and your humor is too! 😂

  • @Zoid-Berg
    @Zoid-Berg Год назад

    big thanks to RUclips for recommending me your videos fr

  • @Zoid-Berg
    @Zoid-Berg Год назад

    Wow

  • @sweetlaura7316
    @sweetlaura7316 Год назад

    Great content! That cat tho 😂

  • @sweetlaura7316
    @sweetlaura7316 Год назад

    Great video as always!