How TRIANGLES make up 3D MODELS

Patreon: / floatymonkey
Discord: floatymonkey.com/discord
Instagram: / laurooyen
0:00 Introduction
0:18 3D Model
1:51 Triangulation
3:37 Vertex Buffer
6:05 Index Buffer
7:51 Vertex Normal
#math #computergraphics

Пікірлер: 30

  • @FloatyMonkey
    @FloatyMonkey4 жыл бұрын

    Thanks everyone for the 172 subscribers, can we hit 200 before the end of this year?! This subscriber count makes me feel quite some pressure. Please let me know what you think of this video.

  • @cemsengul16
    @cemsengul162 жыл бұрын

    Kind of insane when you think about it. We perceive complete smooth shapes when we play 3D games but our computer is constructing these shapes in real time conducting complex mathematics.

  • @CosmicComputer
    @CosmicComputer4 жыл бұрын

    This was incredible, you’ve taught me so much so far, thank you! Your channel is going to go places with this kind of content, I can’t wait for the next video!

  • @FloatyMonkey

    @FloatyMonkey

    4 жыл бұрын

    Hi Logan, thank you so much for all your supportive comments thus far. They really motivate me a lot!

  • @hossamfadeel
    @hossamfadeel3 жыл бұрын

    Thanks a lot. Great Explanation. Really appreciate your efforts.

  • @roxferesr
    @roxferesr4 жыл бұрын

    Your channel is a goldmine! Love the way you explain these subjects I would love for a future video to explain how complex models are stored and read by 3D software

  • @FloatyMonkey

    @FloatyMonkey

    4 жыл бұрын

    Wow, thanks! Not sure what you mean by 'complex models', do you mean things like vertices, edge loops, faces, etc. ? Next week I'll start making video's again. I noticed you follow me on Instagram, if you've seen my latest post you already know the subject for one of them ;)

  • @chicapercebe
    @chicapercebe3 жыл бұрын

    amazing channel! thank you for this explanation!!

  • @tmich34
    @tmich344 жыл бұрын

    just watched your video on "How real time computer graphics and raterisaiton works". I come from an mechanical engineering background. Would it be possible to do an in-depth video on each of the stages that you talked about, but a bit more slowly and with more examples. This is one of the best videos I found on the topic. Thanks.

  • @gutzimmumdo4910
    @gutzimmumdo49102 жыл бұрын

    dam i see u are an artist in the description, but are u a math hobbyst aswell? u have quite the knowldge of math, very good video.

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

    Incredible videos, appreciate the work a lot

  • @Hannah13147
    @Hannah131473 жыл бұрын

    Thank you so much!!!!

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

    YOUR CHANNEL IS AWESOME!!! thank you!!!!!

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

    Thank for your explanation, simple but very effective

  • @JannisAdmek
    @JannisAdmek4 жыл бұрын

    3:40 into the video: I subscribed, very nice content! :) Edit: OMG this video is amazing!

  • @FloatyMonkey

    @FloatyMonkey

    4 жыл бұрын

    Thanks, means a lot!

  • @snake4eva
    @snake4eva3 жыл бұрын

    These lectures are superb its a shame that it isnt getting more views. I have a question to ask. Do you have any reference material that you could recommend that helped you to understand this topic? I've been looking through many videos about shaders and graphics pipeline and these are the most comprehensive and short videos that nails the point.

  • @FloatyMonkey

    @FloatyMonkey

    3 жыл бұрын

    Oh thanks. I’ve been doing graphics programming for over 6 years now and everything I explain in my videos is a brain dump of what I’ve learned during that time by reading hundreds if not thousands of articles. On top of that I not only read but also practice by implementing these techniques in my own game engine which is key to better understand them. If I did have to name one resource (for beginners) though it would have to be learnopengl.com. Hope this helps.

  • @snake4eva

    @snake4eva

    3 жыл бұрын

    @@FloatyMonkey Thanks a mil keep up the good work

  • @wooSandy
    @wooSandy3 жыл бұрын

    awesome,great video for beginners

  • @wooSandy

    @wooSandy

    3 жыл бұрын

    should be more subscribers

  • @eccentricaste3232
    @eccentricaste32329 ай бұрын

    I should dedicate a day for all your videos.

  • @lawdpuliix
    @lawdpuliix11 ай бұрын

    i just got here and man, i feel like i am a graphics programmer already, despite just starting out😂

  • @FloatyMonkey

    @FloatyMonkey

    11 ай бұрын

    Lol, thanks!

  • @dannywaterss
    @dannywaterss3 жыл бұрын

    Thank you for the video) So triangles are always and in any case better for calculations than quads? I just don't understood why I should triangulate the model if it creates more polygons. Is the reason just in calculating twice one edge?

  • @FloatyMonkey

    @FloatyMonkey

    3 жыл бұрын

    Yes, triangles are always superior to quads, at least when a computer needs to handle them. Their use simplifies the math and therefore increases performance. Triangles are the only polygons where its vertices are guaranteed to lie on a single plane. The vertices of a quad can lie in a single plane but can also lie in two planes. One of the problems with this is you can no longer calculate the normal vector because in some cases you might have two. This is just a simple example but the plethora of mathematical simplifications when using triangles extends way beyond what I can explain in a single comment. It's true that triangulation creates more polygons and thus uses a bit more memory on average but the computational advantages far outweigh the increased memory usage.

  • @dannywaterss

    @dannywaterss

    3 жыл бұрын

    @@FloatyMonkey Thank you very much, this knowledge is a real treasure

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

    I'm sorry but I didn't understand the end. You showed how to calculate the normal of the top vertex and store that value in the vertex buffer. But how do you calculate the normal of all the other vertices? What value do you store for the normals of those vertices?

  • @FloatyMonkey

    @FloatyMonkey

    Жыл бұрын

    You have to repeat the same steps. The normal of a vertex is just the average of the normals of the triangles that contain that vertex. As a side note, in practice we might use something fancier than a regular average, eg. an area weighted average.

  • @rodrigocausarano969

    @rodrigocausarano969

    Жыл бұрын

    @@FloatyMonkey Got it! You rock