Model View Projection Matrices

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 169

  • @Karsteski
    @Karsteski 2 ปีที่แล้ว +4

    9 years later this is still an amazingly helpful video. Thank you!

    • @JamieKingCS
      @JamieKingCS  2 ปีที่แล้ว +3

      😁

    • @Vlad-vk3mm
      @Vlad-vk3mm 2 ปีที่แล้ว +1

      @@JamieKingCS Still commenting, what a god!

  • @kylebrandson267
    @kylebrandson267 8 ปีที่แล้ว +106

    you da real MVP

    • @jousboxx9532
      @jousboxx9532 3 ปีที่แล้ว

      I want to upvote this comment, but I can't

  • @CatchTheBus
    @CatchTheBus 9 ปีที่แล้ว +50

    This is by far the best tutorial on this pretty complicated(at least for me) topic, and helped me a lot. Thank you.

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว +3

      +MoulinRougexD :) You should take my graphics class at the University of Utah. :)

    • @CatchTheBus
      @CatchTheBus 9 ปีที่แล้ว +1

      Jamie King Haha, right now i`m in Russia, but i plan on moving in USA, so may be i`ll! Would defenitly be glad to though. :)

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว +2

      :) Bust a move!

    • @HugoIetsGaming
      @HugoIetsGaming 9 ปีที่แล้ว

      +MoulinRougexD A russian moving to the USA. Fuck logic.

    • @CatchTheBus
      @CatchTheBus 9 ปีที่แล้ว

      TeleTubbie Luver le funny stereotypes x-:DDD

  • @polgomez9826
    @polgomez9826 11 ปีที่แล้ว +37

    This is amazing. I'm starting to learn computer graphics (using modern OpenGL, so gotta write shaders myself) and i just have to thank you for this video, and all of them. The math behind matrices is amazing. Thank you!

    • @JamieKingCS
      @JamieKingCS  11 ปีที่แล้ว +4

      Sure. No prob. Share the channel with your tech friends.

  • @SHEETALSHARMA-tz7sm
    @SHEETALSHARMA-tz7sm 4 ปีที่แล้ว +2

    16:09 This is the best video on TH-cam for understanding Model View Projection Matrices. Thank You so much.

  • @maxrodriguez643
    @maxrodriguez643 2 ปีที่แล้ว +1

    This tool you made is amazing. It shows everything visually and makes it just click in my head, thanks!

  • @dartme18
    @dartme18 2 ปีที่แล้ว +4

    Probably the best approach to an OpenGL "camera" tutorial I've seen. I think it would have been nice to explore other adjustable parameters like "up" direction for the camera, and looking at different field of views and angles for perspective and the orthographic projection, etc. Thank you for posting!

  • @JamieKingCS
    @JamieKingCS  11 ปีที่แล้ว +132

    I wrote this application myself.

    • @AlbertTackie
      @AlbertTackie 10 ปีที่แล้ว +5

      Dude that was really cool! What did you write it in, if I may ask? Is it in GitHub :) ?

    • @JamieKingCS
      @JamieKingCS  10 ปีที่แล้ว +5

      Eh, just a local SVN. I guess I could push it out there. I was just trying to learn this material by allowing myself to "touch" what's going on.

    • @JoaoMilasch
      @JoaoMilasch 10 ปีที่แล้ว +2

      Jamie King Have you ever pushed the code of this application in GitHub? I'm interested :D

    • @AhmedHan
      @AhmedHan 10 ปีที่แล้ว

      Can I play with you application? :D

    • @BenjaminChengCS
      @BenjaminChengCS 10 ปีที่แล้ว +1

      Jamie King Not sure if you are still there, but I would love to use this tool!

  • @frajet
    @frajet 9 ปีที่แล้ว +1

    this is actually why i subbed; your kids will appreciate having father like u, especially the son :))

  • @andreabavaro9286
    @andreabavaro9286 ปีที่แล้ว

    one of the best videos i’ve seen on this topic. amazing visualization of the matrix multiplications

  • @f41nT
    @f41nT ปีที่แล้ว

    best explanation on the whole internet!

  • @PatrickPatzelt
    @PatrickPatzelt 6 หลายเดือนก่อน

    as humans we tend to think the world resolves around us anyways... epic as well as this tutorial, the best tut on this topic ive come across at the end of many hours searching

  • @intrepiddk
    @intrepiddk 8 ปีที่แล้ว +6

    Great Video!
    I had one semester of 3D-modelling and one semester computer animation and I almost understood nothing.
    This video helped me alot more than all those lectures!
    Thank you!

    • @JamieKingCS
      @JamieKingCS  8 ปีที่แล้ว

      +intrepidro Heh. You're welcome!

  • @assonancex
    @assonancex 3 ปีที่แล้ว

    I'am really enjoying your series Jamie. Perfect for a snowed in Sunday :)
    Thank You!!

  • @rsibley
    @rsibley 8 ปีที่แล้ว +1

    This was incredibly helpful in making something that seemed complex much easier to understand. Awesome video!

    • @JamieKingCS
      @JamieKingCS  8 ปีที่แล้ว +1

      Thank you much. This video is the one I spent the most time on: making the visualization tool, explaining the topic, wrapping my head around the concepts myself. Of all my videos, this is the one I am most proud of. Thanks for the kind words.

  • @pmsolapur
    @pmsolapur 8 ปีที่แล้ว +1

    thank you for making hard topic so simple.. Its very nice.. I understood entire concept quite easily.. thank you..

  • @bennyiko5709
    @bennyiko5709 4 ปีที่แล้ว

    Your video was very helpful in visualizing the transformation from model to world, world to view, and view to projection. Initially I was taught to include the model and viewing transformation as one. Nice to see how it all comes together. That flattening of the z axis is the rendering of the scene.

  • @Lexyvil
    @Lexyvil 4 ปีที่แล้ว

    You've earned yourself a subscriber for the clear explanation. Will definitely check your playlist on how to understand the math behind it.

  • @jacekfr3252
    @jacekfr3252 ปีที่แล้ว

    oh, that was awsome!!! Thank you Sir for all your effort!

  • @tomatrix7525
    @tomatrix7525 4 ปีที่แล้ว

    This is golden. I’m well into programming an OpenGl 3d java game and still didn’t understand how this matrix stuff worked.

  • @jacktruong7151
    @jacktruong7151 2 ปีที่แล้ว

    It's the end of 2022 now and I just found a new mind blow vid.
    Thanks

  • @MrOnlineCoder
    @MrOnlineCoder 7 ปีที่แล้ว +3

    Finally I understand MVP matrixes. This video helped me a lot! Thank you!
    P.S. nice application, really should be used in 3d graphics courses

  • @andersonferreira669
    @andersonferreira669 3 ปีที่แล้ว

    Your tutorials have been really helpful to new students all around the world. I have been learning computer graphics, trying to understand projections, matrices etc and But I find your demo program very, very helpful to demonstrate all the inner workings in real time, It would be really great if you can share the source code, or the binaries. It will help many others to program very cool things.
    I am very grateful for all your work, thanks.

  • @aran4843
    @aran4843 2 ปีที่แล้ว

    View to Projection is an incredible tool

  • @LAnonHubbard
    @LAnonHubbard 8 ปีที่แล้ว

    This was a very good video. I like the slider towards the end of the video that went between 0 and 1 so you could see it flat on the projection plane but still being in the 3D world from another viewpoint.

  • @shaunmike
    @shaunmike 9 ปีที่แล้ว

    This is excellent; I am attempting to teach myself CG, and this is far better than a book. The eye coordinates were explained very well; the book I have seems to not emphasize that the world moves about the camera well.

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว +6

      My goal is to build the playlist I wish existed when I was learning graphics. It's so hard to gather this stuff from static images in a book, so I built this tool. Within a month or so, I will have it in github. Thanks for the kind words.

  • @Bulletforpaul
    @Bulletforpaul 10 ปีที่แล้ว +5

    VERY VERY VERY nice explanation and demonstration :D I finally understand why my crappy selfmade c# game didnt work ;)

  • @jibankabiraj1724
    @jibankabiraj1724 ปีที่แล้ว

    Thank you for this great explanation.

  • @ggo4844
    @ggo4844 2 ปีที่แล้ว

    What a greate explaination!
    Thank you!

  • @HarshaVardhan-xx6ii
    @HarshaVardhan-xx6ii 5 ปีที่แล้ว

    This one is really great Mr. Jamie

  • @barellevy6030
    @barellevy6030 3 ปีที่แล้ว

    Amazing! thank you, such a golden nugget of a video.

  • @noname_2108
    @noname_2108 ปีที่แล้ว

    so cool tool to visualize matricies, thanks alot!

  • @thetiphon
    @thetiphon 5 หลายเดือนก่อน

    good visual representation. thanks

  • @MuhammadKorra
    @MuhammadKorra 5 ปีที่แล้ว +1

    10:53 and you thought you were lazy to begin with :D that cracked me up dude. Awesome tutorial thank you

  • @lshawn3623
    @lshawn3623 6 ปีที่แล้ว +7

    15:15 Amazing Moment !!!

  • @rahuldeshpande9997
    @rahuldeshpande9997 9 หลายเดือนก่อน

    Brilliant, super helpful man, thank you

  • @nahbruhwhat
    @nahbruhwhat 6 ปีที่แล้ว

    This is insanely great.

  • @eagleeye1975
    @eagleeye1975 11 ปีที่แล้ว

    I want to thank you for this! I am working with XNA 4.0 and was very confused about the 3 Matrix parameters I needed to use for every "Draw" call... and how to scale things in the world, etc... So you really helped me visualize all of that. Thanks!

    • @JamieKingCS
      @JamieKingCS  11 ปีที่แล้ว

      Ya, no problem. There are lots of videos in this playlist on the various 3D geometry stuff. Share the channel with your tech friends. Thanks!

  • @thebrunorobert
    @thebrunorobert 6 ปีที่แล้ว +1

    Amazing content! Thank you so much!

  • @Inspirtedmusic
    @Inspirtedmusic 9 ปีที่แล้ว

    This is fantastic. Keep up the awesome work.

  • @davidlieber3494
    @davidlieber3494 ปีที่แล้ว

    this is GOLD!

  • @salelkaf
    @salelkaf 9 ปีที่แล้ว +2

    great explanation, is there any way to play with the tool you built?

  • @muh2k4
    @muh2k4 6 ปีที่แล้ว

    Thank you so much! Really well done!

  • @leedansen
    @leedansen 10 ปีที่แล้ว

    ah man - great explanation dude

  • @AkshayCJ47
    @AkshayCJ47 10 ปีที่แล้ว

    Nice explanation!

  • @shihkt
    @shihkt 11 ปีที่แล้ว

    great video! thanks for uploading this.

    • @JamieKingCS
      @JamieKingCS  11 ปีที่แล้ว

      No prob. Share it with your tech friend.s.

  • @mpoadmin2978
    @mpoadmin2978 3 ปีที่แล้ว

    my god this is amazing

  • @Steven676
    @Steven676 8 ปีที่แล้ว

    This is awesome!

  • @john_nikolaouu
    @john_nikolaouu 2 ปีที่แล้ว

    Thank you for the amazing content!! Is there a way to try out your visualisation engine?

  • @kenan08
    @kenan08 2 ปีที่แล้ว

    Does rotate around the Z seem to rotate around the Y (at 7:38) ?

  • @11markrodgers11
    @11markrodgers11 9 ปีที่แล้ว

    I have a basic understanding of vertex/matrix multiplication but I'm having a bit of trouble with the whole MVP matrices stuff. I'd really love if you could share you're application you made here so those of us who still need some help can play around with it and try to get a better understanding. Thanks for your great tutorials!

  • @vivijoung
    @vivijoung 10 ปีที่แล้ว

    thanks,I'm beginning to learn 3d game programming,this video is very useful for me,

    • @JamieKingCS
      @JamieKingCS  10 ปีที่แล้ว

      Go look at my game engine programming playlist.

  • @mukulbarai1441
    @mukulbarai1441 7 ปีที่แล้ว

    Helped me a lot.

  • @wal10er
    @wal10er 6 ปีที่แล้ว

    good work man.

  • @raygun369
    @raygun369 8 ปีที่แล้ว

    THANK YOU JAMIE

  • @楊漢軒-x2o
    @楊漢軒-x2o 8 ปีที่แล้ว

    thanks a lot , very nice video!!

  • @romanbubnov5790
    @romanbubnov5790 4 ปีที่แล้ว

    Great Job, i'm curious on what tool did you use to create sliders, checkboxes, labels, because i want to try to recreate this kind of application myself

  • @merictunc
    @merictunc 10 ปีที่แล้ว

    Thanks Jamie King

  • @hengyiyu9961
    @hengyiyu9961 3 ปีที่แล้ว

    holy shit,you are a genius

  • @Chris_t0
    @Chris_t0 9 ปีที่แล้ว +1

    Can you please release this application, I've always wanted to play around with these values without all the hassle.

  • @Canadian-Boi-
    @Canadian-Boi- 10 ปีที่แล้ว +2

    "Anyway, modelviewprojection we're done." lol xD

  • @AnonyMous-li2me
    @AnonyMous-li2me 10 ปีที่แล้ว +1

    that was awesome

  • @SuperStrangeways
    @SuperStrangeways 9 ปีที่แล้ว

    brilliant, thanks

  • @11markrodgers11
    @11markrodgers11 9 ปีที่แล้ว

    Could you possibly elaborate on the point of the projection matrix? I'm not quite understanding why it needs to be squished into 2d when we're viewing it in the viewport as 3d?

  • @stephen7715
    @stephen7715 5 ปีที่แล้ว

    mind blown.

  • @mourirsilfaut6769
    @mourirsilfaut6769 3 ปีที่แล้ว

    fantastic

  • @npip99
    @npip99 5 ปีที่แล้ว

    3:54, Hm, to keep the symmetry, shouldn't it be called the World matrix? I mean, it represents where a model is in the world, not the model itself. The model coordinates are already the standard xyz with no transformation at all. You can see its the only one thats named after the former word and not the latter

  • @stuck1a
    @stuck1a 7 หลายเดือนก่อน

    Is the something lilke a "common" projection matrix or at least camera position which is used for isometric games? Or does everyone use own values?

  • @LesterShipMirOleg1992
    @LesterShipMirOleg1992 8 ปีที่แล้ว

    Damn, pretty darn good! Anyway we can download that app?

  • @ArkadiuszBuras
    @ArkadiuszBuras 11 ปีที่แล้ว +1

    Hey what is name od program that you USA at 6:09 for previewing transformations?

  • @saeedsaeed4838
    @saeedsaeed4838 7 ปีที่แล้ว

    very great!

  • @theoloneubraga9268
    @theoloneubraga9268 3 ปีที่แล้ว

    Ok that was a good tutorial

  • @mdashrafulalammilton5881
    @mdashrafulalammilton5881 9 ปีที่แล้ว

    Jamie King Rocks. Guru, can i have link to your software which you are using here to simulate?

  • @AE-yr6mo
    @AE-yr6mo 3 ปีที่แล้ว

    When does the W homogeneous coordinate get involved?

  • @smartdean8910
    @smartdean8910 ปีที่แล้ว

    This app is cool, can we get it in order play with it???

  • @DavidDolynny
    @DavidDolynny 8 ปีที่แล้ว

    you are good teacher - also made me laugh :)

  • @HugoIetsGaming
    @HugoIetsGaming 9 ปีที่แล้ว +1

    I have not seen model loading in this tutorial playlist, why not? Isn't it very important to render models when using openGL, to make the scene look better?

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว +1

      +TeleTubbie Luver Coming...coming...eventually...

    • @michaelsavaglia1967
      @michaelsavaglia1967 9 ปีที่แล้ว

      +Jamie King Thanks for these videos, I'm studying computer games programming at Uni and these videos are extremely useful. I'm only up to here so far, but by the looks of it, there are no videos on texturing, are these in the works? again, thankyou for these videos:D

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว +2

      Michael Savaglia Yea, you'll see texturing soonish (month or two). I just barely uploaded the first video to this playlist since I came out of hiding. Going to add more...thinking one or two a week but no promises.

  • @MicheleTurchiarelli
    @MicheleTurchiarelli 8 ปีที่แล้ว

    How did you attached a 3D OpenGL application to a Windows Form?

    • @JamieKingCS
      @JamieKingCS  8 ปีที่แล้ว

      +Michele Turchiarelli I did this early in the playlist...video 2 I think.

  • @ЕгорПильник-ж2х
    @ЕгорПильник-ж2х 3 ปีที่แล้ว

    man, you're cool

  • @DlcEnergy
    @DlcEnergy 7 ปีที่แล้ว +4

    i was expecting you to go camera view, and show that the slider doesn't change perspective, since it's doing that anyway. lol

    • @antling_
      @antling_ 5 ปีที่แล้ว

      Why do I see you everywhere xD

  • @MrCybin
    @MrCybin 8 ปีที่แล้ว +2

    This video is not in the github list. There is no code for this tutorial.

  • @Unreadable69
    @Unreadable69 10 ปีที่แล้ว

    Have you happened to publish the application at all? My university assignment is asking for me to create a 3d scene and it would help soooo much if you have released it :D 

  • @이호영-d4l7m
    @이호영-d4l7m 5 ปีที่แล้ว

    which one is your game engine playlist?

  • @ezetreezy
    @ezetreezy 9 ปีที่แล้ว

    Where is all the work being done at in the graphics pipeline when you are applying the MVP matrices to your vertex data? Im assuming the Vertex Shader? Since that is where all our uniform matrices are being applied to all the data.

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว +1

      +ezetreezy Yep! Graphics card doesn't care about 3D. That's just us doing some math in the vertex shader.

    • @ezetreezy
      @ezetreezy 9 ปีที่แล้ว

      Jamie King If we apply phong shading/diffuse lighting(since you do this later in the playlist)...is some of the work(or could be most of the work) being forced upon the Fragment shader instead of the vertex shader?

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว

      Yep, and it looks better in the fragment shader. Keep watching.

  • @cly5570
    @cly5570 7 ปีที่แล้ว

    Awesome

  • @hab1tats
    @hab1tats 11 ปีที่แล้ว

    Would it be possible to share the matrix simulation application?

  • @Multilingualtricker
    @Multilingualtricker 6 ปีที่แล้ว

    Do you have a specific video for the maths relating to each of the M, V and P matrices. I looked through your playlist but nothing stood out.

    • @JamieKingCS
      @JamieKingCS  6 ปีที่แล้ว

      Game engine playlist

    • @Multilingualtricker
      @Multilingualtricker 6 ปีที่แล้ว

      Thanks, I looked through it but didn't see (from the title) one video that corresponded to the M matrix, V matrix and P matrix, but maybe I just need to look harder.

    • @JamieKingCS
      @JamieKingCS  6 ปีที่แล้ว

      All the matrices use the transformations (translation, rotation, scale, etc.) I cover in that playlist. It’s several videos though.

    • @Multilingualtricker
      @Multilingualtricker 6 ปีที่แล้ว

      Thanks!

  • @DavidDolynny
    @DavidDolynny 8 ปีที่แล้ว

    I can move my object matrix around, then I can rotate my object matrix, then I can move object again with the shared view matrix, then when I try to rotate the object with the shared view matrix (it rotates the object like in step 2, and doesn't rotate my object like its rotating the entire world with the object...?) I keep getting confused at this last step, any idea?

    • @JamieKingCS
      @JamieKingCS  8 ปีที่แล้ว

      +subconscious bias We could do a Google hangout sometime, and I can look at it. If you're interested, computersciencesurgeons@gmail.com

    • @DavidDolynny
      @DavidDolynny 8 ปีที่แล้ว

      +Jamie King That would be awesome, I will add you and message you sometime

  • @broski8314
    @broski8314 8 ปีที่แล้ว +3

    all those confusions just cleared in 15 min. I should've watched this video earlier..

  • @Timo-Epis
    @Timo-Epis 10 วันที่ผ่านมา

    where can i download this application?

  • @lolmo4
    @lolmo4 10 ปีที่แล้ว +4

    I want to understand this stuff so badly but the math is way over my head, I need to improve my math skills.

    • @JamieKingCS
      @JamieKingCS  10 ปีที่แล้ว +2

      Study they Game Engine Programming playlist rigorously. I cover the math in a very basic way in there.

  • @DlcEnergy
    @DlcEnergy 7 ปีที่แล้ว

    we're done here

  • @kennedycheskaki
    @kennedycheskaki 8 ปีที่แล้ว

    wheres the app we dont need the sources ?

  • @simeongbolo
    @simeongbolo 9 ปีที่แล้ว

    How would you calculate the xyz location of your camera in 3d space?

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว

      simeon gbolo There is a video in this playlist that shows how to do this.

    • @simeongbolo
      @simeongbolo 9 ปีที่แล้ว

      It's actually the location of the eye I was referring to. Your videos are amazing, thanks !

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว

      Somewhere in this playlist I walk through making a first person camera, and I show how the eye moves with the arrow keys and mouse.

    • @simeongbolo
      @simeongbolo 9 ปีที่แล้ว +1

      Found it! You answered my question in videos 55-59. Cheers!

    • @JamieKingCS
      @JamieKingCS  9 ปีที่แล้ว

      No prob!

  • @williamnash9886
    @williamnash9886 6 ปีที่แล้ว

    so game cameras don't move?

    • @JamieKingCS
      @JamieKingCS  6 ปีที่แล้ว

      Nope

    • @cocbuilds
      @cocbuilds 6 ปีที่แล้ว

      The camera is completely theoretical. At the end of the day, you're just trying to figure out what will go into your viewport based on where the "camera" is.

  • @JamieKingCS
    @JamieKingCS  11 ปีที่แล้ว

    Um...don't get too excited. :P

  • @awaken7602
    @awaken7602 8 ปีที่แล้ว +2

    整个中文字幕就更好了

    • @你大跌
      @你大跌 7 ปีที่แล้ว

      对对对

  • @ramyemenwel346
    @ramyemenwel346 7 ปีที่แล้ว

    could i take the code of this tutorial

    • @JamieKingCS
      @JamieKingCS  7 ปีที่แล้ว +1

      This entire playlist is on github. Click on one of the annotations after a few seconds into one of the videos where I do live coding.

    • @ramyemenwel346
      @ramyemenwel346 7 ปีที่แล้ว

      thank you, for your quick response. actually i'm working on my graduation project and i need to draw a grid or world and a centered camera like the one in this tutorial but i'm work on android so i want to know how to do this with openGl. could you help me.

    • @JamieKingCS
      @JamieKingCS  7 ปีที่แล้ว

      +Ramy Emenwel don't know android...but I have a shape generator in my github that would give you a grid.

    • @ramyemenwel346
      @ramyemenwel346 7 ปีที่แล้ว

      could you explain to me how this class works ?!

    • @ramyemenwel346
      @ramyemenwel346 7 ปีที่แล้ว

      this is my mail: remenwel66@hotmail.com

  • @chewhammer2213
    @chewhammer2213 ปีที่แล้ว

    are you the kahn acandemy guy

  • @dragansmoljan7917
    @dragansmoljan7917 8 ปีที่แล้ว

    yea, but the question is...WHATS IS IN THE BOX??????????????????