100 Hours Of Graphics Programming

Ғылым және технология

Graphics programming is freaking hard! Voxel engine, water/wind shaders, landscape height map generation, scene transitions, are just a few of the things I've made with it so far. If you want to build a car, it might help to reinvent the wheel sometimes to fully understand it on a deeper level.
All projects I've highlighted in this video was written with Rust + various libraries!
The water + landscape + wind project I made specifically for this video using Rust and wgpu.
It's hard to quantify but rest assured, I've spent more than 100 hours trying to learn this skill.
Want to support me?
Patreon: / tantandev
Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur
Credits:
Music Moon And Star by Wintergatan Build Tracks
Music Valentine by Wintergatan
Music The Rocket by Wintergatan
Music Sommarfågel by Wintergatan
Music Non-Euclidian Geometry by Punch deck
Music Brazilian Street Fight by Punch deck
Wintergatan link: wintergatan.net/
License can be found on website
Punch deck link: / punch-deck
Punch deck license: creativecommons.org/licenses/...

Пікірлер: 180

  • @AlexBlackfrost
    @AlexBlackfrost2 жыл бұрын

    When you stare into graphics programming and graphics programming stares back, you realise that game engines are a crazy piece of software.

  • @nickgennady

    @nickgennady

    2 жыл бұрын

    And what’s worse is we have DirectX, Vulkan, OpenGL and Metal. So annoying for cross platform lol.

  • @qvindicator

    @qvindicator

    2 жыл бұрын

    @@nickgennady that’s more graphics APIs than hardware vendors. Kind of ridiculous. There are also more APIs for consoles than those 4

  • @youcefdz5598

    @youcefdz5598

    6 күн бұрын

    @@nickgennady Vulkan is slowly taking over OpenGl , but different hardware requires a different software and drivers that's why i respect apple for creating their own graphics api so that it's much more optimised to use their hardware . but i guess having different graphic apis create more jobs for game developers so that's a win

  • @Chadderbox
    @Chadderbox2 жыл бұрын

    Here we can observe the sigma male doing everything without a game engine. However, it is essential you maintain your distance or you could fall victim to a 2 hour conversation about how good Rust is. Loved the video!

  • @Dorbellprod

    @Dorbellprod

    2 жыл бұрын

    chabberdox

  • @mrmaniac9905

    @mrmaniac9905

    2 жыл бұрын

    oh I'd love to have a 2+ hour convo about how good rust is.

  • @nickgennady

    @nickgennady

    2 жыл бұрын

    Sigma male?

  • @cyanuranus6456

    @cyanuranus6456

    Жыл бұрын

    ChadderBox? What Are You Doing Here?

  • @SuboptimalEng
    @SuboptimalEng2 жыл бұрын

    Your point about graphics programming being difficult to learn is spot on. Most people can easily pick up a web framework in a weekend, but it can take weeks to learn about the fundamentals of 3D coding + shaders.

  • @LoganDark4357

    @LoganDark4357

    2 жыл бұрын

    @Ahmed Shah Angular, React, ... learned both in ~a weekend lol

  • @LoganDark4357

    @LoganDark4357

    2 жыл бұрын

    @Ahmed Shah It's not impossible. I had been programming for around 5-6 years before that

  • @piotrek7633

    @piotrek7633

    2 ай бұрын

    Its cool because you can work as a web dev and do game dev in spare time

  • @xhenryx14
    @xhenryx142 жыл бұрын

    For anyone wanting to get into graphics programming I really recommend the course "Interactive Computer Graphics" from Cem Yuksel and the tutorial series "Shader Graph Basics" from Ben Cloward

  • @ultimateavenger5627

    @ultimateavenger5627

    8 ай бұрын

    Thanks man

  • @wisdomokafor9631

    @wisdomokafor9631

    3 ай бұрын

    Pls where can I get the courses from ?

  • @mikael808
    @mikael8082 жыл бұрын

    Epic!! I just started the journey of learning graphics programming myself, and this video really motivates me! Thank you! :)

  • @theecodedude

    @theecodedude

    3 күн бұрын

    Hey! It's been 2 years! How's the journey going? Anything interesting so far :D ?

  • @Skjoldmc
    @Skjoldmc2 жыл бұрын

    I love the Wintergatan background music so much. It's cool to see creators using it in their own videos.

  • @bike_n_fish

    @bike_n_fish

    2 жыл бұрын

    Was thinking the same :D

  • @Ozown
    @Ozown2 жыл бұрын

    Really like how you show your progress, it always motivates me to learn more about graphics programming!

  • @UberDragon
    @UberDragon2 жыл бұрын

    You're getting way too good at all of this tantan! You make it look easy!

  • @Skeffles
    @Skeffles2 жыл бұрын

    Brilliant to see you go on a graphics journey! I've avoided graphics code for a few years but I'm starting to think it's inevitable and also have to do something similar to this. Keep up the great work Tantan!

  • @CreativeSteve69
    @CreativeSteve692 жыл бұрын

    Just discovered ya today. thankfully this video appeared on my timeline tonight. Got me inspired to get back into learning coding. :)

  • @Terandium
    @Terandium2 жыл бұрын

    I decided myself to start with Rust Graphics programming, and your videos are amazing as motivation❤

  • @nullfloofyboi8254
    @nullfloofyboi82542 жыл бұрын

    Love the vids man you inspired me to take the dive and learn rust and later make a game using it!

  • @Mempler
    @Mempler2 жыл бұрын

    Graphics programming is basically the things you learn in school but you thought you would never apply it anywhere... You do it in graphics programming

  • @shibakaneki555
    @shibakaneki5552 жыл бұрын

    Dude, I went through this process as well but I never touched a game engine yet, making my own instead. I understand you so much, hehe, so many things to learn, especially the issues with MVP matrix and do forth :D enjoy the process!

  • @pipe_runner_lab
    @pipe_runner_lab2 жыл бұрын

    I am a Frontend Engineer trying to get my head in the door as far as GFX engineering goes. You inspire me dude. Thanks a lot for all the hard work you are putting in, in these video.

  • @IDontReadReplies42069

    @IDontReadReplies42069

    Жыл бұрын

    dont call yourself "engineer" if you're talking about front end please and thank you

  • @wireghost897

    @wireghost897

    Жыл бұрын

    @@IDontReadReplies42069 Clearly shows you know nothing about the industry. I have also worked on core backend, native systems based on C++. A major chunk of my code actually run on Samsung Smart TV's video player, postman's doc publishing systems runs entirely on my code. Toxic people like you are usually found at the start of Dunning kruger Graph. I am a Frontend Engineer coz I actually do Engineering in Frontned, unlike you who probably did some color flipping here and there. Freaking dead weight.

  • @nikhilchouhan1802

    @nikhilchouhan1802

    Жыл бұрын

    @@IDontReadReplies42069 Engineer is one who design, or repair things. Frontend is a crucial aspect of development, so yeah he is as much a programmer as a backend engineer.

  • @IDontReadReplies42069

    @IDontReadReplies42069

    Жыл бұрын

    @@nikhilchouhan1802 front end is just as much engineering as coloring a coloring book is.

  • @brendon205

    @brendon205

    11 ай бұрын

    ​@@IDontReadReplies42069well, then it's very engineering 😂

  • @ghowstcrafter9201
    @ghowstcrafter92012 жыл бұрын

    6:29 I needed to hear this. Im using glium instead and since I was bad at even using a game engine, this is getting really hard and a lot of times i wanted to give up and do other projects. Ty dude

  • @Terandium

    @Terandium

    2 жыл бұрын

    I started with Glium and moved to wgpu, though

  • @ghowstcrafter9201

    @ghowstcrafter9201

    2 жыл бұрын

    @@Terandium maybe one day i will do the same

  • @arsa3903
    @arsa39032 жыл бұрын

    This is legendary my dude, keep it up 🔥🔥

  • @Dorbellprod
    @Dorbellprod2 жыл бұрын

    Very awesome progress. Graphics programming = hard yet underrated 😤

  • @Spikehead777
    @Spikehead7772 жыл бұрын

    Having migrated to programming raw OpenGL with SDL using C++ in Visual Studio 2019, all I can say is I feel that

  • @tonyiommisg
    @tonyiommisg9 ай бұрын

    Loved watching this! I just started learning this using the same tutorial and this whole video is so relatable!

  • @sunrisecoder6472
    @sunrisecoder64722 жыл бұрын

    Tantan videos are like drugs, it's so addicting! Keep 'em coming 😍

  • @kojijeovokurac
    @kojijeovokurac2 жыл бұрын

    nice job! love the Dany and Wintergatan vibes.

  • @blackhatairsoft
    @blackhatairsoft2 жыл бұрын

    Hilarious video dude excellent work. Subscribed!

  • @nerdError0XF
    @nerdError0XFАй бұрын

    For non-programming people programming looks like magic, but for me graphics programming looks like magic :D I wish i will have enough courage to learn it someday

  • @FuckStick
    @FuckStick2 жыл бұрын

    Awesome stuff! Graphics programing is wizardry

  • @maximeumbra7235
    @maximeumbra7235 Жыл бұрын

    This was an interesting video to watch, i began my journey from the other end, using a node tool to create cool stuff, then profiled the cool stuff and it was too slow so i wrote a compute shader based rendering system with a relatively low level graphics API wrapper made for a high level language, mixing very low and very high level systems. Now I'm learning downwards to proper Graphics API's and below.

  • @mrmaniac9905
    @mrmaniac99052 жыл бұрын

    I love your content man, you're one of the few youtubers making good content on rust. I personally think rust is one of the best languages out there, from the package manager to the type safety and, honestly the small things like the borrow checker, it's really just a great language overall. I'm actually in the process of getting one of the courses at my college to switch from ADA to rust, for procedural programming. It's a wonderful language.

  • @mrmaniac9905

    @mrmaniac9905

    2 жыл бұрын

    also, I think your content is grossly underrated, you're content is very engaging and honestly get's me excited about rust programming, your channel directly contributed to my desire to learn rust, so thanks man please keep up the great content!!! not many people are doing rust, so please keep it up!!!

  • @mrmaniac9905

    @mrmaniac9905

    2 жыл бұрын

    also, I suggest you look into BGFX and or vulkan, bgfx is wonderful for rendering, abstracting away alot of graphic specific stuff.

  • @mrmaniac9905

    @mrmaniac9905

    2 жыл бұрын

    oh and I just realized that we have the same keyboard!!! that makes me like you that much more haha

  • @zechordlord
    @zechordlord2 жыл бұрын

    Nice videos, your energy is contagious! For the leaves, rotating the whole leaf instance based on its root coordinate may look less wavy than vertex position based displacement, which seems to be what you do now. You could try getting the position from the modelview matrix maybe if you draw each leaf as an instance.

  • @lordofwizard835
    @lordofwizard8352 жыл бұрын

    Epic man.. super happy that you are using GNU/Linux for your development.. also SUPER INFORMATIVE and entertaining video.. tantan !

  • @_FLIP666_
    @_FLIP666_2 жыл бұрын

    Nice video man!😁 I'm pretty new to graphics programming and have only used directx so far. I like your t-shirt with anchors, I actually have one too🤣

  • @kirillschmidt9398
    @kirillschmidt93982 жыл бұрын

    I love you and your videos! Keep it up :)

  • @2D_Sphere
    @2D_Sphere2 жыл бұрын

    Really cool

  • @S41L0R
    @S41L0R2 жыл бұрын

    I love graphics programming and stuff. Mostly just because you can make stuff look cool and do it fast

  • @theonetribble5867
    @theonetribble58672 жыл бұрын

    I have recently started programming in rust and have also used WGPU to do some shader programming. I think one needs to abstract a whole lot of the WGPU Api because it is not typesafe (e.g. you need to cast when writing/reading to/from buffers).

  • @atalocke
    @atalocke2 жыл бұрын

    Hahaha, your first video on this (where you introduced WGPU) inspired me to go on the path of writing without an engine. I tried Rust (my default low level too) but WGPU was so intense and I didn’t have a ton of time so I switched to Macroquad, which was awesome but the lack of real 3D capabilities put me off. I’ve moved to C++ and Raylib, but I’m still grinding this journey out “with” you. Currently writing my own depth map lib wrapping a bunch of separate algorithms (and missing cargo while I do it). I’m making an RTS!

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    Yeah wgpu is pretty intense! It's a rough journey but I bet the destination will be glorious :p

  • @atalocke

    @atalocke

    2 жыл бұрын

    @@Tantandev it will! I’m excited to play your final result! Hopefully Bevy 0.6 makes it easier!

  • @techreviews407
    @techreviews4072 жыл бұрын

    Very cool! Where did you get those trees from if I may ask? They look nice :)

  • @astroid-ws4py
    @astroid-ws4py2 жыл бұрын

    Really great content, We as community need to create a lot of tutorials and videos about how to do graphics programming and make our own rendering pipelines.

  • @eboatwright_
    @eboatwright_2 жыл бұрын

    Now you should make your own programming language! :D I'm learning that right now and it's SO FRIKIN HAaARRRD! I do have a little bit of a leg up, because I made a few text adventures with my own parsers :) (TanTan-Lang!!)

  • @Khud0
    @Khud02 жыл бұрын

    I don't know what most of what you said means, but the video was so interesting that I watched it till the very end. :)

  • @bhaijaan7052
    @bhaijaan7052 Жыл бұрын

    I have all versions of opengl from 1.0 to 5.0 which one is the best opengl version for pubg please help me

  • @abdeljalillahmouri6527
    @abdeljalillahmouri65272 жыл бұрын

    firs time seeing you, but not ganna lie i freaking love this guy. continue man thats amazing.

  • @ameenulislamtr2803
    @ameenulislamtr28032 жыл бұрын

    Which theme are you using for vscode? I seem it as a great theme for programming in my opinion!!.

  • @masabh
    @masabh2 жыл бұрын

    You inspire me to learn graphics programming

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    best of luck!

  • @EpicVideoGamer7771
    @EpicVideoGamer77712 жыл бұрын

    Thank you tantan, now I will have even less time in my life!! :D

  • @LordCinders
    @LordCinders2 жыл бұрын

    great video, I started learning opengl for a week now. looking at your video makes me excited to do this stuff myself. (btw why rust? i understand the advantages it has over a language such as C or CPP but i heard a lot of people mention how it won't be replacing CPP for game dev)

  • @johannbauer2863
    @johannbauer28632 жыл бұрын

    Oh man! You inspired me to do graphics programming in Rust XD

  • @wiiznokes2237
    @wiiznokes2237 Жыл бұрын

    Can you make a video about how librairie graphique works hunder the wood, like Qt, GTK or Iced ?

  • @josevargas686
    @josevargas6867 ай бұрын

    I was following you 100% about the complexity of writing graphics until.... you showed that you are using Rust. You are making this a lot harder on yourself than it has to be!

  • @johnhammer8668
    @johnhammer8668Күн бұрын

    how does the frame rate compare to custom engine vs unreal or unity?

  • @mando2908
    @mando2908 Жыл бұрын

    u got new subscriber now :)

  • @NexusKiwi
    @NexusKiwi2 ай бұрын

    So impressive

  • @VictorGordan
    @VictorGordan2 жыл бұрын

    It's nice to see other KZreadrs working on computer graphics! Good luck going forwards ;)

  • @gouravkhator
    @gouravkhator Жыл бұрын

    I checked the career scope, and mostly every article says that graphics programming pays lesser than the normal software development, and even that the jobs are also less fo graphics programmer. But I feel like this challenge is worth to try and learn.. Can anyone explain if the career aspect of graphics programming and game dev is really difficult?

  • @3DProgramming
    @3DProgramming Жыл бұрын

    Just 100 hours to go from zero to that? Are you a genius? 😮😮😮

  • @ModernEraCaveman
    @ModernEraCaveman Жыл бұрын

    Well it’s been almost a year now, have you figured out interactable grass and snow?

  • @ADEPS.
    @ADEPS.5 ай бұрын

    "Pushing through the learning process when there's a lot of friction"

  • @abhay29
    @abhay292 жыл бұрын

    Nice video

  • @sidwasnothere
    @sidwasnothere2 жыл бұрын

    Lmfaooo you speedran the fucking triangle, that’s awesome I’m gonna do that when I start learning again

  • @claybowser
    @claybowser8 ай бұрын

    thank you for making this video you handsome devil

  • @syntaxed2
    @syntaxed24 ай бұрын

    Hallmark of a real programmer - Interested in how things work, want to get down to the gritty level and see what makes things tick

  • @BalintCsala
    @BalintCsala2 жыл бұрын

    Heads up, if you ever go into a new project with wgpu/webgpu, they changed the syntax a bit, instead of [[stage(vertex)]] they now do @stage(vertex). No clue when this is going to arrive in wgpu if it didn't already, but thought I'd say this

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    Yeah I saw that! I don't think it's in any official release yet, but if you sit in the main branch you probably need to do it that way

  • @dimitri0404
    @dimitri04044 ай бұрын

    2 years have past, have you made interactable grass and snow yet?

  • @nmflash8
    @nmflash811 ай бұрын

    I like your MapleStory chair

  • @hanzofuma
    @hanzofuma2 жыл бұрын

    As you said I'm a man who want to deep dive in how things work that's why I'm interested in graphics programming online resources are not that quite availble I'm happy that I found this channel. Is there some advice for a beginner like me to improve on this domain?

  • @apoage
    @apoage2 жыл бұрын

    Cool super cool.. Shaders can became soooo tripy btw snow is just displacement (plus normal map maybe tesselation included) map based on collision box texture probably stream locked to character coordinates lod box... over snow shader/ground texture.. And grass well there is great grass rendering video on grass from horizon zero dawn from gdc.. Btw try to map voxel terain.. Going to watch rest of videos.. this looks like fun

  • @Emtrixx
    @Emtrixx2 жыл бұрын

    I want to start learning graphics programming but so far I found the wgpu tutorial a bit lacking in getting me to understand what I'm even doing. I don't know C++ and would rather stay with rust. What tutorial would you recommend for me?

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    I would probably try out glium if I where you, it's a wrapper over OpenGl (rust ofc). It's a lot less verbose than wgpu, but it is still pretty hard at the start, but that's the nature of graphics programming.

  • @Emtrixx

    @Emtrixx

    2 жыл бұрын

    @@Tantandev I will try it out, thanks :)

  • @KikonSketches
    @KikonSketches2 жыл бұрын

    i have that same anchor shirt, i also have matching shorts

  • @eboatwright_
    @eboatwright_2 жыл бұрын

    The editing on this video was amazing! Also, did you switch from Windows to Pop! os? I love pop :)

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    Yeah I've been slowly getting into PopOs. I dualboot with Windows, so I can edit videos and play games

  • @eboatwright_

    @eboatwright_

    2 жыл бұрын

    @@Tantandev Awesome! I switched to Pop from MacOS because i'm on a 2012 laptop so it was getting out of date and discontinued.

  • @astroid-ws4py

    @astroid-ws4py

    2 жыл бұрын

    @@eboatwright_ Nice to hear, Linux is the best !

  • @eboatwright_

    @eboatwright_

    2 жыл бұрын

    @@astroid-ws4py :D

  • @4per8
    @4per8 Жыл бұрын

    Fellow Wintergatan enjoyer

  • @zoey101dogwablog
    @zoey101dogwablog2 жыл бұрын

    most sane rust programmer

  • @OCASM
    @OCASM2 жыл бұрын

    I took the easy beginner route of modding post-processing effects in Unity.

  • @peacefusion
    @peacefusion11 ай бұрын

    This is why I love game engines and open source. Someone before you typed the math, someone else applied the code, someone connected the libraries, and someone added more features. Its all a painting of human development that started when someone made the first compiler. And I would rather work to contribute my part, or make a game. But not try to redo it all for my own ego sake.

  • @SwarumtheForum
    @SwarumtheForum2 жыл бұрын

    This reminds me of Dani

  • @felsacor6651
    @felsacor66512 жыл бұрын

    WHOA, NICE GRAPHICS

  • @vertexshaderfragmentshader4196

    @vertexshaderfragmentshader4196

    Жыл бұрын

    🤪😁😁

  • @zenshade2000
    @zenshade20002 жыл бұрын

    I love these high level views where you share the essence of your graphics programming journey. It gives others a real flavor of just how daunting yet achievable and rewarding this particular programming path is. If at some point you're looking for a money-maker to fund your projects, you might consider doing something like Casey Muratori's Handmade Hero tutorial series, but in Rust instead of C++. Decide on a particular, not too complicated game to make, with highly specified end-points and very clear concepts/skills it will demonstrate, and then build it from scratch in Rust in a series of videos (free), with a website subscriber model for full access to code and assets (non-free). Don't undercharge for this. I would quite willingly pay $100/year for something like that. The problem with Handmade Hero (in addition to it being in the really awful programming language C++) is that there are at this point over 600 "days" of one to two hour videos, and he's still not done yet. So a newbie game developer looks at that and thinks, realistically, it would take 2-3 years to get through all of that material. What is needed is a much more focused, smaller game development scope, in a much better programming language (like Rust). And you seem to have a real talent for boiling things down to there essential parts.

  • @coomer_artist2648
    @coomer_artist26482 жыл бұрын

    Love you contents. Please don't throw everything like Randy

  • @dashdroptv
    @dashdroptv2 жыл бұрын

    Bor du runt Dalarna? Kan svära att jag har sett dig förut!

  • @Gabriel_Bento
    @Gabriel_Bento Жыл бұрын

    What I like from this video it's how really excited you're explaining all this stuff :) You've motived me to learn Rust.

  • @guesanjo3520
    @guesanjo35202 жыл бұрын

    what are the webpages at min 6:10 ? to take a look at em

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    Rust, wgpu: sotrh.github.io/learn-wgpu/ C++, OpenGl: learnopengl.com/

  • @HAZARD_LIGHTS
    @HAZARD_LIGHTS2 жыл бұрын

    The internet droped out state wide when I tried to watch this

  • @isabellolsson8919
    @isabellolsson89192 жыл бұрын

    Coolcoolcool!!!

  • @Conlexio
    @Conlexio2 жыл бұрын

    my day is better now :]

  • @Jeff-gx5bg
    @Jeff-gx5bg2 жыл бұрын

    the first time i did this in c++ i got a stack buffer overflow and was forced to watch my *memory management*

  • @zenshade2000
    @zenshade20002 жыл бұрын

    If you run into a problem with Windows Update, be aware that Pop OS! takes up a lot of space in the boot sector for some reason, even after uninstalling it. I ran into a very obscure windows update problem that eventually boiled down to Windows not having enough space in the boot sector to get through the update, due to a previous dual boot setup with Pop OS! that left behind a very large directory.

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    That sounds scary, at least I have seperate hard drives for the operating systems.

  • @DevNoob
    @DevNoob2 жыл бұрын

    Man this is so cool. And also like Chinese to me XD FRIKKING HARD!!!

  • @9remi
    @9remi6 ай бұрын

    colored triangle in one hour is crazy

  • @holyknighthodrick5223
    @holyknighthodrick52232 ай бұрын

    Now speedrun vulkan triangle from memory, without storing the vertices in the shader, and selecting the memory types correctly, and ensuring validation layers are enabled but with no errors. No using vkb or vma. Edit: And no dynamic rendering

  • @meercat1880
    @meercat18802 жыл бұрын

    I almost just hopped on to my computer to learn this but then I remembered that I barely can figure out classes in python so maybe I should wait

  • @astroid-ws4py

    @astroid-ws4py

    2 жыл бұрын

    Maybe you should try starting from now doing graphics programming in Python, There is a good book titled: “Developing Graphics Frameworks with Python and OpenGL”, Though it is exclusively about OpenGL, The concepts are transferable to other graphics API including cross platform rendering abstraction APIs like BGFX and WGPU.

  • @Waldganger64
    @Waldganger642 жыл бұрын

    What is the video game in the snow at 0:27 ?

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    it's red dead redemption 2!

  • @student99bg
    @student99bg Жыл бұрын

    I am looking at 3:20 it is an example of why people should document their code otherwise even they will forget what it does. It is also an example why one letter variables usually aren't a good idea. I am looking at the make_gerstner function. The convention is to call k the constant with which you multiply the spacial variable. I see k = 2PI / wavelength in the code which means k indeed is the constant with which you multiply the spacial variable. It would be logical that f stands for frequency. Frequency = velocity / wavelength Plug in wavelength = 2PI / k and you get Frequency = k * velocity / 2PI. Which means if f represents frequency then that dot product minus c*time represents velocity /2PI. I said dot product because I assume that's what dot function does. It returns a dot product. That's possible given that you give it direction vector as an argument. It would be logical that direction vector represents velocity (for people saying "duh,of course", direction vector could represent other things as well,such as acceleration). That dot product is calculating velocity in a given direction. What bugs me is what the hell variable c stands for and what is that magic number 9.8. For anyone that forgot highschool math one of the ways to write an equation that describes a standing way is sin(2PI/wavelength *x) If you want the wave to move through time you shift it. You shift a function to the right by subtracting from its argument. Since we want this shift to depend on time, we can write sin(2PI/wavelength * x - velocity*time) You can replace 2PI/wavelength with k and you can replace velocity with frequency * wavelength if you want to. You can also use a cosine instead of sine, or you can use e^i(2PI/wavelength x - velocity * time) since e^ia = cos(a)+isin(a). Again, you can also write this as e^(kx -wavelength*frequency*time) if you prefer it that way. Also, I have never done graphics programming so I don't know what the word gerstner is supposed to mean so I don't know what the output of the function is supposed to be.

  • @eboatwright_
    @eboatwright_2 жыл бұрын

    Do you like WGPU-RS, or Glium better?

  • @Tantandev

    @Tantandev

    2 жыл бұрын

    wgpu, but it might be because I've used it more :P I went with it simply because it seem to be more people interested in wgpu, Bevy is using it to power the graphics

  • @eboatwright_

    @eboatwright_

    2 жыл бұрын

    @@Tantandev Cool, cool, cool! Thanks! :D

  • @iercan1234
    @iercan12342 жыл бұрын

    epic

  • @ShadowHawk69420
    @ShadowHawk694202 жыл бұрын

    Man went trough Emotional damage just to make funny looking water You are amazing!

  • @Jkauppa
    @Jkauppa2 жыл бұрын

    change into compute shaders and do ray casting, you can separate the geometry, acceleration structure and rendering, k.i.s.s.

  • @Jkauppa

    @Jkauppa

    2 жыл бұрын

    its just sine wave with sharpened waves

  • @Jkauppa

    @Jkauppa

    2 жыл бұрын

    its just mafs, not taking account application programming interfaces, languages, the two last are the most stupid things in the way

  • @kawaiiselbstbox9034
    @kawaiiselbstbox90342 жыл бұрын

    Hi! Can i translate this video to Russian?

  • @oby1
    @oby12 жыл бұрын

    Programming Jesus

  • @AcceleratedVelocity
    @AcceleratedVelocity10 ай бұрын

    2:41 ikr just follow the UE5 tutorials cuz they are prety much GLSL except for the final node

  • @cyanuranus6456
    @cyanuranus6456 Жыл бұрын

    Can You Even Create Your Own Custom 3D Graphics API? In Your Own Chosen Programming Language?

  • @geelemo

    @geelemo

    Ай бұрын

    You'll get there when you've understood the pain points, then create abstractions

  • @vitorgabrielgomesrodrigues
    @vitorgabrielgomesrodrigues2 жыл бұрын

    This guy is a combination of Jonas Tyroler and Dani but for shaders

  • @spyrex3988
    @spyrex39882 жыл бұрын

    i feel like im too dumb for graphics programming i only had an introdcutory class in my second year of college and i only learned till how mesh and curved serfaces are produced bruh :(

Келесі