I Made a Graphics Engine

  Рет қаралды 239,001

Zyger

Zyger

Жыл бұрын

Graphics Engine. Since you guys loved the video about me making a physics engine I made this. I try out a bunch of awesome stuff like rendering 2D, & 3D shapes, object loading, textures, materials, shaders, terrain generation and much more!
Me Making a Physics Engine: • I Made A Physics Engine
➤My Links:
Discord: / discord
Instagram: / gabzxd
Twitch: / officialzyger
Twitter: / zygerdesigns
Patreon: / zyger
➤Similar Videos:
jdh - Making my web game engine - • Making my web game engine
Guilherme Teres - I Made a GAME ENGINE in 30 HOURS! (from Scratch) - • I Made a GAME ENGINE i...
n8dev - I Made My Own Game Engine - • I Made My Own Game Engine
➤Ignore:
I created my own graphics engine engine. I tried implementing as many features as I could. I began by rendering 2D shapes onto the screen and realized how much work it is to calculate all eh vertices and indices hand. I then moved onto 3D shapes which was even harder. I created materials and textures which I would apply onto the objects. Then I moved onto implementing shaders such as transparency, fog, water, displacement, sin waves and more. I also took a quick break to add a skybox. As a final feature I added terrain generation based on a height and noise map. This was really difficult and it took a while to get it working but wow is it beautiful.
Finally I added some camera controls, optimizations and the engine was finished.
#gamedev #zyger #gameengine

Пікірлер: 355
@predopogdois
@predopogdois Жыл бұрын
I love the "My game suddenly disappears in front of my eyes" feature, it adds so much to the aesthetic.
@cuppa_joe935
@cuppa_joe935 Жыл бұрын
I especially loved the “it’s 3 AM and I’m staring at a wall of code it burns my eyes so much“ feature, it really gives a sense of realism.
@halfbakedproductions7887
@halfbakedproductions7887 Жыл бұрын
You get that in Unity when you have the wrong Z-coordinate or the camera isn't set up properly.
@Chamerli
@Chamerli Жыл бұрын
Be prepared Unity and Unreal, cuz we have a new challanger
@macaaris1018
@macaaris1018 Жыл бұрын
😎
@somebody_2837
@somebody_2837 Жыл бұрын
It looks cool and all, and I get the joke, but to be realistic, Unity and Unreal have better graphics and UI.
@JustJory
@JustJory Жыл бұрын
@@somebody_2837 u ruined it
@somebody_2837
@somebody_2837 Жыл бұрын
@@JustJory Guess you didn't read it properly
@bu3778
@bu3778 Жыл бұрын
@@somebody_2837 😐💀
@microdavid7098
@microdavid7098 Жыл бұрын
I like devlogs like these. Doing things that people are scared of and actually making them is something I respect
@microdavid7098
@microdavid7098 Жыл бұрын
I wish there were more c++ devlogs
@Biggest-Ounce
@Biggest-Ounce 4 ай бұрын
Making a game in c++ (from scratch) // Devlog #1
@Biggest-Ounce
@Biggest-Ounce 4 ай бұрын
r/gamedev
@Biggest-Ounce
@Biggest-Ounce 4 ай бұрын
The internet
@Biggest-Ounce
@Biggest-Ounce 4 ай бұрын
Ptuh
@HeroBabaa
@HeroBabaa Жыл бұрын
3:26 I love how it says "Mom I programmed this all by myself" as the title of the window.
@sakamocat
@sakamocat Жыл бұрын
directx is a good option for performance on windows but honestly i think opengl/vulkan is better since it runs on almost everything great job!
@ZygerGFX
@ZygerGFX Жыл бұрын
ooh I've never tried vulkan maybe I should then
@SylvanFeanturi
@SylvanFeanturi Жыл бұрын
@@ZygerGFX Just remember who told you to "try Vulkan" so you can ban them from your channel later ]:->
@MatheusKlSch
@MatheusKlSch Жыл бұрын
Just remember: it takes around 1k lines of code just to clear the screen in Vulkan, meanwhile OpenGL, despite being older (but not deprecated yet, at least on non-apple platforms) you can do the same with around 200 lines Good luck
@DFPercush
@DFPercush Жыл бұрын
Vulkan is a much lower level API. It more closely represents what GPU hardware is doing than OpenGL, so it's more explicit and introduces some new concepts like pipelines and attachments. Consequently it can be much faster than OpenGL. But there is a learning curve. It takes a thousand lines to set it up, but about 3 lines to actually draw stuff. The pain is all at the beginning. ;)
@salbertus2578
@salbertus2578 Жыл бұрын
@@ZygerGFX listen to the masses. Avoid Vulkan for your mental health
@cyborgryno6038
@cyborgryno6038 Жыл бұрын
Man, this would of been revolutionary in 1992!
@neix.2298
@neix.2298 Жыл бұрын
god damn! are we going to have tetris in real life?!?!
@moya_mama
@moya_mama Жыл бұрын
ehh, then I wonder what century unity3d users live in....
@ryonagana
@ryonagana Жыл бұрын
there's no DX in 1992
@DAOXINNo15
@DAOXINNo15 Жыл бұрын
Bruh, you didn't have to massacre my girl like that. She is not my girl but still, bruh. Lol (I know you didn't mean it in a spiteful way)
@gabitheancient7664
@gabitheancient7664 Жыл бұрын
I love how it all looks like 2000s game graphics and general vibes
@gbrect6239
@gbrect6239 11 күн бұрын
Same😊
@chesspaws
@chesspaws Жыл бұрын
Programming, gaming, and Vivaldi. There is _hope_ for humanity. Thanks for sharing.
@aminrezaie976
@aminrezaie976 Жыл бұрын
i just really like that this video ended with "no" and nothing else XD
@temz7460
@temz7460 Жыл бұрын
That's impressive work ! Great job imprementing all that !
@ughughboi
@ughughboi Жыл бұрын
I ONCE AGAIN LOVE VEHICULAR MANSLAUGHTER
@ughughboi
@ughughboi Жыл бұрын
my bs aside, nice work!
@philltheotherguy1868
@philltheotherguy1868 Жыл бұрын
😻vehicular manslaughter😻
@noel1522
@noel1522 Жыл бұрын
I stumbled upon your video in my feed and I wasn't expecting to be this entertained. You are a great coder with great comedic timing. This one liked and subscribed. Keep it up!
@CoconutJones_
@CoconutJones_ Жыл бұрын
"And was it worth it?.... No."
@runrajrun
@runrajrun Жыл бұрын
Happy to find your channel! Really enjoyed the video 🔥
@darkzeroprojects4245
@darkzeroprojects4245 Жыл бұрын
Congrats on that. I am trying to make couple of my own for my first few game projects when I reach to a beta stage.
@sceplecture2382
@sceplecture2382 Жыл бұрын
1:19 that sound is from maplestory! Memories...
@novadea1643
@novadea1643 Жыл бұрын
Great work and I hope the best of luck in discovering more about game engines through writing your own, it's usually a futile endeavor since making a game engine != making a game, but I'm the kind of person that was mostly interested in the former and in that case I think it's absolutely one of the best ways to learn about game engines and why they're designed the way they're etc.
@Bonnie20402
@Bonnie20402 Жыл бұрын
Amazing video that popped up in my recommended tab a few days ago. Nice KZbin algorithm, subscribed.
@JonathanSteadman2003
@JonathanSteadman2003 Жыл бұрын
That is pretty awesome! Well done. 😀
@Ddotsun
@Ddotsun 3 ай бұрын
The more projects you make the more ideas you can come up with I’m learning patience andnetwork powerful
@Terandium
@Terandium Жыл бұрын
Love the sound effects
@tanama84
@tanama84 6 ай бұрын
OMG!! that was awesome, I can only slap png image to screen with SDL and make the moving. I will learn how to render 3D later ... great job!!
@Sammysapphira
@Sammysapphira Жыл бұрын
I love your maplestory slime/mushroom death sounds
@scooterboom4157
@scooterboom4157 5 ай бұрын
what the hell!?!? this is better then any tutorial on c++ 3d engine I could find!
@That_0ne_Dev
@That_0ne_Dev Жыл бұрын
This reminds me of one of my modules I did at uni where we was using cpp and dx11 to render terrain... although I made mine infinite and wrote my own obj model because I didn't wanna use ASSIMP lol anyway nice work. I know this kind of thing is a nightmare
@GingerNingerish
@GingerNingerish Жыл бұрын
Nice, that looks like it would give me a headache trying to figure out. Maybe one day.
@mr_confuse
@mr_confuse Жыл бұрын
It is, but wait till you learn about Vulcan, boi are you in for a treat :)
@henrikd.8818
@henrikd.8818 Жыл бұрын
nice work. Love it!
@korypeters2059
@korypeters2059 Жыл бұрын
im blown away by how smart people are!!!
@MenkoDany
@MenkoDany Жыл бұрын
I think you sea of STOLE my HEART I mean good job
@gorilaoz6514
@gorilaoz6514 Жыл бұрын
Every step that u take is worth if u learned something. keep the great work +1sub
@thephoenixsystem6765
@thephoenixsystem6765 Жыл бұрын
That was awesome, just started learning OpenGL yesterday So I chase now
@kanpekiken2481
@kanpekiken2481 Жыл бұрын
Love to see this sort of content :) I was hoping you did Vulcan not directX since no one uses it anymore lol
@landueled
@landueled Жыл бұрын
Way to go, you're gonna be a new Tim Sweeney!
@datcanard4
@datcanard4 Жыл бұрын
Great artistitic value to our world, thx
@preludelight
@preludelight Жыл бұрын
your window titles absolutely slay me
@unraveledultimatefate
@unraveledultimatefate Жыл бұрын
That's what i like about acquiring knowledge, you can also use SDK of other engines and modify them to support for instance all CPU Cores, and the latest computer hardware in optimized way, but more speculatively. For example, i'd like to see Crysis make potential of all 10 CPU Cores to preserve power for the GPU, etc, I doubt the Remastered uses more than the original Crysis.
@piyushsingh8361
@piyushsingh8361 Жыл бұрын
i liked the video even tho i got sick of the graphics but couldnt deny the fact that im also building my mind for c++
@KoruxTV
@KoruxTV 9 ай бұрын
What is used for water effect is called a tesselation shader or a geometry shader and it adds vertices to the triangles you send to it and displaces it using various displacement functions (sin waves would not give a convincing water effect)
@ZygerGFX
@ZygerGFX 9 ай бұрын
Yes that is very true sin waves don't look good. And this is definitely something I want to try at one point.
@NoobSvCy
@NoobSvCy Жыл бұрын
That exit music tho :3
@BEN-ys6gu
@BEN-ys6gu Жыл бұрын
Nice to see a girl in this community. the voice took me by surprise. Also this is a pretty good channel wth, you must be about to blow up to at least 300K subs
@LHInstrumentals
@LHInstrumentals Жыл бұрын
"Was it worth it? No" 😂
@kairu_b
@kairu_b Жыл бұрын
Awesome work
@dsnahogaragames
@dsnahogaragames Жыл бұрын
I just started the other day with Vulkan and wanted to die inside! heheh, fantastic video
@thinkingspace3438
@thinkingspace3438 Жыл бұрын
@@h..h yes, opengl can work on a lot of platforms and can be used with other multiplatform framework like sdl, so if you want to make an engine for a game from scratch that's the only think you can use nowadays imo. raw directx will only work on windows, and you don't want to make the compat layer yourself... maybe we'll get some stuff to work with vulkan easily but for now just go with opengl, even if its not the most modern thing
@wrmusic8736
@wrmusic8736 Жыл бұрын
@@h..h OpenGL is easy to learn and use, but it won't provide you with parallelism like Vulkan would. One really cool thing in Vulkan is that you can create an asynchronous compute pipeline and offload a lot of stuff to it (like post processing / physics calculations) which will be calculated by the GPU while you are gathering data for the frame instead of waiting on compute shader to be done like it would be in case of OpenGL. Vulkan isn't hard to learn per se, it's just hard to track. I mean try to remember which descriptor set for which descriptor layout with which bindings did you create and did you assign them to pipeline? Oh boy.
@JoshtynDotTV
@JoshtynDotTV Жыл бұрын
i heard a very handsome whistle in that background music!
@alexclaz
@alexclaz Жыл бұрын
Nice! you created the next Cyberpunk
@fourlionnn
@fourlionnn Жыл бұрын
I like the name "I AM LOSING MY MIND" as a name of the engine.
@gametram6139
@gametram6139 Жыл бұрын
Cool Video! now make ambient occlusion, depth of feild, motion blur, emmision, baked global illumintation, and post process shaders.
@ZygerGFX
@ZygerGFX Жыл бұрын
thanks to be fair I have made post processing shades,and lighting stuff before . Haven't tried depth of feild, emission or motion blur, so need to give that a go. good idea :)
@vitogeist
@vitogeist Жыл бұрын
bro got a list of demands lol 💀
@Itsme-wt2gu
@Itsme-wt2gu Жыл бұрын
Try unreal and you will have a great idea , also implement lods system for mesh
@apIthletIcc
@apIthletIcc Жыл бұрын
subbed cuz I can tell from this video already i'm around like minds lol you explained alot of this in a way that my adhd brain sees a clear process it would take. I'm currently trying to learn some modeling and stuff related to building physics based vehicles for a vehicular combat sim/ extraction shooter set in a dark gritty cyberpunk 1930's california but with accurate soft body physics like beam ng and looter/shooter style dungeons underground.
@sohaib_t
@sohaib_t Жыл бұрын
There is smth soothing abt the accent (assuming it's like British or Australian) it makes me feel like I understand what you are saying when I don't lok av never dabled in custom "engines" seems interesting tho
@ElaBaasel
@ElaBaasel Жыл бұрын
Amazing work! You understand the basic functionality of an renderer, planes, shapes, textures, camera and object matrix, scenes, controls and a lot more. I'am impressed. Not everyone understands such these thing.
@ChezFrog
@ChezFrog 3 ай бұрын
wasn't expecting a skylanders reference
@AlbertRyanstein
@AlbertRyanstein Жыл бұрын
Good stuff! How long u been learning dx?
@dietrichdietrich7763
@dietrichdietrich7763 7 ай бұрын
4:07 is important to me because I learned from you that a Sine Wave creates Wave Effects
@KiewieGames
@KiewieGames Жыл бұрын
Me when terraria Music 2:53 💃🕺💃🕺💃🕺
@ThatGamePerson
@ThatGamePerson Жыл бұрын
Zyger, why do you do this to me? You make a video showing something cool and then, my smooth brain is like "Better yeet all my projects and do something similar but more different" So now here I go to do some Vulkan stuffs. Thanks.
@ZygerGFX
@ZygerGFX Жыл бұрын
You're welcome 😅
@Itsme-wt2gu
@Itsme-wt2gu Жыл бұрын
Learning is that don't mess just use the pre-existing for sake of simplicity
@emoneydev8684
@emoneydev8684 Жыл бұрын
Did this a few years ago and almost killed my self
@frosty7674
@frosty7674 Жыл бұрын
I see so zyger is becoming the "I made my own" stuff user
@philltheotherguy1868
@philltheotherguy1868 Жыл бұрын
We all know what comes next: custom game engine.
@beau101023
@beau101023 Жыл бұрын
Relatable dev content
@itstommymate
@itstommymate Жыл бұрын
This is cool :D Now make a PBR shader with Global illumination, ambient occlusion. Screen Space Reflections, Bloom and HDR. Don't worry, I belive you on this one 😎😎😎
@krishnanspace
@krishnanspace Жыл бұрын
Crazy!! Can you point me to some good resources to get started into graphics programming?
@StormyYay
@StormyYay 2 ай бұрын
The terraria music in the background is amazing
@Kartik-dp4jf
@Kartik-dp4jf Жыл бұрын
Hey, I was trying to implement something similar a while ago but got stuck in.. clipping. Can anyone explain or site any sources I can study to understand the implementation. It will be very helpful
@Humble_Electronic_Musician
@Humble_Electronic_Musician Жыл бұрын
Impressive!
@-Engineering01-
@-Engineering01- Жыл бұрын
i don't know in which way should i describe my thoughts but here is: literally %99 of KZbinrs who s do make these gaming or graphics related videos but none of them is actually working in the game industry, they're just KZbinrs, except Freya Holmer.
@JoeJabby
@JoeJabby Жыл бұрын
Zyger works for rare.inc
@_loss_
@_loss_ Жыл бұрын
The aesthetics are nice at least
@jasimwani
@jasimwani Жыл бұрын
After the great titan war ended, Gabi moved to the woods of Marley and decided to make games for rest of her life😀
@LunarcomplexMain
@LunarcomplexMain Жыл бұрын
I remember doing stuff like this in JS via the canvas, tons of fun, but man, when you start having to worry about performance and create strategies for loading and unloading objects, that's gonna be loads of fun, gl
@RitterderRedlichkeit
@RitterderRedlichkeit 8 ай бұрын
You should try vulkan - soooooo good
@RitterderRedlichkeit
@RitterderRedlichkeit 8 ай бұрын
vulkan sdk
@humdrum5408
@humdrum5408 Жыл бұрын
I challenge you to make a game in it!
@Dynamic155
@Dynamic155 Жыл бұрын
Wow, I can barely make a PowerPoint presentation, and this person just made a graphics engine. I think I need to reconsider my career choices.
@airman122469
@airman122469 3 ай бұрын
“I made a graphics engine… by importing a bunch of libraries that implement much of the hard stuff”
@kazutozoro9245
@kazutozoro9245 Жыл бұрын
amazing :0
@kensclark
@kensclark 4 ай бұрын
I dare you to use Vulkan. One thousand lines of code just to render a triangle. I love it though.
@maximuscupp1272
@maximuscupp1272 Жыл бұрын
did u try a square or a 1 polygon skybox it might work for better performance idk
@NeoShameMan
@NeoShameMan Жыл бұрын
You are not dead!
@TheStickCollector
@TheStickCollector Жыл бұрын
I want to make one eventually
@augnix888
@augnix888 Жыл бұрын
Very nice
@erik9817
@erik9817 Жыл бұрын
Nice! Which DirectX version are you using?
@ZygerGFX
@ZygerGFX Жыл бұрын
11
@swrcPATCH
@swrcPATCH Жыл бұрын
2:20 "I made is spin :)"
@someghosts
@someghosts Жыл бұрын
I understood none of it but still enjoyed it
@huge_aubergine
@huge_aubergine Жыл бұрын
It was worth it, believe me
@Rogueixpresents
@Rogueixpresents 5 ай бұрын
Mad respect!
@wiktorwiktor12
@wiktorwiktor12 Жыл бұрын
game of the year
@speedlight7678
@speedlight7678 Жыл бұрын
"i just made a window open, there is nothing in it." The code: Line 456
@penguin7323
@penguin7323 Жыл бұрын
cold video g! ! !
@danielelaprova4119
@danielelaprova4119 Жыл бұрын
Great job! Now do it like a real man in ANSI C
@tomasdougan1419
@tomasdougan1419 Жыл бұрын
Sick
@kipchickensout
@kipchickensout Жыл бұрын
i thought the same like yesterday or so xD "yo how did i land on wikipedia mobile page" *looks into URL* "wait I'm not wtf" i hope that at least it has dark mode now :D
@azul2856
@azul2856 Жыл бұрын
can you please answer what's the name of the background musics?
@TheBusinessDude
@TheBusinessDude Жыл бұрын
Pretty cool🙂👍
@tijlengelhart8020
@tijlengelhart8020 Жыл бұрын
Petition: "Build a editting program and then edit that video in it"
@SamerAlhasweh
@SamerAlhasweh Жыл бұрын
add a sound engine and then mash them together
@bitmasked
@bitmasked Жыл бұрын
Ah yes, a story after my own heart: Approximate British Engineering. 🇬🇧
@marcinsolecki1732
@marcinsolecki1732 Жыл бұрын
0:07 Snail dying xD
@Axelvad
@Axelvad Жыл бұрын
"Was it worth it.. no!" 😁 Thinks the same everytime i close godot. At least its fun kind of.
@rbxzy
@rbxzy Жыл бұрын
Grammer go hard 2:22🤙🤙
@snwfre
@snwfre Жыл бұрын
Nice.
@mattiskardell
@mattiskardell Жыл бұрын
add lighting then it will look cool
@GoogleDothBetray
@GoogleDothBetray Жыл бұрын
Isn't this just a part of the Uni course?
I Made a Graphics Engine (again)
8:27
Zyger
Рет қаралды 156 М.
Learn Reverse Engineering (for hacking games)
7:26
cazz
Рет қаралды 959 М.
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 67 МЛН
28 - Fix pink textures in Unity 2021
2:19
Square One Tutorials
Рет қаралды 70 М.
100 Hours Of Graphics Programming
6:48
Tantan
Рет қаралды 142 М.
What is Nakamoto Games? NAKA Tokenomics simply explained!
6:54
I Explain Crypto
Рет қаралды 5
I Made a Voxel Graphics Engine
10:33
Zyger
Рет қаралды 43 М.
Making a Game With C++ and OpenGL
6:36
Zyger
Рет қаралды 44 М.
The Revolution of Godot
7:01
anyDev
Рет қаралды 813
7 Days of Working on my Story FPS Game - #Devlog 1
8:55
Why Doom is Awesome: Binary Space Partitioning
26:25
ShreddedNerd
Рет қаралды 999 М.
3 Months of Game Programming in 20 Minutes
20:32
jdh
Рет қаралды 590 М.
Mama cat is rescuing her daughter  #cat #cute #catstory #kitten
0:40
AiCat777 喵喵王小橘
Рет қаралды 8 МЛН
DQ Flick Flush 🚽🍦🚽🍦🚽🍦🚽
0:11
Cereal Box Seth
Рет қаралды 7 МЛН