i spent 3 days making an orb and it's the coolest thing i've ever done

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

  • @yoavsaporta7348
    @yoavsaporta7348 ปีที่แล้ว +95

    Spending 5 hours to find out you mixed up z and y is both the saddest and most relatable thing ever

    • @nivmiz0
      @nivmiz0  ปีที่แล้ว +21

      I died inside a little when I found it

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

      eat some sabich math man

  • @kickbaktube
    @kickbaktube ปีที่แล้ว +25

    Larry Cuda did this in 1977 to create the Death Star plans. He used an ancient PC and wrote his own renderer. We stand on the shoulders of giants 😁

  • @lesbiandawg
    @lesbiandawg ปีที่แล้ว +15

    Nice, I just needed a new orb to ponder, now I can make one

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

      Never can have enough orbs

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

    your orb has an overdensity near the poles. instead of casting lines down from one corner when distributing points on your triangles, which creates an overdensity near that corner, you could fix this by instead creating a triangular tiling of points on them, as the set of points r*(1-a/n-b/n, a/n, b/n) for all indices a, b >= 0 s.t. a+b

  • @Xerobound
    @Xerobound ปีที่แล้ว +18

    I prefer to subdivide a cube and normalize the vertices, because it's math my brain can wrap its head around much easier

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

      Yep! Only after doing all this math did I discover that was an option haha. I did this project without first looking up the optimal ways to generate the sphere mesh because I wanted to go in blind, and enjoy the process of figuring out the math myself.
      If you look in the description you'll find that I linked an article about different ways to generate a sphere mesh.

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

    I wrote a pretty good script that generates icospheres of custom resolutions and uses the job system + burst compilation not long ago, was pretty easy. the hardest part is the UV mapping of it, the seams are hard to mitigate. I ended up not doing UV mapping because of the seam problem.

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

    This video reminds me of Sebastian Lague's Coding Challenges, keep up the good work 👏

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

    Great Video but you should use the circle you generated at 1:50 to make a pop filter for your microphone.

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

      Point taken, next vid will be better haha

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

    great balls very cool

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

    this was painful... polar coordinates are your friend for anything involving circles.

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

      I think if polor coordinates are your friend for circles. Spherical coordinates must be your best friend when it comes to spheres.

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

    10/19 video i did not understand anything but haha circle

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

    the return of the king

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

    Computers can render spheres. Rasterization technique can't, but Ray tracing can.

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

    haha i’ve done almost the exact same thing, trying to make my own sphere in unity. You will probably find it easier to use sin and cos, since this is more or less exactly what they were invented for

  • @MaximusWard-z4g
    @MaximusWard-z4g ปีที่แล้ว +1

    this was painful... polar coordinates are your friend for anything involving circles.. Sebastian Lague.

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

    I love watching people make balls

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

    Great job. Proud of you

  • @-jfs22-
    @-jfs22- ปีที่แล้ว

    Why are you solving intersections between lines and a sphere? Why not just loop through different longitude and latitude (idk how else to say this) values using sin and cos to find the positions? You can also try normalizing points on a subdivided cube.

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

    Another interesting approach to this problem is using golden ratio spirals, aka. A Fibonacci Sphere :)

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

    Actualy... you can use ray trace to render perfect sphere😊

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

    very sphere

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

    Cool but you should know that your points are not equally distributed on the surface of the sphere

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

      Yep! This technique distributes points in a way that they clump up near the poles. In that way it's similar to the UV sphere. As I mentioned in the description, this isn't the most optimal way to create a sphere mesh, I did this project in order to learn and improve. If you want to create a sphere for your own purposes, and even vertex distribution is important to your, I've linked an article about the different techniques in the description!

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

    Sebastian Lague

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

    ORB

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

    Dude I just made a video about the same thing. You seem a lot better at maths than me though! I had to get my maths teacher friend to help me with my algorithms 😆
    Nice vid btw ❤

  • @Hack--rz1io
    @Hack--rz1io ปีที่แล้ว

    Im hiring you to write my scripts now

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

    this was a very fun video... but bro, please make your videos louder, i had both my youtube and computer volume at 100 just to be able to hear you

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

    если ты не заметил там квадрат...

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

    יואו סרטון חדש!