Tutorial 9 - Coordinate Systems in OpenGL

Поделиться
HTML-код
  • Опубликовано: 11 мар 2013
  • This tutorial describes the different coordinate systems that are commonly used when creating OpenGL programs. It's important, so watch it!
  • ИгрыИгры

Комментарии • 36

  • @NeevekEst
    @NeevekEst 6 лет назад +21

    This is the best OpenGL tutorial I have ever seen.

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

    This is the best introductory tutorial for OpenGL. Can't believe others couldnt elaborate it that easily.

  • @alexfreitag1881
    @alexfreitag1881 8 лет назад +2

    Amazing. Describes the most important concepts in a graphics class in 7 minutes rather than several hours of lectures.

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

    I have seen many tutorials on this subject but, this one is the most clean explanation among them. You deserve more attention. Bravo.

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

    This is the best tutorial for learning openGL even I am now study this in 2021. Thanks a lot Jeffry

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

    Clean, clear, and really gives understanding. 10/10, especially considering the time you did it in.

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

    After seeing this tutorial, it seriously frustrates me why most other tutorials don't explain this subject as clearly. In other words, really nice tutorial!

  • @kkirubanantham
    @kkirubanantham 8 лет назад

    Your videos are real good, keep up the good work.

  • @dn5426
    @dn5426 8 лет назад

    You're awesome you compressed a long text tutorial into 7min video!

  • @vikramadityakukreja4795
    @vikramadityakukreja4795 8 лет назад

    Seriously a very good tutorial ! Will watch your other vids as well. Thanks!

  • @umitaykurt852
    @umitaykurt852 8 лет назад

    Great tutorial , it helped a lot , thank you

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

    Great tutorials, thank you.

  • @weekipi5813
    @weekipi5813 3 года назад +1

    In reality what happens with the projection matrix is to transform coordinates to clip space, then from that they will be diveded to w to get to the NDC system. After having had NDC, there is even one more transformation to screen space, and that is when fragment shader start to execute.

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

    Good tutorial. Just wanted to mention one thing. The result of the multiplying the projection matrix with the modelview matrix is actually in clip-space. gl_Position therefore is in clip-space. After the vertex shader, OpenGL will perform perspective divide (dividing by w) to transform to NDC (followed by viewport transformation to map from NDC-space to screen-space). See www.khronos.org/opengl/wiki/Vertex_Post-Processing .

  • @hengyongming3676
    @hengyongming3676 2 года назад

    Thanks really helpful!

  • @snaker90
    @snaker90 4 месяца назад

    Clearly! Thank you!

  • @sunsunshine7607
    @sunsunshine7607 9 лет назад +2

    Thanks,it is the best tutorial

  • @researchandbuild1751
    @researchandbuild1751 11 месяцев назад

    I think we forgot to talk about the screen matrix...that projection matrix eventually has to end up on the screen. Seems we need another matrix to change projection to actual screen pixels.

  • @remuss7
    @remuss7 11 лет назад

    Thanks,man!

  • @AshwinKolhe
    @AshwinKolhe 8 лет назад +1

    Very well made tutorials! You should make tutorials on the recent Vulkan API as well.

    • @jeffchastine
      @jeffchastine  8 лет назад +4

      Thanks! I'll leave the Vulkan tutorials to you :)

    • @sanjeevakaalex
      @sanjeevakaalex 8 лет назад

      Hey Jeffrey, Thank you so much for these tut, only one question why have you stopped making more tutorial?

  • @sameerasalameh301
    @sameerasalameh301 9 лет назад

    you rock \m/

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

    I get that the camera never moves in the camera space, but the camera has a world space position, so does the camera actually move within world space?

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

      When you see any "movement" in world space (or even rotating the camera), it's the world that moves around the camera. I would say "It's not the spoon that bends, but you" - but that's been done :)

  • @sherminatorex
    @sherminatorex 2 года назад

    i am astounded at the intelligibility of is this video

    • @jeffchastine
      @jeffchastine  2 года назад +1

      Glad you liked it!

    • @sherminatorex
      @sherminatorex 2 года назад

      @@jeffchastine although there is still something i struggle to understand. does the camera have world coordinates ? Before referencing every object according to camera space, we need to set where the camera is situated in the world space ? am i right ?

    • @jeffchastine
      @jeffchastine  2 года назад +1

      @@sherminatorex Technically, the camera is always located at (0, 0, 0) and the world moves around the camera. But yes, if you think in the world coordinate system, your camera can have a location/rotation. For example, if you want your camera to be at (x=0, y=10, z=0) - or 10 units high - you would achieve this by shifting the entire world down by 10 units. It's a bizarre concept, but mathematically how things are working (if I understand your question correctly)

    • @sherminatorex
      @sherminatorex 2 года назад

      @@jeffchastine the thing i don’t understand is how do we do to set the camera at a certain point in the world space ? i understand that the camera has (0,0,0) coordinates in camera space but what about in world space ? If we place the camera at a certain point in the world space (can we ?), will it keep its « position » when we pass to camera space ? I don’t know if we can translate the camera juste like any vertex.

    • @jeffchastine
      @jeffchastine  2 года назад +1

      @@sherminatorex Remember, everything translates to camera space in the end. However, I understand what you're asking. If you want to move the camera around in world space (or give the illusion of it), then you have a separate camera matrix that represents the position/orientation of the camera. Then, multiply your stack by that. The end result is that you're moving the world around the camera.

  • @npip99
    @npip99 10 лет назад

    What happened to tutorial #8?

    • @jeffchastine
      @jeffchastine  10 лет назад +1

      It's there - it's an Index Buffer code example. Tutorial 8 - Index Buffer Code Example in OpenGL (code)