Why video games are made of tiny triangles

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 1,8 тис.

  • @CleoAbram
    @CleoAbram 6 років тому +1980

    Thanks for watching everyone! I want to share my new favorite place on UA-cam: the Vox Video Lab, our new home for exclusive creator commentary, bonus clips, and more. If you become a member, you'll be helping us make more of the videos you love. And I'll be doing something for the Video Lab soon too! I hope you check it out: www.vox.com/join

    • @obeytweety
      @obeytweety 6 років тому +44

      Cleo Abram hey you look like Keira Knightly !

    • @ssharma1201
      @ssharma1201 6 років тому +29

      you're really beautiful 😃❤

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

      Hey... Your waist compared to your shoulder looks really slim. Just something i observed. Doesn't mean i wasn't focusing on video 😂

    • @Randomchickensmoo
      @Randomchickensmoo 6 років тому +57

      You guys all creepy... anyway great explanation in the video!

    • @mud6461
      @mud6461 6 років тому +7

      so is the earth made up of triangles

  • @arvaborelius7269
    @arvaborelius7269 6 років тому +3876

    *CPU'S ARE JUST ROCKS WE TRICKED INTO THINKING*

    • @Freakmenn
      @Freakmenn 6 років тому +229

      This dude is on another level of being that we will never understand.

    • @DwAboutItManFr
      @DwAboutItManFr 6 років тому +40

      Implying the rocks are thinking

    • @WeeWeeJumbo
      @WeeWeeJumbo 6 років тому +65

      This comment is too good for a venue like UA-cam

    • @MultiSciGeek
      @MultiSciGeek 6 років тому +67

      That's deep. We're just tissue tricked into thinking

    • @sapientpearwood613
      @sapientpearwood613 6 років тому +12

      Dont credit this guy for being original, because he isnt. Someone else made this quote up. I believe it was Terry Pratchett.

  • @legend2memba
    @legend2memba 4 роки тому +748

    PS5: someone said... triangles?

  • @Germania9
    @Germania9 6 років тому +2315

    Who knew Keira Knightley knows a lot about games?

    • @Scarletraven87
      @Scarletraven87 6 років тому +18

      @@kahoot9659
      Hear hear

    • @rameshyashwanth1881
      @rameshyashwanth1881 6 років тому +84

      Natalie Portman

    • @FindecanorNotGmail
      @FindecanorNotGmail 6 років тому +59

      "Not even their parents could tell them apart"

    • @Germania9
      @Germania9 6 років тому +7

      ​@@kahoot9659 You're right, it's Giada De Laurentiis.

    • @Scubadog_
      @Scubadog_ 6 років тому +4

      @@kahoot9659 tomato tomato

  • @katycrawford8101
    @katycrawford8101 6 років тому +1209

    vox: answering questions you never knew you had

    • @campkira
      @campkira 6 років тому

      Wis it a little shorter.

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

      Well i have knew about this when im 12 m8
      Lol

    • @loop5720
      @loop5720 4 роки тому +11

      @@azzurirodrinata7646 you're such a badass

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

      Azzuri Rodrinata Einstein over here

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

      @@sweatysweak roblox

  • @LordofBroccoli
    @LordofBroccoli 6 років тому +1514

    0:38 "But you never see them."
    Well someone hasn't played Fallout 76...

  • @maroverdose
    @maroverdose 6 років тому +575

    Thank you tiny triangles, very cool.

    • @Crushenator500
      @Crushenator500 6 років тому +5

      Very cool and very legal

    • @hellatze
      @hellatze 6 років тому +1

      It not just triangle. Material. Rig. Etc

    • @mysecondaccount7887
      @mysecondaccount7887 4 роки тому +1

      "You're gonna see the dust fly off" - all thanks to raymarching ..."Everything is made of triangles." 😒

    • @jeagous
      @jeagous 4 роки тому +3

      lets all love lain

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

      dani

  • @JustinY.
    @JustinY. 6 років тому +3048

    How do you do, fellow gamers?

    • @rachelguzzo1602
      @rachelguzzo1602 6 років тому +13

      Justin Y.+ I’m in school gamer

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

      KSP

    • @hmmm9658
      @hmmm9658 6 років тому +35

      gamers rise up

    • @brokeindio5072
      @brokeindio5072 6 років тому +109

      Nothing much, Just casually harassing minorities

    • @Blazing_Glory
      @Blazing_Glory 6 років тому +38

      Why do I see you everywhere?

  • @goat6354
    @goat6354 4 роки тому +337

    This should be popular now after the UE5 reveal.

    • @ganeshvenkatachalam3203
      @ganeshvenkatachalam3203 4 роки тому +5

      I came straight from the cherno

    • @pxrxy
      @pxrxy 4 роки тому +3

      Recommended by the algorithm

    • @sunilgowda2056
      @sunilgowda2056 4 роки тому +1

      Millions and millions of triangles

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

      @@sunilgowda2056 Billions*

    • @Nick-kb2jc
      @Nick-kb2jc 4 роки тому +1

      People should go watch the computerphile series

  • @evaristegalois6282
    @evaristegalois6282 6 років тому +1873

    Here’s why video games are made from tiny triangles:
    Lvl 1 : Squares
    Lvl 100 : Triangles
    *_That’s how shapes work_*

  • @kunwoododd2154
    @kunwoododd2154 6 років тому +749

    But this is only half the story. During the development process, everything in the video game is usually made of rectangles. However, at the end of the development, all the rectangles are converted to triangles. This is because it's much easier for game developers to work with rectangles, but it's easier for GPUs to work with triangles.

    • @TheDanielLivingston
      @TheDanielLivingston 6 років тому +120

      KunWoo Dodd In general this is true, but the word you’re looking for is ‘quad’, not ‘rectangle’

    • @ferrettankror1
      @ferrettankror1 6 років тому +88

      I am a pro 3d Artist for video games, this is half true, we basically do what ever is easier. Bothe Triangles and quads are used in development. It's usually about half and half.

    • @donloder1
      @donloder1 6 років тому +7

      naaaam n-gon ftw

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

      @@donloder1 heresy

    • @kunwoododd2154
      @kunwoododd2154 6 років тому +42

      @@TheDanielLivingston Oh of course "quad" is the most correct term, but "rectangle" is more accessible to the average UA-cam comment reader.

  • @przemysawgumienny2621
    @przemysawgumienny2621 6 років тому +293

    And that's why NVIDIAs HQ is shaped like a triangle.

  • @ayh0210
    @ayh0210 4 роки тому +317

    Minecraft: No, I don't think I will

    • @enot2140
      @enot2140 4 роки тому +48

      @Luc Bloom Minecraft uses polygons and not voxels for it's graphics, but it does remember terrain data in voxel form. It still gets rendered as polygons tho.

    • @ednaldopereira2646
      @ednaldopereira2646 4 роки тому +5

      the minecraft are made by triangles to, i k it because im doing a 3d game on java, like minecraft

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

      Minecraft uses triangles...

    • @ayh0210
      @ayh0210 4 роки тому +7

      It's just a joke.

    • @Mate_Antal_Zoltan
      @Mate_Antal_Zoltan 4 роки тому +3

      a triangle is half a square, so Minecraft is still just a bunch of triangles

  • @happykiller14
    @happykiller14 6 років тому +23

    Should also be mentioned that they make the models using squares then subdivide it into triangles. It's just way easier to thing spatially when dealing with squares and when you're all set you can just press a button to turn it into triangles.

  • @subashgowtham6165
    @subashgowtham6165 4 роки тому +35

    **slaps ps5** This boy can fit in so many triangles!

  • @usethefooorce
    @usethefooorce 6 років тому +34

    3:01 the singular of "vertices" is "vertex"

  • @888pil
    @888pil 6 років тому +6

    i used to study games design but switched over to animation with a focus on 3d, the hardest part was switching over from triangles to my teachers telling me everything's gotta be quads.
    love that you guys cover these kinda topics!

    • @overdev1993
      @overdev1993 6 років тому +1

      usually it doesnt matter if you modelling something for gaming or photorealistic 3d. you have to model with quads all the time
      except you are talking about calculating those things in a program

    • @888pil
      @888pil 6 років тому +1

      @@overdev1993 sorry, mind explaining more? i remember in my games studios we'd use tris in a lot of our assets and environments, but my 3d teacher now is quite strict about no tris or n-gons. i don't know if these are just the preferences of my teachers though, I'm still just a beginner!

    • @overdev1993
      @overdev1993 6 років тому

      @@888pil game engine only can deal with tris. so you have to convert all the quad meshes to tris oder the engines does that automatically.
      tris and ngons are just hard to model with atleast most of the time thats the only reason I think.

  • @Shawn.Shooter
    @Shawn.Shooter 4 роки тому +30

    I just watched a video of the Unreal Engine 5 for PS5 and came here to see why video games are made of tiny triangles.

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

      It’s literally like in real life too 😂 the shape triangle is the strongest shape

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

      @@andycornejo2361 It's also the most basic of the shapes. 3 sides is minimum that you need to enclose an area.

  • @suleimanmustafa1473
    @suleimanmustafa1473 6 років тому +739

    How far into a new year is it acceptable to greet "Happy New Year!"?

    • @amigo2hundred
      @amigo2hundred 6 років тому +53

      Uptil 12am of the last day of the year !!!!

    • @definitelyderek5815
      @definitelyderek5815 6 років тому +10

      This far, plus 10 minutes

    • @Arovna
      @Arovna 6 років тому +21

      I think in France it's around the 7th of february xD

    • @gonnabeok
      @gonnabeok 6 років тому +4

      within 74 seconds after midnight

    • @rabbitpiet7182
      @rabbitpiet7182 6 років тому +5

      I say the 10th

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

    0:01 No, that is Arthur Morgan. He died at sunrise, that's why we have AM for morning hours.

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

      Oh wow I never made that connection. Truly beautiful.

  • @Fitzsimmons.
    @Fitzsimmons. 6 років тому +26

    When Vox had a survey and asked what your audience wanted I said more games coverage as it's the biggest form of media now. To ignore games is to ignore modern culture. I didn't want plays or things like that but intelligent discussions about games.
    Vox you delivered! I'm sure it wasn't because of my request but it feels like I had a small hand in it! So happy. Great video!

  • @nalaprodd
    @nalaprodd 4 роки тому +99

    vox: put thousands of these or maybe even millions
    me: oh shoot then the ps5 tech demo is more impressive

    • @nimnadarajah6581
      @nimnadarajah6581 4 роки тому +9

      Mike Wazzup didn’t they mention in the tech demo that the 500 statues alone had several billions of triangles?

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

      @@nimnadarajah6581 millions

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

      @@RisenSlash trillions

  • @g.hmusicc
    @g.hmusicc 6 років тому +72

    0:51 *_t h a t ‘ s h o t_*

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

    the 3 vs 4 dots thing just blew my mind

  • @TerryFoxTheMan
    @TerryFoxTheMan 6 років тому +10

    Wow, really cool that you got someone as informed and knowledgeable as the head of engineering of unity! As always, really high quality and concise video! Sometimes wish these were longer.

  • @HarvestrX
    @HarvestrX 2 місяці тому

    3:34 is where the answer is. They don't explain it technically, but most videos don't explain it at all. So, thank you to Vox for a great video. The issue is that a noncoplanar polygon is mathematically undefined (so a computer can't calculate them, and thus can't draw them). Yet all but the simplest models will have noncoplanar quads or ngons. If you take a bent quad, and create a new line between the 2 vertices where the bend happens, then you have 2 triangles. It is impossible to have a noncoplanar triangle, thus triangles guarantee your polys will render.

  • @kaktotak8267
    @kaktotak8267 6 років тому +65

    "But you never see them"
    This girl is young.

    • @CleoAbram
      @CleoAbram 6 років тому +11

      Ha, fair.

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

      What? How have you got it to say “read more”

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

      @@MiloMcCarthyMusic UA-cam is not perfect, nothing is, there are bound to be mistakes

  • @24FramesOfNick
    @24FramesOfNick 6 років тому +340

    Games are made of gamers

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

    An equivalent concept is used elsewhere too. In 3D printing, CAD, 3D modelling etc, objects are treated in a similar manner. For example, during simulation of 3D models, we use FEA (Finite Element Analysis) to study them with respect to physics, engineering (and even economics)...
    That is because a triangle is the SIMPLEST geometric shape that gives a completely closed contour/loop and or surface area. By simplest, I mean its the least number of points you can join to form a closed area.
    Therefore, when you divide (or construct, in this case) an object with an extremely large (but still finite) number of triangular area elements, it becomes easier for a computer to understand it...

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

      That’s what I was thinking. We had to do stuff with “meshes” in my heat transfer class using some fancy engineering software whose name I forget. Basically the meshes were just triangular nets that surrounded our objects we were studying.

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

      @@ShadyForest ANSYS Fluent, COMSOL Multiphysics, ABAQUS, SolidWorks etc.
      Must have been one of those...

  • @recoolify
    @recoolify 4 роки тому +41

    who is seeing this after that traingle video of unreal engine 5 demo😂

  • @andersdenkend
    @andersdenkend 6 років тому +241

    Is this Natalie Portman‘s sister?!

  • @osga21
    @osga21 6 років тому +10

    Curiously enough the Sega Saturn rendered everything in rectangles instead of triangles. This proved to be an issue(among many others) when porting games to the console because every other game was rendered using triangles. Most devs would just set the side of a rectangle to 0, effectively making it a triangle, however this was less than ideal.

  • @siva2727
    @siva2727 6 років тому +538

    Why did the console gamer crossed the road ?
    To render the other end of the street

  • @hendrairawan
    @hendrairawan 4 роки тому +1

    i love that u opened the video with rdr2

  • @fasteddie9970
    @fasteddie9970 6 років тому +259

    Illuminati confirmed.

  • @ManishGupta-dr4tj
    @ManishGupta-dr4tj 6 років тому +1

    Just adding here that triangles are not only shapes that can be used for games. Many people have experimented with trapeziums also, especially in 2d games. Trapeziums are sometimes better than triangles as you can save a trapezium with 4 points where you will need 6 points for 2 triangles, leading to less memory consumption. Moreover parallel lines in a trapezium, mimic the scanlines on the screen leading to better sharpness. But after 3d games, all game engines use triangles, and thus now for 2d games as well triangles are used.

  • @w8ingsim43
    @w8ingsim43 6 років тому +16

    I mean if you play early tomb raiders you would know really well about triangles.

  • @juantelle1
    @juantelle1 6 років тому +1

    The process of translating geometry into pixels on your screen is called Rasterisation

    • @Star-rq3jd
      @Star-rq3jd 6 років тому

      But don't we loose the points data after raster?

  • @JooleanBoolean
    @JooleanBoolean 6 років тому +18

    I'm very pleased to see behind the scenes of video games being shown in mainstream media such as Vox, but I'm a little disappointed in the execution. I would have loved to see you dig a little deeper than the video title, because that's pretty much all you said "video games are made of triangles", except with fancy Vox graphics. Don't really need to watch the rest of the video for that.
    Nevertheless I'm very happy to see that there is mainstream interest in the making of process of video games nowadays.

  • @xponen
    @xponen 6 років тому

    Triangle is not a mere "tricks" to get graphics working in computer, but triangles is actually something fundamentals to vision. In 1980s there's paper called "Interpreting Line Drawings", it explain how a 3 lines of a corner of a pyramid (basically an edge of 3 triangles) can interpret the surface of every visible objects. This mathematics/thoughts-process is still taught to this day, you can find them under same title in MIT Courseware on Artificial Intelligence.

  • @iluvcarz1
    @iluvcarz1 6 років тому +9

    3:01 the singular term for "vertices" is "vertex", not "vertice".

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

    Triangles are now my most favorite shape

  • @ChannelX24
    @ChannelX24 6 років тому +12

    Its the same with 3D printing. When I make a model on CAD software its extremely detailed even if its just a simple shape. I run it though a program that turns it into an .stl file which is basically a bunch of triangles forming the shape of the object. You can control the number of triangles to change the "resolution of the model". Then when its almost ready to print the triangle stl model gets sliced through in special software and turned into g code - a series of tool paths based of of the straight lines of the triangles for each printed layer of the model. Its just amazing how stuff works when you go into the tiny details of it.

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

      Lol, I'm so late but when I first got my 3D printer I didn't understand that a Gcode was specific to an individual printer, and spent so long searching online for a "Gcode file converter" to no avail.

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

      @@elliotfinn Yeah totally personalized to your own machine, I wonder in the future the sensors and machine learning will be so good that we will just be able to download a file and print it with little to no prep. Like in Star Trek.

  • @HatchetHaro
    @HatchetHaro 6 років тому

    Just to add to the video, in the 3D modeling pipeline for animations and games, 3D models aren't made out of triangles, but quads (4-sided polygons). You can see that at 0:28 - 0:36, where you can find that the triangles fit together to form very even quads along the entire model. They are automatically converted into triangles upon being exported out to be used for games.
    The reason for modeling in quads versus modeling in triangles is that, while using triangles directly would result in more details with fewer polygons, creating, editing, and assigning UV maps ("unfolding" and flattening the model's surface so you can apply a 2D texture map) to models using quads is much easier and much more efficient.

  • @ghazalkhubaib4213
    @ghazalkhubaib4213 4 роки тому +3

    Vox: Everygame is madeup of small triangles.
    Minecraft: Am I a joke to you?

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

      yes, even Minecraft.

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

      @@renaigh Minecraft is actually made up of voxels although converted and rasterized to triangles in the end (although I think there's a good chance the RTX version just directly raytraces voxels, since voxels are faster to raytrace than triangles).

  • @onepiecebarca
    @onepiecebarca 4 роки тому +1

    Check the skin of your hand, it's made of small triangles as well. That's how it works, in order to make detailed 3D objects you need to use simple 2D objects.

  • @haresmahmood
    @haresmahmood 6 років тому +150

    Stellar quality once again 👌

  • @Exoclypse
    @Exoclypse 6 років тому

    correction 3:25 :
    "So the game engine needs to convert curved surfaces into flat ones for the player's computer to process."
    The game engine doesn't convert curved surfaces. The objects are already polygonal meshes made of triangles described by vertices, usually imported from a 3D editing software, like Maya or 3ds Max. Therefore no need for any conversion.
    In addition, it is possible for a computer to process curved surfaces. This is the case for vector graphics and NURBS.

  • @dislikebot
    @dislikebot 5 років тому +22

    “Meticulously detailed games”
    >proceeds to state fortnite and pubg as examples

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

      Finally we found someone smart!

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

      @Kay
      'Modern Disasters'? Aren't they some of the popular game's played by millions, I don't know much about gaming & it's history, can u eloborate?

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

      Artstyle =/= Graphics

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

      Pubg used to rule the world... good days

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

      @Nefomemes too bad m8

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

    All these graphics are amazing, but the graphics of Monarchist's heads rolling is better

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

      Agreed

  • @bobcharlotte8724
    @bobcharlotte8724 5 років тому +4

    When making the Saturn, Sega didnt get the memo.

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

    How many people already knew this but watched it to see how vox would explain it?

  • @nsa3679
    @nsa3679 6 років тому +7

    *That’s how triangles work*

  • @JaredRix
    @JaredRix 6 років тому +1

    This video is a blessing to every designer who struggles to explain to their mom what they do lol

  • @thebahooplamaster
    @thebahooplamaster 6 років тому +58

    Darn. I thought they used triangles because of influence from the Illuminati.
    My dreams are crushed.

    • @Mr_Pxtty
      @Mr_Pxtty 6 років тому +1

      In any video game related game I see you in them comments

  • @dr.christopherdiaz4473
    @dr.christopherdiaz4473 4 роки тому +1

    Digital audio uses the Fourier series to create virtually any sound out of a complex combination of sine waves.
    Since sine waves are triangle functions, digital audio can be thought of as a long series of tiny triangles too.

  • @SenseiVeggito
    @SenseiVeggito 6 років тому +9

    Shoutout to any 3d modelers watching this vid

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

    the reason is very simple: if you move any point of a triangle in any xyz direction the triangle keeps flat, if you do this with square or other, the polygon is deformed causing errors that will be displayed on the screen... just that

  • @finnorourke4861
    @finnorourke4861 4 роки тому +27

    Oh boy I’m scared of all the ps5 comments that are gonna come in

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

      Beto

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

      Have you heard that ps5 draws in 50 megafarts per terashit

    • @finnorourke4861
      @finnorourke4861 4 роки тому +1

      Ireikes oh that’s nothing, I heard the Xbox one has 1gigashart per 10 terashit

  • @PaparazziVan
    @PaparazziVan 4 роки тому +3

    Her: Its an action-adventure game with over 60 hours of stunning gameplat 0:07
    Speed-runners: Its 3, actually
    made with mematic

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

    Yeah unreal engine 5 for PS 5 told me hundreds of billions triangle

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

      I'm gonna make a game for the ps5 with only 3 triangles

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

      Ser3rm 3 triangles is prob like a rock in a game😂

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

      @@andycornejo2361 not even it would probably be smaller than a pixel

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

    Finally a media outlet that respects video games.

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

    anyone else get this recommended after seeing the unreal engine 5 demo?

  • @hshuemaker
    @hshuemaker 6 років тому +5

    Yay, saw they mentioned Monument Valley. That game (and its sequel) is so beautiful!

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

    Vox: "why video games are made of tiny triangles"
    conpiracy theorists: iLuMiNaTi!!!

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

    There are a couple reasons why you would want to split a game into triangles:
    1. Any model can be split into triangles.
    2. Triangles are convex.
    3. Games are built on game engines which are built on graphics APIs like OpenGL, Directx, Vulkan, or metal, all of these graphics APIs just send drawing data to the GPU and when learning a new graphics API the first exercise is often drawing a triangle. Mostly because the graphics APIs allow you to draw triangle just with Vertex buffer and a Vertex array and sometimes a shader. But, you don't need indexed drawing to draw a triangle. Therefore, drawing a triangle is easier. So when you draw a square in these graphics APIs, instead of using the graphics APIs built-in functionality to draw quads, they use a index buffer of indices to do indexed drawing. Also in .obj files where models are stored (though most game engines use .fbx) the .obj file stores indices, vertices, and normals, therefore when loading a model from an .obj file you need to use indexed drawing. Therefore, you need to use triangles.

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

    I always love your videos but being a game enthusiast, I was like OMG, they finally did a video on gaming. I hope you do another one soon...
    PS I love you, Vox ❤❤❤

  • @mzon772
    @mzon772 6 років тому

    I hate watching videos where I know the answer, but Vox always keeps me interested. Great video

  • @Yellow.1844
    @Yellow.1844 6 років тому +3

    0:50 is RDR2 in Japan

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

    I just watched the PS5 demo video.
    Thank God I saw this video before hand.

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

    Vox: Everything is made of triangles.
    Minecraft: wut?

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

    I appreciate the use of a teapot in the example.
    (A teapot was one of the first rendered 3D objetcs, based off a real teapot. It's called the Utah Teapot)

  • @brans7196
    @brans7196 6 років тому +36

    You look like the actress Keira Knightley.. 😂😂

    • @welshzecorgi7903
      @welshzecorgi7903 6 років тому

      Damn it Jeff, did you let another clone escape the lab?!?

  • @TheRaunaq
    @TheRaunaq 6 років тому

    For a more Complicated explanation,
    there are multiple types of the shader in a pipeline
    but the 2 main ones are called vertex shader and Fragment shader those are at least the 2 shaders you will write when you are making your first triangle in OpenGL
    in open GL these points are connected clockwise (if I remember correctly )
    and the fragment shader will divide the points into "fragments" (or tessellation shader in DirectX) which will make it into pixels.
    these and dept calculations are done with something more specific math which uses Matrices usually 4D matrices that got to do with translation and rotation and scaling.
    So the way it works is that to display that triangle we create a viewport which acts as a camera and then through the code we send something called an MVP matrix which is basically an addition of the object's place in the world + the Camras place + the projection of the matrix.
    if you anyone actually read till here I need to put this out there I think I miss coding in OpenGL even though I was bad at it and also taking if you tried understanding all this you might wanna try going to learnOpenGL for just fun..

  • @mahj
    @mahj 6 років тому +5

    Well, that could've been done in 30 seconds.

  • @orgicus
    @orgicus 6 років тому

    As others already pointed out: vertex (singular), vertices (plural), not vertice.
    On top of that, the list of vertices (from an .obj mesh) is only part of process and just simply "translate to pixels on your screen":
    - that same text file has lines beginning with "f" defining faces: lists of vertex indices describing how those vertices connect as triangles.
    - on top of the 3D vertex coordinates and faces which defined objects in a 3D scene there's usually a 3D camera: this is perspective math is used to compute how those 3D positions would be projected onto a 2D plane (the screen)
    - on the GPU, just before the 3D points get computed as 2D projected points programmers can add geometry effects (vertex shaders (e.g. bend/twist/wave/etc.)) and just before the 2D projected points become pixels to be displayed on screens programmers can add image effects (fragment shaders (e.g. blur, emphasise edges (cartoon like), pixelate, etc.)))
    I get that it's not easy to explain the whole programmable GPU pipeline this in 5 minutes for general audience,
    but maybe with a few minutes too spare the full picture could be presented rather than skipping straight from 3d points, past faces, cameras, lighting, materials to pixels ?
    The video does shed some light into how video games work behind the scenes which is great,
    but to me it feels like it also sells a false hope that the full process is demystified when it barely scratches the surface.
    If others are interested look into GPU pipeline (for example Siggraph's Fundamentals course: ua-cam.com/video/7Hn5qUmL-Q8/v-deo.html )
    Nowadays GPUs process triangles, but a while back there were GPUs that used quads (planes with 4 vertices) instead (e.g. Diamond Edge 3D)

  • @itstoasty7089
    @itstoasty7089 5 років тому +9

    1:53 so you refer “Rendering” as in changing my render distance in Minecraft?

    • @Max-up8vj
      @Max-up8vj 5 років тому +3

      Yup, by changing your render distance, there is less math to be performed for each frame hence you get better performance. Same for any game.

    • @AveryChow
      @AveryChow 4 роки тому +1

      Well render distance just tells your computer how far out it can render. If you have a low render distance, you can't see objects far away, if you have a high render distance, you can see objects that are really far away.

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

    correction: the clip at 1:19 isn't from Monument Valley, it's from Monument Valley 2.

  • @error079
    @error079 6 років тому +11

    You made this video just so you could play games at the office? ;)

    • @campkira
      @campkira 6 років тому

      Often they are. That why a lot of channel who not game related has a video game video.

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

    Makes me warm inside, when people explain on what I do for a living.

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

      I'm gonna guess you're either a Streamer in your moms basement or an independent game designer...

  • @roberth1328
    @roberth1328 6 років тому +15

    Talks entirely about polygons, doesn’t once mention that they’re called polygons 🤔

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

      this is Vox, their audience probably doesn't know any fancy terms like polygon or computer

    • @spaceman-pe5je
      @spaceman-pe5je 4 роки тому

      @@Mate_Antal_Zoltan ? Game devs refer to them as tri, not polygons unless it's specifically 4+ sided.

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

      @@Mate_Antal_Zoltan I'm surprised you know how to spell "computer"

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

      @@renaigh why is that, may I ask?

  • @TheSoundofTanay
    @TheSoundofTanay 6 років тому +1

    *hears voice of narrator* "wow, what a soothing, beautiful voice.
    *sees the woman on screen*"wow. Oh my."
    *heart skips a beat.*

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

    Minecraft: ARE YOU SURE ABOUT THAT

  • @brashmandicoot
    @brashmandicoot 6 років тому +1

    Great video!
    Small note: The singular of Vertices isn't Vertice, it's Vertex

  • @fatt_yoshi5507
    @fatt_yoshi5507 6 років тому +28

    BIG CHUNGUS WILL BE THE FIRST GAME MADE WITHOUT TRIANGLES
    BUY NOW FOR OLNY 10000000$

    • @chairchair1231
      @chairchair1231 6 років тому +1

      There have been games made without triangles you noob

    • @fatt_yoshi5507
      @fatt_yoshi5507 6 років тому +5

      @@chairchair1231 I hate when I see people with no humor, I'm quite dissapointed

    • @chairchair1231
      @chairchair1231 6 років тому

      @@fatt_yoshi5507 in disappointed in you not being able to make a meme that could make me laugh noob

    • @danielm4874
      @danielm4874 6 років тому

      @@chairchair1231 stfu kid

    • @chairchair1231
      @chairchair1231 6 років тому

      @@danielm4874 triggered

  • @singularityhq
    @singularityhq 4 роки тому +1

    When she said "This is me in red dead redemption", for a second there I thought she meant that she did the motion acting.

  • @paulboujabbour2015
    @paulboujabbour2015 6 років тому +29

    Sooooo minecraft is made out of triangles.....right?

    • @hikari_no_yume
      @hikari_no_yume 6 років тому +13

      Yes. The squares are broken into two triangles.

    • @joonasfi
      @joonasfi 6 років тому +8

      @@hikari_no_yume knows what's up

    • @kanva4
      @kanva4 6 років тому +1

      I don't think so

    • @xd-games9748
      @xd-games9748 5 років тому

      @@hikari_no_yume I am not sure. When you export a Minecraft world into .obj file and import it into blender you get get quadratic planes and not triangles. I think triangles are only used in komplex geometry, but I am not sure.

    • @NigelEmmerton
      @NigelEmmerton 5 років тому +3

      @@xd-games9748 yeah it's showing you squares (quads) but the software still sees that mesh as triangles. Quads are just easier to work with.

  • @pax4370
    @pax4370 6 років тому

    Vox making videos about games. Soooo good 😊😊

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

    I'm getting flashbacks to the great fairy from the old legend of zelda

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

    There is a huge difference between 3D modeling and video games. I make and sell models for a living and usually you model in squares because they are easier to work with and performance isn’t what you are looking for when modeling. Square vertices are also way easier to hide.

  • @Scarletraven87
    @Scarletraven87 6 років тому +4

    Pixels have nothing to do with triangles. You may have a whole character in the distance fit into a whole pixel.
    Pixels are exclusively what the graphic card ships to the screen. They are unconcrete. Triangles are surfaces of the WORKING game world, with collisions and everything.

  • @ChongMcBong
    @ChongMcBong 6 років тому

    i taught myself 3d modeling while being stuck in the house for a couple of years, after having a big car crash. its fun making stuff with triangles :)

  • @baddiecentral22
    @baddiecentral22 4 роки тому +3

    I'm here because Unreal Engine 5 is out. We got lots of triangles

  • @wwklnd
    @wwklnd 6 років тому

    I'm sure someone has already pointed it out, but the singular of "vertices" is "vertex", not "vertice". I keep hearing people (even in the industry) making this mistake so I don't blame you (that much.) ;)

  • @MikeNosa
    @MikeNosa 5 років тому +3

    What about minecraft

    • @Max-up8vj
      @Max-up8vj 5 років тому

      You can form a rectange out of 2 triangles.

  • @infinitimac
    @infinitimac 4 роки тому +1

    Got targetted with this right after the PS5 33 million triangle release. You done well UA-cam

  • @swishgod6623
    @swishgod6623 6 років тому +9

    Yooooo new girl is kinda fine tho

  • @selforganisation
    @selforganisation 6 років тому

    Nice video for the uninitiated, but there are some inaccuracies.
    For example, triangles are preferred to quads not because quads can describe a tetrahedron, which you'd then have to render, but because this tetrahedron-like shape (or chair-like) is called a degenerate polygon and you can't draw that properly as a flat face (since it's not flat), and that's what a rasteizer does, it draws flat shapes; and also because triangle rasterisation is more efficient and easier. That said, you can of course draw any polygon (including quadrilaterals, but also other) with triangles by decomposing it into triangles in one of several ways.
    Also, triangles aren't by far the only primitives used in drawing, another primitive is a point, which is often used with a texture attached to draw many small point-like objects e.g. to draw smoke or sparks. This is called a particle system, and you have shown an example where this cowboy character brushes a horse. Similarly, you can also use lines to draw e.g. fine spikes on something.
    And you don't even need primitives to draw stuff, e.g. you can simulate hair or grass or similar strand-like structure with a single set of triangles in a fragment shader by simply drawing many pixels for each texel of a texture in many layers, creating uniform fine columns "growing" in the perpendicular direction to a mesh surface.
    Actually, now that I think off, given the short and very basic nature of the video, I feel like this video is mostly an add for one game and one online paid tutorials website.

  • @quanticprophecy
    @quanticprophecy 6 років тому +34

    Straight up spoiling Zelda: Breath of the Wild.

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

      to be fair the games already been out for nearly two years

    • @YKplaysMC
      @YKplaysMC 6 років тому

      How is it a spoiler? 1. The game is old. 2. You see the final boss in the beginning of the game.

    • @panc4kes276
      @panc4kes276 6 років тому

      r/Woooosh

  • @CreightonMiller
    @CreightonMiller 6 років тому

    I read the title as "Why video games are made of tiny tragedies" and I was really excited to find out what that meant.