Math for Game Programmers: Interaction With 3D Geometry

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 133

  • @OmarChida
    @OmarChida 4 роки тому +15

    Excellent talk it's been always a mystery to me how physics engines work, and this talk provided great insight! Would definitely buy a book written by this guy. Thanks sir

  • @Bk-29749
    @Bk-29749 Рік тому +10

    This is exactly the type of guy who puts people off math. He fails to give an intuitive description and immediately jumps into equations and jargon. This at best serves as a refresher for someone who is already familiar with these concepts.

    • @sandwich_technology
      @sandwich_technology Рік тому

      Is there I video I can watch that you feel demonstrates these concepts better to newbies?

    • @Bk-29749
      @Bk-29749 Рік тому +3

      ​@@sandwich_technology Not video but 3D Math Primer for Graphics and Game Development is a free book that is accessible and widely recognised.

    • @Sammysapphira
      @Sammysapphira 4 місяці тому

      ​@sandwich_technology 3blue1brown the essence of linear algebra

  • @shawarmagames1689
    @shawarmagames1689 Рік тому +1

    Knocked it out of the park. One of the most useful talks.

  • @MatheusLB2009
    @MatheusLB2009 7 років тому +249

    I guessed he was a professional body builder but i think i was wrong

    • @franzluggin398
      @franzluggin398 7 років тому +9

      He's a man of many talents. Even though, looking at how skinny he is, probably not more than 2, give or take a half.

    • @alexgqh
      @alexgqh 7 років тому +8

      I made the same assumption. But no, just another graphics software engineer with Intel.

    • @SnakeEngine
      @SnakeEngine 7 років тому +1

      He was just off the gear at that time to prepare for a programmer look.

    • @andrewsparkes8829
      @andrewsparkes8829 7 років тому +1

      Franz Luggin And one if those talents definitely isn't comedy; should have claimed he was a professional comedian at the end, woulda got a better laugh than the bodybuilder thing at the end! (Note: I do think it was a great talk in terms of content, and the guy clearly is intelligent, it just reeks of the geeky kid at school not realising geeks themselves can be cool and instead tries to be the class clown, but failing miserably as geeks are usually too socially awkward to do comedy as naturally as they'd like.)

    • @cryora
      @cryora 5 років тому

      @@andrewsparkes8829 Well someone with his frame probably get asked by a lot of people why he looks like a malnourished imp, so he uses humor to let people know that he is aware but won't be offended if someone points it out.

  • @ZoidbergForPresident
    @ZoidbergForPresident 7 років тому +33

    2:20 HELP! I'm already lost!

  • @johnalexiou5945
    @johnalexiou5945 5 років тому +1

    To get the normal and the area of a triangle without picking an odd man out, use `Area = 1/2* |a×b+b×c+c×a|` and ` n = unit(a×b+b×c+c×a)`.

  • @dasaggropop1244
    @dasaggropop1244 7 років тому +13

    thakns for this overview. it is exactly the list of referencable topcis i am looking for right know. perfect timing.

    • @joepeters8746
      @joepeters8746 4 роки тому

      only he problem he doesn't explain anything

  • @MrTombombodil
    @MrTombombodil 7 років тому +12

    Fantastic Lecture. It's nice to see just how many different ways relatively basic Trig and Linear Algebra can be used to solve these kinds of problems. It really encourages you to think outside the box of your preconceived notions of how math is supposed to be applied to 3D game geometry and showcases how rewarding some lateral problem solving skills can be.
    Every day I discover a new way in which all the math I picked up in college is inexhaustibly useful.

    • @joepeters8746
      @joepeters8746 4 роки тому

      He didn't explain anything. It was more like a preview for a Udemy Course

  • @SappyZoe
    @SappyZoe 5 років тому +1

    fantastic talk, theme and speaker. Thanks for the upload, it was very insightful!

  • @brannonharris4642
    @brannonharris4642 3 роки тому +24

    I need to sit down with a pen and paper and some action figures and visualize this shit more. It's too abstract still for me

    • @cosmic_gate476
      @cosmic_gate476 3 роки тому +3

      It's gonna be better if you just take the time to study 2d Cartesian geometry first. I don't have any advice on how to start though, I studied all that through middle school and high school which allows me to use these concepts intuitively.

    • @spyrex3988
      @spyrex3988 2 роки тому

      this is all high school math tho nothing fancy

  • @vexedev
    @vexedev 7 років тому +18

    Hey that's the guy that programmed MDK! He's got another talk about how they did collision in that game.

    • @LittleRainGames
      @LittleRainGames 7 років тому

      vexe Mdk?

    • @vexedev
      @vexedev 7 років тому +2

      Oh you're a youngster. I think MDK1 was on PSX, MD2 was PC. www.gamasutra.com/view/feature/131508/bsp_collision_detection_as_used_in_.php

    • @SteelSkin667
      @SteelSkin667 7 років тому +2

      Both were on PC originally, but there were pretty good console ports. There is a great episode of DF Retro about the first game on the DigitalFoundry channel.

    • @meepk633
      @meepk633 7 років тому

      Boy I loved that game so much. Time for a reboot. The oddworld remake was pretty good. It can be done. edit: also, please link that talk about the collision. I looked for it.

    • @SnakeEngine
      @SnakeEngine 7 років тому +3

      How old was he back then, 12?

  • @mandf9559
    @mandf9559 2 роки тому

    at 7:43 he really said the math works out nicely in the end. but he is the same one who was saying "warning: some math ahead" you don't have to try to fit in to be less of a nerd

  • @mrqe5
    @mrqe5 7 років тому +10

    hey, im programmer and 3d student, this will fill well.

  • @eliasmuga1609
    @eliasmuga1609 3 роки тому +2

    BEATIFUL MATHEMATICS...

  • @treehann
    @treehann 2 роки тому +2

    I thought I liked game programming when doing 2d stuff. I'm quite good at trig on a 2d plane. Then I tried 3d and it quickly became too much for me to wrap my head around. One of two classes I retook in uni was a class focusing on complex 3d math. I still hate quaternions to this day.

  • @chrislagos44
    @chrislagos44 5 місяців тому

    Wouldnt it be better to check for a hit if the hit point vertex is perpendicular to any pair of diagonally edge verticies. I mean its like right there!

  • @WilliamAhlert
    @WilliamAhlert Рік тому

    Excellent start I must say! XD

  • @chucktrier
    @chucktrier 7 років тому +3

    Nice, got to dig into the implicit Euler stuff.

    • @dasaggropop1244
      @dasaggropop1244 7 років тому +5

      i thinks that's eulerrated.

    • @IntoTheSkyy
      @IntoTheSkyy 7 років тому +5

      Get off the internet, dad

    • @meepk633
      @meepk633 7 років тому

      He's drunk again. Just let him pass out.

  • @ericpham8205
    @ericpham8205 4 роки тому

    Could time line math is better than the matrix calculated of vector in animate 3 dimensional irregular geometry? By writing timer control of light interference points is much smaller In data and faster in processing time?

  • @ericpham8205
    @ericpham8205 4 роки тому

    Is it cross product is used when they are multiplanar and dot products used when they are coplanar? Because that is more logical

  • @ericpham8205
    @ericpham8205 3 роки тому

    Inverse matrix is a way to yield a neutral result

  • @wildweebear2684
    @wildweebear2684 4 роки тому

    Does anyone have the presentation slides from this?

  • @mandf9559
    @mandf9559 2 роки тому

    at 7:56 the way he is moving is funny

  • @Twitch375
    @Twitch375 7 років тому +31

    Lost me 15 minutes in. Shows what I know. Time to brush up it seems.

    • @SamSmithNZ
      @SamSmithNZ 7 років тому +18

      I was lost about 2 minutes in, so you are ahead of me!

    • @cleophaskubasu
      @cleophaskubasu 6 років тому +3

      From the start did understand shit . At least y'all understand something

  • @Stilianouly
    @Stilianouly 4 роки тому

    How privileged I am to have received a recommendation for a video in 2020, published on youtube in 2017, recorded in 2013 AND STILL
    complain about it

  • @eagle2com
    @eagle2com 6 років тому +2

    Thank you for this awesome overview, I learned a lot, but please, Runge is pronounced somewhat like Roongeh, my ears ^_^.

  • @spyrex3988
    @spyrex3988 2 роки тому

    very insightfull

  • @someuser3383
    @someuser3383 3 роки тому

    Thanks.

  • @axataris
    @axataris 3 роки тому +2

    There are some math but dont worry about it, it just easy!
    Me: Whyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

  • @jadefae
    @jadefae 2 роки тому

    That joke at the very beginning was great and NO ONE laughed. I think he didn't leave enough time for it to land I guess but STILL?! Audience? Hello?

  • @kidknowledge2020
    @kidknowledge2020 7 років тому +2

    Oh Stan you bantersaurus!

  • @oliverkaunds
    @oliverkaunds 4 роки тому +13

    I am a web application Developer(Java) and I realise how dumb I am compared to these guys. All we web developer do is learn frameworks, use API's built by people smarter than us and do CRUD operations with a Database.
    I think we should stop calling ourselves developers, its an insult to real developers. :(

    • @JeddAhyoung
      @JeddAhyoung 4 роки тому +8

      This is real talk, man. For years I've been feeling the same way. You begin to realize how much you don't know, and how much you wouldn't be able to figure out on your own if you didn't rely upon the toolchains and infrastructure and environment you have. Game development (along with some other disciplines) really exercises the fundamentals of computer science, mathematics, algorithms, and data structures. That stuff is true engineering, software engineering, compared to what we do. It's a completely different thing.

  • @cloudstrife7083
    @cloudstrife7083 4 роки тому +6

    I have talked a lot with ppl on reddit 3d graphics subreddit and many
    others about if it would be possible to do today what Carmack did in the
    90's in term of 3d engine development etc and trying to build a engine
    who would/could rival Unreal 5 etc the consensus I received was that
    it's impossible to build a large engine alone theses days because they
    are 100x more complex than in the 90's and there is over 100 dev working
    on Unreal all time .. but it would be possible for a 3d graphics
    programmer to build a small 3d room like a 3d shooter to show all the
    examples he learned kinda like a portfolio if you want... mirror,
    reflection, water, light etc etc
    I wanted what's your opinion
    about all this and if it's a waste of time to learn 3d graphics theses
    days if the industry as a whole is standardizing on Unreal...
    Thank you for your time

    • @whatsinaname2223
      @whatsinaname2223 3 роки тому +1

      Hey I am an year late in seeing this comment but I think it would be cool anyways to build one's own engine. Big game companies have to create their own game engines

    • @cloudstrife7083
      @cloudstrife7083 3 роки тому +2

      @@whatsinaname2223 yes I talked with sweeney the guy who founded epic a few months ago, creating big 3d engine and pushing 3d rendering was 1 of my goal in life when I was programming 25years ago but I never had the chance to learn it correctly or have the time because of life... but he explained to me that it was impossible for 1 man to create one theses days its too complex and big there is a scale aspect to it... you can create a small great renderer but not a full 3d engine with all the toolings around so you need a team
      all theses solo programmer trying their own little hobby project are losing their time basicaly they should try to get funding and have a company started off the ground

    • @cloudstrife7083
      @cloudstrife7083 3 роки тому +1

      @@whatsinaname2223 the witcher 3 is a great example of a custom made world class 3d engine who doesn't need unreal or pay the royalty that come with unreal engine

    • @whatsinaname2223
      @whatsinaname2223 3 роки тому +1

      @@cloudstrife7083 Oh thanks for the advice!

    • @voxelamateur
      @voxelamateur 2 роки тому +1

      @@cloudstrife7083 they switched to unreal engine for the next witcher

  • @erik9817
    @erik9817 5 років тому +1

    30:16, I'll try to finish the course!

  • @mandf9559
    @mandf9559 Рік тому

    This is amazing 🎉🎉😂❤😢🎉😅😢😅😢😊😮

  • @mandf9559
    @mandf9559 2 роки тому

    At the beginning of the video when he said "you probably guessed I was a professional bodybuilder but you're wrong I'm actually a graphic software engineer" why didn't anyone laugh at his joke? that is kind of offensive

  • @SnakeEngine
    @SnakeEngine 7 років тому +3

    1:14 Yep, if a math illiterate like John Carmack can succeed then basic school math should suffice.

  • @zdspider6778
    @zdspider6778 Рік тому

    I feel like I understood maybe... 15% of this? And I now realize that may be an overestimation. 😅

  • @JonahDominguez
    @JonahDominguez 4 роки тому

    my college math class?

    • @Lmao-ke9lq
      @Lmao-ke9lq 4 роки тому

      Jonah Dominguez most of it, especialy in the first half even high school

    • @JonahDominguez
      @JonahDominguez 4 роки тому +2

      @@Lmao-ke9lq lol i didnt go to college cuz im an american

  • @mandf9559
    @mandf9559 2 роки тому

    no offense but why do you need to put "warning: some math ahead" you're already on stage, with a ton of people watching you, talking about this. and half the people don't even understand what you're saying including me but they're probably only here because they felt a little sorry for you
    but it's no offense. you are just very nerd-like and it's funny how you want to seem less like a nerd so that you can fit in. well that is just my assumption actually.

  • @Samurai-sg4yd
    @Samurai-sg4yd 7 років тому +16

    I've been developing 3D games for 2 years and Modding for longer, I've run into problems with the Geometry of shapes before sure, but this just seems way to complicated. Why not use the hundreds of tools available to do this for you? I've spent hundreds on tools to assist with shading, physics, and scripting. I've never heard of this in my life. What modern game dev has to do this from scratch anymore? This just seems like a huge waste of time.

    • @sorecerer
      @sorecerer 7 років тому +33

      Sometimes you need full control on the stack. Not for indies of course.

    • @ManyDog
      @ManyDog 7 років тому +5

      Can I download some of your games?

    • @RamonChiNangWong078
      @RamonChiNangWong078 7 років тому +62

      Because learning hundreds of tools is a waste of time, knowing trigonometry and matrices make things more easier to optimize then to be depended on some third party tools

    • @davepermen
      @davepermen 7 років тому +19

      some people just want to make the world learn. but apparently, you don't appreciate it. so far, i really enjoy that talk and learn a lot

    • @Shepardus
      @Shepardus 7 років тому +61

      Because someone has to make and maintain those tools, and even if you're not that person it helps to understand the fundamentals behind them in case you ever need to troubleshoot issues with existing tools.