Quad & Oct Trees - Data Structures For Performance

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 26

  • @FilledStacks
    @FilledStacks Před 3 lety +7

    Nice. I used this for the collision detection the first time I had to build my own game engine. It significantly reduces the number of checks you need to do for a collision. EDIT: I write this before the use cases section haha! It works for errrrrthang you mentioned.

  • @ademord
    @ademord Před 3 lety +9

    Great concise and organized video. Also loved you marked the separate regions in the video.

  • @gaming4fun419
    @gaming4fun419 Před 2 lety +8

    Still waiting for the future episodes ;)

  • @gio3061
    @gio3061 Před rokem

    Legend, doesn't waste 1 second. Thanks!

  • @tompat9166
    @tompat9166 Před 2 lety

    Got it after 90 sec, excellent explanation. Thanks for the upload.

  • @wellingtoncarvalho1621
    @wellingtoncarvalho1621 Před 8 měsíci

    Awesome! Maybe a video about AABB Trees?

  • @matthieumoinvaziri9408

    It's a very good introduction with smart contextualisation ! Good job ! 👌

  • @AngusTatchell
    @AngusTatchell Před 2 lety

    Great vid! Very clear and a good steer for my first nbody sim

  • @FlareGunDebate
    @FlareGunDebate Před 6 měsíci

    I tried to store triangles in a quadtree and it was eh brutal. Any ideas on how to spatial partition a triangulation mesh?

  • @MDLeide
    @MDLeide Před 3 měsíci

    Nice video.

  • @slamsaren
    @slamsaren Před 2 lety +1

    @Kayle Thanks for a great video on a very interesting topic!
    I would love to see a video on Dual Contouring from you, if you are not familiar its very interesting even scraching the surface, its used as a technique to create meshes.
    Also if I may ask what is the background music?
    Regards
    M

  • @neoBiteWave123
    @neoBiteWave123 Před rokem

    ok good explanation i love it, but... how can i write the coding of the quadtree and octree. in essencial like a binary tree but every node has 4 nodes, ok but how can i write by the coding divide itself between 4 squares until of infinite only in the place where the random point is?

  • @310gowthamsagar5
    @310gowthamsagar5 Před 9 měsíci

    awesome content.

  • @lemonke8132
    @lemonke8132 Před 2 lety

    wow this video is great, subbed

  • @pixeldevlog
    @pixeldevlog Před 2 lety

    Thanks, awesome video

  • @browniris6289
    @browniris6289 Před rokem

    interested in the GIS bit, but you havent uploaded any episode. Do you plan on making them?

  • @parkerrex
    @parkerrex Před 3 lety

    Nice one Gish. SUBBED.

  • @codyheiner3636
    @codyheiner3636 Před 2 lety

    Quad/octrees vs kd-trees? What are the advantages of each, when do we choose one over the other?

    • @jonasschindler4628
      @jonasschindler4628 Před 2 lety

      As far as I understood it, kd-trees disect the underlying space in an arbitrary amount of partitions, thus k, whilst Quad/octrees are somewhat a subset of kd-trees, where the space is disected into exactly 4/8 partitions.

    • @codyheiner3636
      @codyheiner3636 Před 2 lety

      @@jonasschindler4628 incorrect good sir

    • @jonasschindler4628
      @jonasschindler4628 Před 2 lety

      @@codyheiner3636 Ohh what's the difference then? Would you mind to explain? Kinda got interested now!

    • @codyheiner3636
      @codyheiner3636 Před 2 lety +1

      @@jonasschindler4628 you should definitely check Wikipedia or some in depth videos for the details, but in summary: k-d trees oscillate between splitting by dimensions, e.g. split on x, then if still many points, split on y, and so on.. quad trees or octrees split on all dimensions simultaneously. And how they select the split location differs.

    • @jonasschindler4628
      @jonasschindler4628 Před 2 lety

      @@codyheiner3636 Ahh okay thank you will do that.

  • @handsanitizer2457
    @handsanitizer2457 Před 5 měsíci

    Wheres that future episode ? 😂

  • @mrspex7599
    @mrspex7599 Před 2 lety

    the music is annoying other than that cool!!

  • @sayochikun3288
    @sayochikun3288 Před rokem

    didnt know andrew tate also codes