Why video games are made of tiny triangles

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • Inside your favorite games - Red Dead Redemption 2, Fortnite, PUBG, Rocket League - you’ll find millions of tiny triangles.
    This video is presented by Skillshare. Sign up here: skl.sh/vox
    Join the Vox Video Lab! www.vox.com/join
    Subscribe to our channel! goo.gl/0bsAjO
    Games today are meticulously detailed. They’re mysterious and heartwarming, and colorful and stylized. And that makes them a technical challenge. Though computing power has skyrocketed, gamemakers keep competing to add more detail to their games, pushing the limits of what even the newest technology can compute. Game technology needs to constantly keep up with gamemakers’ creative ambitions.
    Triangles are a key part of how these gorgeous, detailed games appear on your screen - the hidden heroes we should all thank as we play. This simple shape helps keep the number of computations needed for each detail as low as possible, allowing the player's computer to process these elaborate games.
    Watch the video above to find out how triangles make room for creators to build the beautiful games that exist today.
    Vox.com is a news website that helps you cut through the noise and understand what's really driving the events in the headlines. Check out www.vox.com.
    Watch our full video catalog: goo.gl/IZONyE
    Follow Vox on Facebook: goo.gl/U2g06o
    Or Twitter: goo.gl/XFrZ5H

Комментарии • 1,8 тыс.

  • @CleoAbram
    @CleoAbram 5 лет назад +1979

    Thanks for watching everyone! I want to share my new favorite place on RUclips: 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 5 лет назад +44

      Cleo Abram hey you look like Keira Knightly !

    • @ssharma1201
      @ssharma1201 5 лет назад +29

      you're really beautiful 😃❤

    • @shabbufateh
      @shabbufateh 5 лет назад +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 5 лет назад +57

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

    • @mud6461
      @mud6461 5 лет назад +7

      so is the earth made up of triangles

  • @arvaborelius7269
    @arvaborelius7269 5 лет назад +3870

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

    • @Freakmenn
      @Freakmenn 5 лет назад +228

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

    • @DwAboutItManFr
      @DwAboutItManFr 5 лет назад +40

      Implying the rocks are thinking

    • @WeeWeeJumbo
      @WeeWeeJumbo 5 лет назад +64

      This comment is too good for a venue like RUclips

    • @MultiSciGeek
      @MultiSciGeek 5 лет назад +67

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

    • @sapientpearwood613
      @sapientpearwood613 5 лет назад +12

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

  • @katycrawford8101
    @katycrawford8101 5 лет назад +1211

    vox: answering questions you never knew you had

    • @campkira
      @campkira 5 лет назад

      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

    • @slitsre
      @slitsre 4 года назад

      Azzuri Rodrinata Einstein over here

    • @lracfilib
      @lracfilib 3 года назад

      @@sweatysweak roblox

  • @legend2memba
    @legend2memba 4 года назад +749

    PS5: someone said... triangles?

  • @LordofBroccoli
    @LordofBroccoli 5 лет назад +1512

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

  • @maroverdose
    @maroverdose 5 лет назад +575

    Thank you tiny triangles, very cool.

    • @Crushenator500
      @Crushenator500 5 лет назад +5

      Very cool and very legal

    • @hellatze
      @hellatze 5 лет назад +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. 5 лет назад +3049

    How do you do, fellow gamers?

    • @rachelguzzo1602
      @rachelguzzo1602 5 лет назад +13

      Justin Y.+ I’m in school gamer

    • @t65bx25
      @t65bx25 5 лет назад +2

      KSP

    • @hmmm9658
      @hmmm9658 5 лет назад +35

      gamers rise up

    • @brokeindio5072
      @brokeindio5072 5 лет назад +109

      Nothing much, Just casually harassing minorities

    • @Blazing_Glory
      @Blazing_Glory 5 лет назад +38

      Why do I see you everywhere?

  • @goat6354
    @goat6354 4 года назад +338

    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

  • @Germania9
    @Germania9 5 лет назад +2317

    Who knew Keira Knightley knows a lot about games?

  • @kunwoododd2154
    @kunwoododd2154 5 лет назад +748

    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 5 лет назад +120

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

    • @ferrettankror1
      @ferrettankror1 5 лет назад +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 5 лет назад +7

      naaaam n-gon ftw

    • @alancarter7663
      @alancarter7663 5 лет назад +2

      @@donloder1 heresy

    • @kunwoododd2154
      @kunwoododd2154 5 лет назад +42

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

  • @evaristegalois6282
    @evaristegalois6282 5 лет назад +1874

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

  • @ayh0210
    @ayh0210 4 года назад +319

    Minecraft: No, I don't think I will

    • @enot2140
      @enot2140 4 года назад +47

      @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 5 лет назад +22

    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.

  • @przemysawgumienny2621
    @przemysawgumienny2621 5 лет назад +292

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

  • @usethefooorce
    @usethefooorce 5 лет назад +34

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

  • @subashgowtham6165
    @subashgowtham6165 4 года назад +34

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

  • @24FramesOfNick
    @24FramesOfNick 5 лет назад +340

    Games are made of gamers

  • @suleimanmustafa1473
    @suleimanmustafa1473 5 лет назад +739

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

    • @amigo2hundred
      @amigo2hundred 5 лет назад +53

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

    • @definitelyderek5815
      @definitelyderek5815 5 лет назад +10

      This far, plus 10 minutes

    • @Arovna
      @Arovna 5 лет назад +21

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

    • @gonnabeok
      @gonnabeok 5 лет назад +4

      within 74 seconds after midnight

    • @rabbitpiet7182
      @rabbitpiet7182 5 лет назад +5

      I say the 10th

  • @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

  • @caramelcoffees
    @caramelcoffees 5 лет назад +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 5 лет назад +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

    • @caramelcoffees
      @caramelcoffees 5 лет назад +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 5 лет назад

      @@caramelcoffees 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 года назад +31

    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.

  • @g.hmusicc
    @g.hmusicc 5 лет назад +72

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

  • @MartinLabuschin
    @MartinLabuschin 4 года назад +13

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

    • @VivekYadav-ds8oz
      @VivekYadav-ds8oz 3 года назад

      Oh wow I never made that connection. Truly beautiful.

  • @andersdenkend
    @andersdenkend 5 лет назад +241

    Is this Natalie Portman‘s sister?!

  • @Fitzsimmons.
    @Fitzsimmons. 5 лет назад +25

    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!

  • @osga21
    @osga21 5 лет назад +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.

  • @JooleanBoolean
    @JooleanBoolean 5 лет назад +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.

  • @siva2727
    @siva2727 5 лет назад +539

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

  • @kaktotak8267
    @kaktotak8267 5 лет назад +65

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

    • @CleoAbram
      @CleoAbram 5 лет назад +11

      Ha, fair.

    • @MiloMcCarthyMusic
      @MiloMcCarthyMusic 4 года назад

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

    • @Mate_Antal_Zoltan
      @Mate_Antal_Zoltan 4 года назад

      @@MiloMcCarthyMusic RUclips is not perfect, nothing is, there are bound to be mistakes

  • @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 года назад +42

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

  • @TerryFoxTheMan
    @TerryFoxTheMan 5 лет назад +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.

  • @ChannelX24
    @ChannelX24 5 лет назад +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.

  • @iluvcarz1
    @iluvcarz1 5 лет назад +9

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

  • @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.

  • @w8ingsim43
    @w8ingsim43 5 лет назад +16

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

  • @hshuemaker
    @hshuemaker 5 лет назад +5

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

  • @fasteddie9970
    @fasteddie9970 5 лет назад +259

    Illuminati confirmed.

  • @gabrielus123gabby
    @gabrielus123gabby Год назад +1

    the 3 vs 4 dots thing just blew my mind

  • @ghazalkhubaib4213
    @ghazalkhubaib4213 4 года назад +3

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

    • @renaigh
      @renaigh 3 года назад

      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).

  • @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 5 лет назад +9

    Shoutout to any 3d modelers watching this vid

  • @mrf4ncyp4nts
    @mrf4ncyp4nts 5 лет назад +876

    TL;DR - We formed a pact with the Ancient Fey back in the 1960s and agreed to use their sacred triangular and square geometry in all of our national entertainment media in order to transform America into the world's largest leyline to await the next alignment of the planets in 2024.

    • @bluegamer07
      @bluegamer07 5 лет назад +5

      hey its me jop
      Thanks You.

    • @Vox
      @Vox  5 лет назад +52

      For everyone who didn't watch the video, this pretty much sums it up!

    • @xiiscari317
      @xiiscari317 5 лет назад +2

      Thank you.

    • @Udontkno7
      @Udontkno7 5 лет назад

      Whew.

    • @mrf4ncyp4nts
      @mrf4ncyp4nts 5 лет назад +4

      @Ali Jordan I'm glad you asked! Back in the 1960s, we formed a pact with the Ancient Fey and agreed to use their sacred triangular and square geometry in all of our national entertainment media in order to transform America into the world's largest leyline to await the next alignment of the planets in 2024.

  • @ManishGupta-dr4tj
    @ManishGupta-dr4tj 5 лет назад +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.

  • @finnorourke4861
    @finnorourke4861 4 года назад +28

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

    • @ImDaBawsss
      @ImDaBawsss 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

  • @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 5 лет назад +150

    Stellar quality once again 👌

  • @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)

  • @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

  • @brittaninoble
    @brittaninoble 5 лет назад +1

    Triangles are now my most favorite shape

  • @uttisiseppe769
    @uttisiseppe769 4 года назад +16

    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

  • @brashmandicoot
    @brashmandicoot 5 лет назад +1

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

  • @aleko1304
    @aleko1304 4 года назад +7

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

  • @hendrairawan
    @hendrairawan 4 года назад +1

    i love that u opened the video with rdr2

  • @thebahooplamaster
    @thebahooplamaster 5 лет назад +58

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

    • @Mr_Pxtty
      @Mr_Pxtty 5 лет назад +1

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

  • @xponen
    @xponen 5 лет назад

    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.

  • @garretthowell8430
    @garretthowell8430 4 года назад +9

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

  • @orgicus
    @orgicus 5 лет назад

    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: ruclips.net/video/7Hn5qUmL-Q8/видео.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)

  • @nsa3679
    @nsa3679 5 лет назад +7

    *That’s how triangles work*

  • @HatchetHaro
    @HatchetHaro 5 лет назад

    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.

  • @bobcharlotte8724
    @bobcharlotte8724 5 лет назад +4

    When making the Saturn, Sega didnt get the memo.

  • @TheRaunaq
    @TheRaunaq 5 лет назад

    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..

  • @brans7196
    @brans7196 5 лет назад +36

    You look like the actress Keira Knightley.. 😂😂

    • @welshzecorgi7903
      @welshzecorgi7903 5 лет назад

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

  • @stevensamuel4634
    @stevensamuel4634 5 лет назад +1

    For most 3D motion graphics, you can make a mesh a lot easier with triangles

  • @mahj
    @mahj 5 лет назад +5

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

  • @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

  • @Yellow.1844
    @Yellow.1844 5 лет назад +3

    0:50 is RDR2 in Japan

  • @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.

  • @wackywong
    @wackywong 5 лет назад +3

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

  • @juantelle1
    @juantelle1 5 лет назад +1

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

    • @Star-rq3jd
      @Star-rq3jd 5 лет назад

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

  • @fatt_yoshi5507
    @fatt_yoshi5507 5 лет назад +28

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

    • @chairchair1231
      @chairchair1231 5 лет назад +1

      There have been games made without triangles you noob

    • @fatt_yoshi5507
      @fatt_yoshi5507 5 лет назад +5

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

    • @chairchair1231
      @chairchair1231 5 лет назад

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

    • @danielm4874
      @danielm4874 5 лет назад

      @@chairchair1231 stfu kid

    • @chairchair1231
      @chairchair1231 5 лет назад

      @@danielm4874 triggered

  • @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

  • @vahidansari4820
    @vahidansari4820 5 лет назад +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 ❤❤❤

  • @Dead_Last
    @Dead_Last 5 лет назад +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...

  • @paulboujabbour2015
    @paulboujabbour2015 5 лет назад +29

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

    • @hikari_no_yume
      @hikari_no_yume 5 лет назад +13

      Yes. The squares are broken into two triangles.

    • @joonasfi
      @joonasfi 5 лет назад +8

      @@hikari_no_yume knows what's up

    • @kanva4
      @kanva4 5 лет назад +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.

  • @_tatm_3680
    @_tatm_3680 4 года назад +2

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

  • @Islay2806
    @Islay2806 4 года назад +13

    Minecraft: ARE YOU SURE ABOUT THAT

  • @ricky_195
    @ricky_195 4 года назад +2

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

  • @error079
    @error079 5 лет назад +11

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

    • @campkira
      @campkira 5 лет назад

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

  • @squidy7771
    @squidy7771 4 года назад

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

  • @roberth1328
    @roberth1328 5 лет назад +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?

  • @selforganisation
    @selforganisation 5 лет назад

    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.

  • @Scarletraven87
    @Scarletraven87 5 лет назад +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.

  • @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.

  • @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.

  • @SS-qf3pq
    @SS-qf3pq 5 лет назад

    I think this is one of the best, short video, on how games are made...

  • @pay1370
    @pay1370 5 лет назад +6

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

  • @ChongMcBong
    @ChongMcBong 5 лет назад

    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

  • @sorenficklin5884
    @sorenficklin5884 5 лет назад

    Triangles are also used to render almost any 3d models, and files that are rendered with triangles are the most popular and easiest to send to a 3d printer

  • @MikeNosa
    @MikeNosa 5 лет назад +3

    What about minecraft

    • @Max-up8vj
      @Max-up8vj 5 лет назад

      You can form a rectange out of 2 triangles.

  • @CAxPH
    @CAxPH 5 лет назад

    For a News channel, you guys did a decent job explaining how games work under the hood. It would be cool if you included the rendering pipeline and how a game engine takes a set of vertices, to lines, to fragments, to RGB and more. You guys just kinda showed it without any context with that OpenGL teapot.

  • @Exoclypse
    @Exoclypse 5 лет назад

    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.

  • @swishgod6623
    @swishgod6623 5 лет назад +9

    Yooooo new girl is kinda fine tho

  • @idaho777
    @idaho777 5 лет назад

    With models in video games, it's very difficult to represent curved surfaces smoothly because computers can only take in so many discrete set of points. Therefore, curved surfaces are subdivided multiple times into triangles (or quads) to replicate curved surfaces while reducing computation.
    Think about trying find a shape that looks like a circle in 2D. Start with a triangle then add a side to get a square, pentagon, hexagon, and so on. Eventually you'll get a shape with many sides (maybe 100) that looks close enough to a circle. Triangles act as the same for 3D.

  • @tiaanvdriel
    @tiaanvdriel 5 лет назад +4

    Wait, did they answer the question ?

  • @johnnybadboy3475
    @johnnybadboy3475 5 лет назад

    Not only that, but for 3D animated movies as well, like Toy Story.

  • @quanticprophecy
    @quanticprophecy 5 лет назад +34

    Straight up spoiling Zelda: Breath of the Wild.

    • @denniswang2332
      @denniswang2332 5 лет назад +3

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

    • @YKplaysMC
      @YKplaysMC 5 лет назад

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

    • @panc4kes276
      @panc4kes276 5 лет назад

      r/Woooosh

  • @RonaldCortez
    @RonaldCortez 5 лет назад +1

    Really great video! Glad to see Ori and the Blind Forest made the cut!

  • @henrikseppa-lassila9455
    @henrikseppa-lassila9455 5 лет назад +12

    This video could have been so interesting and have so much cool info. But instead it just showed some gameplay and explained very basic geometry. Vox usually does so good videos but this was just short and dumb. I know you can do better, just try to go deaper next time.

    • @Arvak777
      @Arvak777 5 лет назад

      Yeah, I felt like the video ended too quick and just got “pixels are square but computers prefer triangles”

    • @Ryan-vx9lk
      @Ryan-vx9lk 5 лет назад

      Really, I thought this video was quite informative and interesting. It explains a simpler and basic concept for everyone to understand.