I tried learning OpenGL in 7 days - using Rust

  Рет қаралды 220,401

Tantan

Tantan

Күн бұрын

Пікірлер: 147
@PolyMars
@PolyMars 3 жыл бұрын
this is so cool! graphics programming is magic
@fdevstudio5692
@fdevstudio5692 3 жыл бұрын
You have sdl
@LoganStringer
@LoganStringer 3 жыл бұрын
The way you code "out loud" is hilarious and is how I talk to myself internally when I code... But with more cussing. Great video!
@Tantandev
@Tantandev 3 жыл бұрын
haha "but with more cussing"
@LucyPero
@LucyPero 3 жыл бұрын
That's so awesome. I was just about to use macroquad for my game and resume learning Vulkan in Rust haha. You are so prolific!
@Tantandev
@Tantandev 3 жыл бұрын
Haha what a coincidence!
@dimaspadma8073
@dimaspadma8073 3 жыл бұрын
why you prefer to use vulkan instead of opengl?
@ThisIsAnAccount
@ThisIsAnAccount 2 жыл бұрын
I am genuinely disappointed that I haven't found your channel earlier. This was a great video. I'm glad you addressed the ups and downs of learning graphics programming and actually showed your progress. I remember learning shaders and OpenGL for the first time and getting used to it over many months. It was agony, but damn.. the satisfaction is unreal when you get something to work AND actually understand what and why. Top quality video, plus Swedish accent automatically adds a +10 enjoyment buff. Now to watch all the other stuff on your channel!
@GrizzliusMaximus
@GrizzliusMaximus 3 жыл бұрын
I love graphics programming! once you start, you will realize how much you have been missing out. The endless possibility of Graphics programming + how it utilizes the GPU. Can't wait to see the premier! edit: just watched. great video as always. Love to see you getting better!
@j_respect5948
@j_respect5948 3 жыл бұрын
I dont know about that.... I feel like i become nothing and can't learn anything..... Everything seems impossible
@abuazzan462
@abuazzan462 3 жыл бұрын
any advice on how to start and what language i should begin with?
@not_herobrine3752
@not_herobrine3752 3 жыл бұрын
the day that happens is when i manage to link a goddamn graphics library in windows, and that will happen when pigs fly
@WannibeManisha
@WannibeManisha 3 жыл бұрын
Looks amazing and really natural!! I'm still intimidated by shaders but someday I will tackle it! Always enjoy seeing these small challenges 😄
@ThatOneHandsomeGamer
@ThatOneHandsomeGamer 3 жыл бұрын
Finally! There's a severe shortage of Rust opengl videos on KZbin
@LoganStringer
@LoganStringer 3 жыл бұрын
Right?!
@GrizzliusMaximus
@GrizzliusMaximus 3 жыл бұрын
not a rust user but man, Tantan surely is convincing me to be one!
@thedeathchimera
@thedeathchimera 3 жыл бұрын
This video got me into Rust, and now I'm learning it through the free Pluralsight event going on. Actually feel like I'm making programming progress. Just gotta push myself through the glsl tutorials.
@TheSulross
@TheSulross 3 жыл бұрын
huh? I thought this was a video on a dude trying to learn to play a weird musical i strument
@hanes2
@hanes2 3 жыл бұрын
the lack of Vulkan and Metal is even stronger.
@Skeffles
@Skeffles 3 жыл бұрын
Great water shader! I've never really gotten on with shader code so it's great to see you making such a neat effect.
@aliancemd
@aliancemd 3 жыл бұрын
That looks so good. It could also be used for the fire effect, representing the hot air/heat distortion.
@Tantandev
@Tantandev 3 жыл бұрын
Good idea! I definitely should tweak it a bit more so it's a bit more watery looking
@ankitnautiyal2568
@ankitnautiyal2568 3 жыл бұрын
Wow great work. Thanks thanks thanks for trying these cool things out, its really inspiring. Also you are really doing a great job for rust and game dev learners.
@SmoothieBuns
@SmoothieBuns 3 жыл бұрын
That water scene looks a lot like a maplestory scene... i love it!!
@guogeorge7956
@guogeorge7956 3 жыл бұрын
Actually I am more intristed in how he made the wrong refletion at the beginning.
@woodmanmade
@woodmanmade 2 жыл бұрын
Love using "side quest" to describe when you get distracted by a shiny object and spend WAY too much time not working on what you originally planned 😅
@Tantandev
@Tantandev 2 жыл бұрын
haha yeah!
@theburntcrumpet8371
@theburntcrumpet8371 2 жыл бұрын
You have good taste, we have the same monitors and audio interface
@timothyvandyke9511
@timothyvandyke9511 3 жыл бұрын
gotta say those graphics and that water shader make me want to play that game
@algs5483
@algs5483 3 жыл бұрын
3:32 I love this sound. Reminds me of the COWS.
@FlashBreakerOfficial
@FlashBreakerOfficial 3 жыл бұрын
here a small deform shader^^ f = 0.5 ; // factor or intense nm = tex2d(normalmap, vec2( x + time, y )) ; // move in time nm = saturate((nm -0.5 ) * 2 ) *f ; // saturate make the value is betwen 0 ~1, and the -0.5 and * 2 is to scale the map from middle point result= tex2d(render_tex, vec2( x + nm.x , y + nm.y)) // deform render textur with normalmap ^^
@KropedStudio
@KropedStudio Жыл бұрын
most sane rust programmer
@qxb348
@qxb348 3 жыл бұрын
This channel is golden!
@JesusMartinez-zu3xl
@JesusMartinez-zu3xl 3 жыл бұрын
You give me confidence in learning open gl!
@DestroManiak
@DestroManiak 3 жыл бұрын
one nice idea might be to slowly reduce distortion of the way as you get closer to the boundary of water
@KindStarWonder
@KindStarWonder Жыл бұрын
Love it!
@PeterFaria
@PeterFaria 3 жыл бұрын
I hope you’ve looked at writing shaders as separate files. There are vscode plugins to allow syntax highlighting for shaders.
@rustmc
@rustmc 3 жыл бұрын
so hyped, wgpu next time?
@Tantandev
@Tantandev 3 жыл бұрын
Oh wow, wgpu looks awesome! Researching what it was I came across this tutorial: sotrh.github.io/learn-wgpu/beginner/tutorial3-pipeline/#vertex-fragment-what-are-those My interest has peaked!
@abhinavkuruvilajoseph9274
@abhinavkuruvilajoseph9274 3 жыл бұрын
wgpu seems interesting but it does not support older hardware :(
@rustmc
@rustmc 3 жыл бұрын
@@abhinavkuruvilajoseph9274 they do have an opengl backend, although it is apparently is still WIP
@abhinavkuruvilajoseph9274
@abhinavkuruvilajoseph9274 3 жыл бұрын
@@rustmc yes i saw that. till then i cant support older hardware if i use wgpu
@rustmc
@rustmc 3 жыл бұрын
​@@abhinavkuruvilajoseph9274 true, but overall you can still support way more systems with wgpu, heck even the web
@half_invisible
@half_invisible 5 ай бұрын
cargo fmt commit instead of hooks is such a mood
@_RafaelKr
@_RafaelKr 3 жыл бұрын
6:56 this Ben Böhmer Set on the Cercle KZbin channel is just amazing!
@Tantandev
@Tantandev 3 жыл бұрын
Yes! I listen to it a lot when programming, good eyes!
@_RafaelKr
@_RafaelKr 3 жыл бұрын
@@Tantandev If you like this type of music for programming I can really recommend the set of Mark Tarmonea on the channel "Vibrancy Music". Very good vibes! :)
@falxie_
@falxie_ 3 жыл бұрын
I looked up Rust game stuff and wasn't disappointed
@estanforth6754
@estanforth6754 3 жыл бұрын
Vulkan next!
@LunaCoco
@LunaCoco 3 жыл бұрын
Oh, hype
@brotkopf169
@brotkopf169 6 ай бұрын
"I've gone through the complete tutorial, so that is a course for celebration" **blows the horn**
@LaChips806
@LaChips806 3 жыл бұрын
You can actually create an OBJ parser pretty easily. It's a simple file format. I've been able to do in in a few minutes. Rendering however, is a different story..
@andrewjohnson1835
@andrewjohnson1835 3 жыл бұрын
17 more hours to goooooooooo
@enkelenahaxhiu3705
@enkelenahaxhiu3705 6 ай бұрын
fun content!
@adytm
@adytm 3 жыл бұрын
Cool vid Good luck
@xbz24
@xbz24 3 жыл бұрын
Love the content
@cosput
@cosput 2 жыл бұрын
Solid advice.
@andrewjohnson1835
@andrewjohnson1835 3 жыл бұрын
here to after the the live stream
@roucool1323
@roucool1323 3 жыл бұрын
Nice video!
@coffeecatrailway
@coffeecatrailway 2 жыл бұрын
This reminded me I have a lwjgl side project...
@koldovalnya
@koldovalnya 3 жыл бұрын
I MUST subscibe at least because of THIS xD: 3:33 You are the best dude :D
@ypaut
@ypaut 3 жыл бұрын
I swear
@pislify34
@pislify34 3 жыл бұрын
rust and opengl looks like that kind of thing that looks forbidden by the C gods
@ninocraft1
@ninocraft1 Жыл бұрын
nice, thx i will steal that xD
@ferdinand.keller
@ferdinand.keller 3 жыл бұрын
Nice we can agree on rust being the best
@blackmirror9573
@blackmirror9573 3 жыл бұрын
good work... i really like it....
@vectoralphaSec
@vectoralphaSec 2 жыл бұрын
Is there a possibility that Rust becomes just as used as C++ in the games industry for game development?
@Tantandev
@Tantandev 2 жыл бұрын
I truly believe so, but what we have to see then is probably more game engines being written with it. I could see Bevy having a big impact in the future.
@costelinha1867
@costelinha1867 10 ай бұрын
I mean, I doubt most game devs will use it for scripting, as they'd prefer a simpler language, but I can totally see Rust being used to power future game engines, making them safer and all.
@zed4314
@zed4314 2 жыл бұрын
Man why are swedish people so damn good at KZbin
@filippocozzi2941
@filippocozzi2941 3 жыл бұрын
What tutorial did you follow? Also great work, i can't imagine how hard it is to learn something completely new in such a short time...
@Tantandev
@Tantandev 3 жыл бұрын
sorry for the late answer, I followed the "glium book" it's in the official glium repository: github.com/glium/glium/blob/master/book/SUMMARY.md
@coolmanthecool603
@coolmanthecool603 9 ай бұрын
Now do it with vulkan
@LucyPero
@LucyPero 3 жыл бұрын
I wish I could learn Vulkan in 7 days... it's gonna be tough 😓
@Tantandev
@Tantandev 3 жыл бұрын
That sounds very hard! :P
@qops1981
@qops1981 3 жыл бұрын
Maybe you already have by more, but you should try the newer Vulcan API. I think even OpenGL supports it as a successor.
@SuperCacazinho
@SuperCacazinho 3 жыл бұрын
You look so happy
@AdhirRamjiawan
@AdhirRamjiawan 3 жыл бұрын
epic video!
@costelinha1867
@costelinha1867 10 ай бұрын
Aaah Rust, the language with a compiler so strict that it made me run away to C in fear, lol.
@julienblanchon6082
@julienblanchon6082 Жыл бұрын
I'm strugling to learn opengl for doing some gaussian splatting stuff it's quite hard
@jawtaro4583
@jawtaro4583 8 ай бұрын
reminds me of the game, Kingdom
@Byynx
@Byynx 2 жыл бұрын
Is it possible to have your text editor color layout ?
@CreateDefaultSubobject
@CreateDefaultSubobject 2 жыл бұрын
Does intellisense work well in visual studio code for rust?
@costelinha1867
@costelinha1867 10 ай бұрын
Yes, provided you're willing to wait for the colossal time it takes for rust_analyser to load.
@passivecryptoearnings3605
@passivecryptoearnings3605 3 жыл бұрын
Please write your shaders in separated files !!
@ajinkyax
@ajinkyax 3 жыл бұрын
I started learning C++ and Dx11 (since C++ has way more tutorials) I used to make games in Rust and Bevy. What will you suggest me ? Since I started Bevy cause of your videos :) So far what I like in C++ wish Rust had, a better IDE support visual studio, Rust analyzer always fails on me, I had to change 3 OS so far to get it working. C++ has better documentations, Rust has the book which is the best thing, but lacks in Rust docs which I never understood.
@bhuwansharmaa
@bhuwansharmaa 3 жыл бұрын
I stopped at the triangle :( .. need to start again
@Tantandev
@Tantandev 3 жыл бұрын
it truly takes a long time to wrap your mind around how everything works together. I'm now doing round 5 or six of making a graphics program from scratch. I'll have video on it later :)
@bhuwansharmaa
@bhuwansharmaa 3 жыл бұрын
Yeah its like iterative process of learning. Get the blurry picture in mind and then sharpen it up with repetitions
@spodarman3823
@spodarman3823 3 жыл бұрын
How is his accent so confusing and so clear at the same time
@bojantanasic221
@bojantanasic221 3 жыл бұрын
Rust is more convenient on linux to install in order to make it work. In windows I need to download visual studio and install some components from the workload. I haven't used it in a while but what made you choose rust over c++?
@ahmadj1064
@ahmadj1064 3 жыл бұрын
programming on *nix is better in general
@Temulgeh
@Temulgeh 3 жыл бұрын
i find it funny that working with the API didn't seem that much of a problem for you, but GLSL was, because for me GLSL was the break after all the API nonsense. Maybe the wrapper you're using is just that good
@RoboticusMusic
@RoboticusMusic 3 жыл бұрын
What could I do better in Rust than anywhere else?
@comradepeter87
@comradepeter87 3 жыл бұрын
Nothing better or necessarily faster (unless you're not talking about C/C++), just safer and more elegant.
@wait...6531
@wait...6531 3 жыл бұрын
I'm trying to learn and man it's hard
@Tantandev
@Tantandev 3 жыл бұрын
Yes it is, it's like learning a new programming language almost, so many concepts to grasp!
@zaleyu5275
@zaleyu5275 3 жыл бұрын
Beautiful keyboard. Is that g915? Thanks
@Tantandev
@Tantandev 3 жыл бұрын
It's a keyboard from a company called Wooting. They keys are analogue meaning it knows how far in you press the keys, pretty cool but I don't use that feature really... My first mechanical keyboard :)
@zaleyu5275
@zaleyu5275 3 жыл бұрын
@@Tantandev thanks, it’s pretty
@uotsabchakma
@uotsabchakma 2 жыл бұрын
Oh thanks! For what? For letting me know that there's a graphics crate named glium!
@panjak323
@panjak323 2 жыл бұрын
OGL is pain by itself. But doing it in Rust ? Suicide.
@gsbenassi1735
@gsbenassi1735 3 жыл бұрын
I have a question: This type of function is ONLY for the aesthetic use of maps where the player does not use water (in other words: if he falls into the water he dies) OR is it possible to program this function in games where the character falls into the water and can swim and sink in it? Because I can't imagine a characters transition going down, obviously in a single "tale" Since I know that this function only serves to represent the surface reflection. I ask this because I intend to introduce maps where there is a transition between surface and water plane, and I think it would be difficult to use this function in a game like this, where you can fall and swim 🤔
@uljonata3947
@uljonata3947 3 жыл бұрын
can u make a game with vulkano-rs/vulkano in 7 days?
@voodoo_child9831
@voodoo_child9831 2 жыл бұрын
It has been more than 7 days, I still can't setup OpenGL properly.
@Tantandev
@Tantandev 2 жыл бұрын
We've all been there!
@avourofficial
@avourofficial 3 жыл бұрын
Please review rg3d rust game engine
@УильямДефо-э2е
@УильямДефо-э2е 3 жыл бұрын
Thanks for russian subtitles
@vargatamas6422
@vargatamas6422 Жыл бұрын
I thought Heath Ledger is dead but he's coding in Sweden
@peki_ooooooo
@peki_ooooooo 2 жыл бұрын
cool
@itay2826
@itay2826 3 жыл бұрын
I'm not going to lie.. I'm probably the most lazy man I know but I want to start learning to code (I don't know any Programming language except really really noob level py but I'm 14 so I guess it's not soooo bad Situation) and I don't know if should I start with py, java, js, any c (I know they are nothing alike) or rust and I will love to hear from you what do you think because when I starts something I'm putting my whole time to it.. so I want to be sure I started with the best (I knew that I need to know more than one language and that I have a lot of time to discover myself what language it's the best for Me but I want your advice as a very smart and experienced guy) so.. ?
@Tantandev
@Tantandev 3 жыл бұрын
I don't think it should matter to much what language you start our with. Try to make many small projects. I got started with graphical programming using multi media fusion, but I would probably not recommend starting with that. But yeah over time, you are probably going to get to try out many languages. A valuable skill is to be able to find resources to learn, searching for tutorials, articles, videos. Find a language/game engine that you can find a lot of learning resources on
@minegeymer
@minegeymer 3 жыл бұрын
Cool x2
@null_ham
@null_ham 3 жыл бұрын
steam game made with rust when
@iHelpOfficial
@iHelpOfficial 3 жыл бұрын
I think a game called WitchBrook is being developed by chucklefish with Rust
@thg1nrediar
@thg1nrediar 2 жыл бұрын
good
@otto_ueue
@otto_ueue 2 жыл бұрын
🦀🦀 :)
@blockedchannel7032
@blockedchannel7032 2 жыл бұрын
So, now let’s learn Vulkan in seven days, because OpenGL is deprecated
@周颖-x7t
@周颖-x7t 3 жыл бұрын
好可爱!
@Cowboy8625
@Cowboy8625 3 жыл бұрын
confusion is all part of programing. At lest that is the case for me.
@nyxkrage
@nyxkrage 3 жыл бұрын
vulkan in 7 days when?
@MCexeOfficial
@MCexeOfficial 3 жыл бұрын
Är du svensk?
@MCexeOfficial
@MCexeOfficial 3 жыл бұрын
nvm jag märkte det sen senare i videon
@tecnotrecos1680
@tecnotrecos1680 3 жыл бұрын
Now learn vulkan in 7 days
@Tantandev
@Tantandev 3 жыл бұрын
Some day maybe :D Would actually be pretty interesting experience
@danifeldman8884
@danifeldman8884 3 жыл бұрын
I have wondered at the beginning how you learned OpenGL in 7 days when youtube recommended me this video. So it is just a Rust graphics library, and you modified some examples, ok : )) Something like the Magnum C++ graphics library I use for a game but I guess you can set it up easier. It is ok to understand some basic math used in graphics and shader programming which is a whole new art and science on a lower level. But it is confusing to say that that you have learned openGL in 7 days.
@macawls
@macawls 3 жыл бұрын
you are hilarious
@evakuator8118
@evakuator8118 3 жыл бұрын
I wish I didn't have a job
@Hellohiq10
@Hellohiq10 3 жыл бұрын
Imagine using rust
@HDmc16
@HDmc16 2 жыл бұрын
took me 7 days just to draw a triangle :(
@t.lnnnnx
@t.lnnnnx 3 жыл бұрын
opengl currently makes me wanna kms
@zainliberty4084
@zainliberty4084 2 жыл бұрын
Why you have so many hair
@sytnoff1
@sytnoff1 8 ай бұрын
Cuz he is human
@blubberkumpel6740
@blubberkumpel6740 6 ай бұрын
hey, thanks for hte video. I dont want to brag or anything, but i literaly setup a website which loads an obj, parses it and displays it with shaders in under 5min. With ai of course. I dont know if i only like.
@elgusanito6991
@elgusanito6991 3 жыл бұрын
too much hype
@humptydumpty3805
@humptydumpty3805 2 жыл бұрын
when pewdiepie goes programming:
@Tantandev
@Tantandev 2 жыл бұрын
lmao
@evakuator8118
@evakuator8118 3 жыл бұрын
Use neovim Pepega
@osys7832
@osys7832 Жыл бұрын
I’m a guy who knows things about graphics programming. unless you’ve some experience before there is bo way this is 7 week work. You can’t even understand the whole the foundation of pipeline and vertex buffers arrays etc.
@undeadpresident
@undeadpresident 2 ай бұрын
Liar. Nobody does that in 7 days.
100 Hours Of Graphics Programming
6:48
Tantan
Рет қаралды 165 М.
I Tried The "Game Engine Of The Future"
26:13
Fredyy
Рет қаралды 51 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
4 Months of Game Programming With My Own Engine
21:30
jdh
Рет қаралды 510 М.
Recreating Noita's Sand Simulation in C and OpenGL | Game Engineering
10:03
The game of the year was written in Lua
5:32
Tom Delalande
Рет қаралды 307 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 736 М.
What Is A Graphics Programmer?
30:21
Acerola
Рет қаралды 474 М.
How to Learn Rust
10:36
No Boilerplate
Рет қаралды 609 М.
Should you learn C++?? | Prime Reacts
20:29
ThePrimeTime
Рет қаралды 421 М.
I BUILT My Game Engine, And YOU Can Too! 💪 (Part 1)
7:34
Furkan Sarıhan
Рет қаралды 23 М.
I remade my voxel game 3 times, this is why
12:11
Tantan
Рет қаралды 123 М.
Creating My Own Custom 3D Graphics Engine
26:29
Inkbox
Рет қаралды 129 М.