Planar Delaunay Triangulations | CAD From Scratch [16]

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 12

  • @nimcapcik
    @nimcapcik 2 місяці тому

    this is the only video that is worth watching about Delaunay triangulation. I also love the unique style. thank you!

  •  Рік тому +2

    Exactly this explanation + coding I am finding whole day... thank you!

  • @ductriquyen9157
    @ductriquyen9157 3 роки тому +4

    The playlist is perfect. Can I look forward to a video of you making a simple/complex CAM (Computer Aided Manufacturing) tool path. It's something I'm constantly learning and being exposed to.

  • @evgeniinekhoroshev8204
    @evgeniinekhoroshev8204 Рік тому +2

    It is a bit unrelated to CAD-like modeling, but is there an efficient way to build a Delaunay triangulation for 3D simplices (4 vertices forming a tetrahedron) and even ND simplices (ND-hypertetrahedrons)? It seems like the algorithm would be similar, I am just not quite sure about the condition of diagonal swapping. Instead of the conditions proposed by Sloan (COSA, COSB, etc), I derived a more general condition that a couple of triangles must swap a diagonal if the centers of mass of the new triangles are going to be further from each other than in the original triangles. I implemented such triangulation, it seems to give nice triangles in 2D case similar to the classical algorithm. Now I am stuck at a multidimensional case, I cannot prove that maximizing the distances from the centers of mass is equivalent to the original Delaunay condition. For those who might wonder why would I need ND-simplices - they are related to phase diagrams and naturally appear if I have chemical compounds A, B, C, D mixed together forming a mesh of compositions AxByCzDw with x+y+z+w = 1. Even more, some compositions are joined by an equilibrium condition (for example, a complex liquid composition coexisting with a complex solid composition) which is identical to having constraining edges.

  • @Alexander-bk6oy
    @Alexander-bk6oy 2 роки тому +4

    I'm doing a project where I have to find the MST with 205000 nodes with latitude and longitude coordinate, the only solution that I've found to avoid doing a complet graph is to implement this. I've tested your implementation with a part of my data and I don't understand why it stucks with some precise points ... Maybe we can discuss about this ? Thanks !
    PS : By the way don't forget to free you malloc/calloc

  • @Палитра
    @Палитра Рік тому

    Hi. Thanks for your video!
    How do you handle the case when point is located on an existing edge, which belongs two triangles?

    • @Палитра
      @Палитра Рік тому

      Now I know. The algorithm handle both point located within triangle and on triangle edge similarly. No modifications required

  • @true_xander
    @true_xander 5 місяців тому +2

    And here I am in 3:56AM watching how random guy has coded triangulation in ancient programming language. Why? Because I need proximity input mode for my VR keyboard.

  • @jaspa99
    @jaspa99 3 роки тому +2

    Very impressive content on your channel. Who are you?

  • @firesnake6311
    @firesnake6311 3 роки тому +1

    Wow awesome

  • @ЕвгенийСаратов-и5ю

    What books do you use to create your CAD?

    • @xmdi0
      @xmdi0  3 роки тому +3

      no books explicitly, mostly academic papers on the different topics (check google scholar). i do have 1 very good book on "old-fashioned" computational geometry: "Computational Geometry for Design and Manufacture" by Faux & Pratt which I found in a dumpster. PM me on discord for a electronic copy: pacelli#5727