Depth Buffers and Ray Tracing

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

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

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

    I just wanna say Doc, as a gamer and enthusiast of graphic processing I am really enjoying your lectures. Thanks so much for posting and sharing information with the world. You’re awesome.

  • @mirko7446
    @mirko7446 4 ปีที่แล้ว +9

    Professor: "shadows are hard"
    Unreal engine 4+: "hold my buffer"

  • @robrick9361
    @robrick9361 6 ปีที่แล้ว +36

    Lecture start 4:42.

    • @think2086
      @think2086 4 ปีที่แล้ว +3

      @3:54 for true beginning, which includes the intro/review of where we are at as a setup.

  • @davifn6625
    @davifn6625 2 ปีที่แล้ว +6

    "It's a really efficient algorithm, but it can take forever" - 37:36

  • @muldertang221
    @muldertang221 3 ปีที่แล้ว +1

    If we do frustrum clipping in clip space, we just need to compare x with w to know if point is IN or OUT of Right plane. Same rules applied to top/bottom(y vs +/-w), near/far( z vs +/-w) and left plane(x vs -w). And everything in clip space is still linear.

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

    "sometimes people like to roll their own code, which is typically not how we do things anymore" dated 2014 AHAHAHA

  • @joepeters8746
    @joepeters8746 4 ปีที่แล้ว +13

    10 Years later we have realtime raytracing with rtx :0 38:30

    • @robrick9361
      @robrick9361 4 ปีที่แล้ว +5

      *realtime raytracing for simple geometry

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

    16:45 starts the part on depth buffers

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

    Tony Soprano would be curious about the fact there's a lot of clipping happening in the image space :)

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

    Hey what paper is he talking about?

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

      I think he is referring to "A characterization of ten hidden-surface algorithms" (Sutherland, Sproull, Schumacker)

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

    "image" space? isn't it called a NDC space? (i could've called it "clip" space instead, if he hadn't specified -1 and +1 limits)

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

      and this is at 8:50 (also, the previous "truncated pyramid" goes by the name "Frustum" :-) 👍

  • @rafaelgrigoryan9823
    @rafaelgrigoryan9823 5 ปีที่แล้ว +9

    shout out to nvidia rtx

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

    Shit goes down 24:36

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

    can somebody explain the divide through w=0 thing?

    • @Hanokei
      @Hanokei 3 ปีที่แล้ว +1

      I am not sure how it works exactly but what I thought is: if you consider the 2D visualization of xyzw where xyz represents horizontal axis and w represents vertical axis, you can easily say that any point we can take with w=0 will lay on the xyz plane and will create a vector from origin(v1). I created a vector from v2=(0, 0, 0, 1) which is a normal vector. dot(v1,v2) should be 0, therefore dot((0,0,0,1), (x,y,z,0)) = 0 confirms it. But I am not sure how you can get a different value and you can find that w is negative therefore you can produce a negative result from the dot product. Probably you need to do another z divide from a point that lays on the positive z axis. It would be great if someone could enlighten us.

    • @joepeters8746
      @joepeters8746 3 ปีที่แล้ว +1

      @@Hanokei What I know: In homogenious Space we need an additional 1 dimension to represent points from Euklidian space. Also the Vector (1,0,0) ist the same as (2,0,0), bec all points that lay on the same line are equal in HS. So when we would devide through w=0, in Euklidian Coordinate system it would go to conceptually infinity, but we cant represent an infinite point, exept through a vector, thats why vectors are represented with w=0 in HS. So we want to eliminate all points that have a negativ w, bc they would get proected filpped.

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

    datees this to 2009

  • @dorianmccarthy7602
    @dorianmccarthy7602 6 ปีที่แล้ว +2

    stop saying okay compulsively like a twelve year old girl

    • @Shivang4
      @Shivang4 6 ปีที่แล้ว +2

      Too late man he is retired already.

    • @worlddj1364
      @worlddj1364 6 ปีที่แล้ว +2

      Ken is not teaching anymore?!

    • @yb801
      @yb801 6 ปีที่แล้ว +14

      You can choose to not watch this

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

      okay