How to Make 3D Fractals

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 1,4 тис.

  • @Flop_Studios
    @Flop_Studios 5 років тому +1727

    5:43
    Spawn of 2B2T The Oldest Anarchy Server in Minecraft, (2165 colorized)

    • @dimarichmain
      @dimarichmain 4 роки тому +52

      You're goddamn right

    • @Spiderfffun
      @Spiderfffun 4 роки тому +18

      WHY OK NICE GOOD...
      brain goes boom boom

    • @degiguess
      @degiguess 4 роки тому +47

      tHe OlDeSt AnArChY sErVeR iN mInEcRaFt

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

      It is good idea to build fractal in minecraft

    • @void6306
      @void6306 4 роки тому +19

      @@degiguess guys it’s fit, he said the thing

  • @naiknaik8812
    @naiknaik8812 5 років тому +6263

    I swear this was a 20 minute video.

    • @MusicalArmageddon
      @MusicalArmageddon 5 років тому +205

      i wish it was

    • @maija238
      @maija238 5 років тому +613

      It's one of his non-euclidean tricks

    • @leonhardeuler9839
      @leonhardeuler9839 5 років тому +73

      I’m confused too

    • @matijaaa
      @matijaaa 5 років тому +110

      It probably happens because you learn something new, which in turn, you think more time has passed since you started watching it

    • @Slekejkwls-1819
      @Slekejkwls-1819 5 років тому +17

      Yeah I have been seen this video before and I remember other things that now they aren't here.

  • @henryzhang3961
    @henryzhang3961 6 років тому +3447

    I like how vsauce-y the music is

    • @Dan_Mak_21
      @Dan_Mak_21 5 років тому +100

      Same. I was waiting for the "and as always, thanks for watching" at the end

    • @themafiagoose8338
      @themafiagoose8338 5 років тому +106

      reminded me of stranger things

    • @Xxassass1n021xX
      @Xxassass1n021xX 5 років тому +8

      Its crazy good

    • @alexlau5146
      @alexlau5146 5 років тому +35

      Just in case you want to hear more VSauce-y music, the composer of the usual VSauce-y music is Jake Chudnow

    • @alexlau5146
      @alexlau5146 5 років тому +4

      @Lenny McLennington I was thinking about Mark Watney at the moment and my brain kinda mixed the names lol

  • @AAAlpherior
    @AAAlpherior 4 роки тому +807

    Can I just say (barely even related to this video in particular): Isn't it kinda wild how much cool shit is on UA-cam just free to watch? There's just so much good STUFF out there. You really can't say you're bored and have nothing to do/watch in the modern day.

    • @official-obama
      @official-obama 3 роки тому +43

      you’re bored and have nothing to do/watch in the modern day.

    • @official-obama
      @official-obama 3 роки тому +17

      See?

    • @BagaSand
      @BagaSand 3 роки тому +13

      @@official-obama that was pretty funny ngl

    • @trickytreyperfected1482
      @trickytreyperfected1482 3 роки тому +18

      What's funny is that it's free and people complain about ads. Ads which can be skipped after 5 seconds (or 15 second ads that can't be skipped). Compare that to TV which you have to pay for and get 5 minutes of commercial for every 2 minutes of content.

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

      @@trickytreyperfected1482 I personally wouldn't use UA-cam without an AdBlocker anymore though

  • @methyllithium323
    @methyllithium323 5 років тому +544

    "since it can often take hours to render just a few seconds" in my experience it's more like
    "since it can take days to render just a single frame"

    • @Garwinium
      @Garwinium 4 роки тому +8

      f

    • @user-dh8oi2mk4f
      @user-dh8oi2mk4f 3 роки тому +30

      “since it can take years to render 1 pixel”

    • @Garwinium
      @Garwinium 3 роки тому +8

      @@user-dh8oi2mk4f gtx 560 moment

    • @user-dh8oi2mk4f
      @user-dh8oi2mk4f 3 роки тому +17

      @@Garwinium *laughs in integrated graphics*

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

      my experience is like
      “Since it can take 0.0001 seconds to render my 15-minute crappy videos”

  • @SFaPiL2
    @SFaPiL2 5 років тому +51

    whenever I feel smart, I just end up watching one of your videos and humble myself back to reality.
    You have my respect and praise

  • @riripebby
    @riripebby 6 років тому +4129

    it's a shame that particular one isn't called "The Broccoli"

    • @vamshivams5029
      @vamshivams5029 6 років тому +9

      Good one

    • @origamigek
      @origamigek 5 років тому +14

      My family calls that one the Wiskunde Kool (Math Cabbage), I might have started it

    • @mklztr4542
      @mklztr4542 5 років тому +5

      The bud

    • @lucavandenbrink4198
      @lucavandenbrink4198 5 років тому +3

      @@origamigek G E K O L O N I S E E R D

    • @Toughfey
      @Toughfey 5 років тому +5

      What kind of broccoli u eating?

  • @melnewdemon4873
    @melnewdemon4873 5 років тому +1599

    I wonder if you could make a cool music visulizer out of this

    • @labeurjahe4862
      @labeurjahe4862 5 років тому +52

      You most likely can.

    • @TonyKrZa
      @TonyKrZa 5 років тому +43

      Yes, one good example is Aleph0 - LeaF.

    • @dontknowdontcare1934
      @dontknowdontcare1934 5 років тому +10

      @@TonyKrZa link?

    • @TonyKrZa
      @TonyKrZa 5 років тому +31

      Here ya go.
      ua-cam.com/video/6WsM9ExX7Bg/v-deo.html

    • @junisulli7777
      @junisulli7777 5 років тому +29

      Not only that, The image itself can now reproduce a Sound of itself in a musical context!
      From the Creator of Mandelbulb 3D...
      www.skytopia.com/software/sonicphoto/index.htm

  • @forklyforkinsons
    @forklyforkinsons 4 роки тому +166

    ok so no one's talking about the amazing transition in 1:41?

    • @NachitenRemix
      @NachitenRemix 3 роки тому +5

      There is no transition xd its just a jump cut

    • @Wudjja
      @Wudjja 3 роки тому +13

      @@NachitenRemix they are talking about when Sullivan (the blue dude) opens the door and then the wall e scene after.

    • @cilgin-oyuncu
      @cilgin-oyuncu 3 роки тому +2

      YES . We don't talk. :)

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

      @@Wudjja aaaaahh that's true xD

  • @Techno-Universal
    @Techno-Universal 4 роки тому +199

    What’s amazing is how ray tracing actually dates back to 1982-1984 when the first 3D animations utilising ray tracing were produced and at the time it took hours to render each frame and they needed custom multi million dollar graphics supercomputer mainframe systems that were developed and designed by PHD holding computer scientists so the first animations utilising the technology were primarily tech demos and experimental/abstract/artistic in nature but by 1984-85 a large majority of 3D animated TV commercials were utilising the technology. However additional advancements in 1985-87 allowed for much more complex forms of ray tracing including transparent glass textured polygons with extremely realistic limited opacity reflections that could also be colour filtered to match the colour and texture of the glass itself! Also ray marching was also experimented with as early as the late 1970s as the technique was most likely utilised for the movie Tron that came out in 1982 and the technique allowed them to create extremely large and seemingly complex repetitive scenes with a surprisingly low level of hardware power used which still was a lot at the time due to how it utilised the full capabilities of the hardware to accomplish it! :)

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

      Noice!

    • @thecianinator
      @thecianinator 3 роки тому

      Is that glass thing how they did the stained glass knight in Young Sherlock Holmes?

    • @Techno-Universal
      @Techno-Universal 3 роки тому +1

      @@thecianinator
      If that movie was from the 1980s then they would of definitely used a graphics supercomputer for the knight but I believe the scene itself was still shot on film in a studio or on location! :)

    • @TheSuperNova994
      @TheSuperNova994 3 роки тому

      Wow that's a long comment (UA-cam servers go brrrrrr)

  • @ccricers
    @ccricers 4 роки тому +20

    I was learning ray marching a while ago and made a field of spheres like in the thumbnail. Then I added a sound library so I can play mp3s and made the spheres pulsate to the beat. Just made my own 3D sound visualizer that way

  • @SendyTheEndless
    @SendyTheEndless 5 років тому +40

    I love how when you have a repeating space like in the thumbnail, the object's reflections conspire with perspective to give a sort of harmonics effect. Also, your channel is fantastic (I can't even code, but it's fascinating!).

  • @harrytaller9403
    @harrytaller9403 6 років тому +482

    5:32 Formula to make cabbage.

    • @user-hj1dc2wp7v
      @user-hj1dc2wp7v 5 років тому +56

      It's a cauliflower

    • @theapexsurvivor9538
      @theapexsurvivor9538 5 років тому +7

      @@user-hj1dc2wp7v agreed, it's too "smooth" for broccoli. Though I've never seen cauliflower that full of blood/ketchup...

    • @Toughfey
      @Toughfey 5 років тому +4

      So that’s how vegetables grow!

    • @georgeruiz9211
      @georgeruiz9211 5 років тому +2

      @Brick No

    • @georgeruiz9211
      @georgeruiz9211 5 років тому +2

      @Brick Talk about it

  • @DarkShroom
    @DarkShroom 4 роки тому +2

    i've never actually ever seen anyone make fractals so beautiful, well done
    it's like this should be in some trendy game, it feels like you're in a VR computer world

  • @TheSyborgue
    @TheSyborgue 6 років тому +759

    Lol mind-blowing you won a subscriber on this one

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

    Dude I just got shivers running up my arms just watching this.

  • @Bunglay
    @Bunglay 5 років тому +41

    fractals have such an organic feeling... specially the broccoli one

    • @gorlix
      @gorlix 5 років тому +1

      i really want to eat it ....

    • @sharkcraft8568
      @sharkcraft8568 4 роки тому +7

      Fractals can be found all other the place in nature, that probably way

  • @VKA00376
    @VKA00376 4 роки тому +1

    Loving the mandelbroccoli set at the end!

  • @Drachensslay
    @Drachensslay 5 років тому +4

    This might be one of the best videos I have ever seen on UA-cam. Thank you for the rabbit hole you are sending me down

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

    it's amazing how far ray tracing has come; now we can do it in real time.

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

      Yes, though the only games that support it are very simple ones, and at low frame rates(100-) e.g. Minecraft

  • @SriNiVi
    @SriNiVi 4 роки тому +7

    Wow. Looks trippy. A side note to your brief on Ray marching. Ray marching uses Signed Distance functions, a simple Euclidean distance estimator, the Euclidean norm will be calculated.
    Also it would be great if you had given a precursor to Recursive primitives.
    Great video. Big fan.

  • @user-ic4gd9dp2e
    @user-ic4gd9dp2e 5 років тому +3

    I honestly didn’t really know what u were talking about, but this was interesting. I learned a lot about ray tracing and marching.

  • @kelyncrandall7452
    @kelyncrandall7452 5 років тому +55

    "This is why you'll see raytracing used in many animated movies"
    >shows footage from A Bug's Life

  • @bjornsundin5820
    @bjornsundin5820 5 років тому +19

    This is a very good video. It explains ray marching in a great way that's very easy for programmers to understand. Good job!

  • @mircoheitmann
    @mircoheitmann 6 років тому +55

    This is just amazing. I've just tried out some perspective projection from 3D space to 2D space a few days ago. Not very practical yet, but still an extremely interesting topic. You've got a new subscriber.

  • @guilhermegondin151
    @guilhermegondin151 5 років тому +2

    There's something in knowing how this was made that makes it even more satisfying to see.

  • @torenkindle9073
    @torenkindle9073 6 років тому +40

    This is a beautiful video! From the scenes to the audio choice, and the information make it great. I hope to see more from you in the near future!

  • @CorpseTongji
    @CorpseTongji 5 років тому +2

    why is this the dopest youtube channel

  • @unvergebeneid
    @unvergebeneid 4 роки тому +17

    4:37 Was anyone else like "whoa, those water surface physics are _amazing!"_ 😅

  • @birdwatching_u_back
    @birdwatching_u_back Рік тому

    This video has one of the highest coolness-to-video-length ratios I’ve ever seen. so dense but so so swag, gawd this is fkn neat

  • @randomcatdude
    @randomcatdude 6 років тому +618

    Just curious. What happens if you move the camera INSIDE the fractals?

    • @CodeParade
      @CodeParade  6 років тому +679

      Some fractals have hollow chambers inside, which work fine. But if you're inside a solid area, all rays 'converge' after 0 steps at their origin, so every ray has 'hit' the same point and the whole screen is just a solid color.
      Interestingly, color is defined for EVERY point in 3D: surface, inside, and outside. So when you slice a fractal in half, the interior usually contains cool patterns or more fractals in the texture itself. So even though you can't see anything in 3D, the 2D slices are still really cool!

    • @randomcatdude
      @randomcatdude 6 років тому +28

      @@CodeParade Interesting!

    • @yellowcrash10
      @yellowcrash10 5 років тому +18

      CodeParade Could you show this in a video? That would be very interesting to see!

    • @CodeParade
      @CodeParade  5 років тому +87

      Technically, Marble Marcher allows you to do this when you move the camera inside the fractal. Here's a little animation, though that fractal doesn't have an interesting interior: codeparade.itch.io/marblemarcher/devlog/62680/update-1

    • @petrosadamopoulos9550
      @petrosadamopoulos9550 5 років тому +9

      For some objects the distance function can allow negative values, but it's not the case for generalized distance marching. Same goes for derivatives of the distance function, which would be very useful if calculable for everything but don't integrate generically for this technique.
      Maybe @CodeParade uses negative distances in his little game where a transparent glass marble rolls on fractals. Using that you can march inside the marble and get refraction etc.

  • @lunar6562
    @lunar6562 5 років тому +1

    I dont have a single idea what your talking about but I love this.

  • @Twas-RightHere
    @Twas-RightHere 5 років тому +164

    1:39 Wait... You're telling me that isn't real footage of an island!?

    • @Royalty_lew
      @Royalty_lew 5 років тому +14

      Ikr!!!!

    • @lucaslucas191202
      @lucaslucas191202 5 років тому +4

      I just went to Iceland and I don't remember there being so many trees.

    • @MostafaAhmed-bp7ce
      @MostafaAhmed-bp7ce 4 роки тому +13

      Boi u wont believe how many scenery photos that is actually being just some 3D shit

  • @maukomauko4969
    @maukomauko4969 5 років тому +2

    I'm really far from programming, but you tell me so interestingly that I can't tear myself away from your videos!

  • @The-Urban-Goose
    @The-Urban-Goose 5 років тому +5

    Saw this and instantly knew you're the guy who made marble marcher. This is fucking amazing stuff, my man!

  • @user-og6ol2im7v
    @user-og6ol2im7v 5 років тому +1

    This is both beautiful and interesting. I had never seen or imagined such fractals.

  • @technichron
    @technichron 5 років тому +24

    4:14 an environment like this would actually be a torus-shaped space if it was 2D.
    P.S. I love your videos! This is a really cool video!

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

      Your username, I noticed, can be thought of as a hex-code for a color. So I went to a hex-to-color converter, and found that it is a slightly more saturated version of Sky Blue. The more you know!

    • @spiritusterra5688
      @spiritusterra5688 4 роки тому +2

      @@technichron I suspected that's what it was.

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

      And a Clifford torus in 3D!

  • @Dewey_the_25U
    @Dewey_the_25U 5 років тому +1

    I like your voice, you are very calming. Not as dry as I'd thought you'd be, based off the subject matter.

  • @drszekomode9914
    @drszekomode9914 4 роки тому +20

    me at 3am: i need sleep
    My brain: How to make 3D Fractals

  • @robertf1720
    @robertf1720 5 років тому

    This channel blows my mind every time. If you ever make a video game, it will probably make my brain cry, but a healthy cry.

  • @mykhailomoroz5296
    @mykhailomoroz5296 6 років тому +13

    Huh, its actually way easier to draw fractals than I thought, btw great video!

  • @melissarainchild
    @melissarainchild 4 роки тому +1

    A far cry from my humble attempts, where I rendered a piece of Manderbrot on a C64 (16 colors) and later an IBM PC (4 colors). I started the run and then...went for coffee, a lot of coffee...
    Thanks for posting...

  • @herculean616
    @herculean616 5 років тому +65

    Just waiting for my graphics card to strangle me while watching this.

    • @MyaTimes4
      @MyaTimes4 5 років тому +18

      Thing is,this is really easy to compute from what I grasp from the video. Your card would probably be taking you out for a drink on the house after using this kind of rendering

  • @deepnofin
    @deepnofin 5 років тому +2

    Ohhh, man... It's not easy to read the subtitles when there's so beautiful things to see at screen...
    You blew my mind, with this video and "Marble Marcher".
    Congrats, you're the Future, i think !!!! Can't wait to see it :D ♥♫

  • @skreamer1212
    @skreamer1212 5 років тому +3

    Wow, it would be amazing to see a videogame where everything is made out of fractals!

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

    Minecraft is literally the only game that still uses straight up quads through the ancient GL pipeline instead of triangles, fun times when you're dealing with undefined behaviour. Great video :)

  • @lev7509
    @lev7509 4 роки тому +9

    Correction: the space created by adding a modulo operator is a 3-torus, not a cylinder. Because the wrapping is happening in all 3 directions.

  • @jmalmsten
    @jmalmsten 5 років тому +1

    From the brilliant ending of Annihilation to this. 3D fractals are simply mesmerizing! :D

  • @orlevene9964
    @orlevene9964 5 років тому +72

    Like calculous I'll probably come back to this video in a few years to understand it...

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

      Understand it now?

    • @sophiie.837
      @sophiie.837 3 роки тому +1

      @@jekkey holy shit i didn't realise the comment was years ago-

  • @adealtas
    @adealtas 4 роки тому +1

    Alright I didn't expect to learn about ray-tracing but Im glad I did

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

    Wow, that was brilliantly done. I'm making my own music videos with 3D fractal for youtube, using Mandelbulber software, and while I'm learning lots on the way about the fractals themselves, I never quite grasped ray marching and DE and some other aspects you went over. I read up on them but didn't quite get it, but explainations you narrated on here, with great graphics, were so clear and well done. Thank you very much! Liked and subscribed and this is on one of my playlists too! :-)

  • @v44n7
    @v44n7 5 років тому +1

    Your video is just beautiful. 4:01 I can imagine flying around in VR for hours. same goes for 6:45. Fractals looks so weird for us, its like, we are looking something really new for the first time in human history! keep it going with this video!

    • @v44n7
      @v44n7 5 років тому +1

      in 6:45 all those structures are fractals right? It really shows that not all fractals are self similar
      It keep my thinking, is posible to use Fractals to simulate molecules interactions? Like having a algorithm that works on a protein structure and transform it to a fractal, then works It out with Fractals to bind It to other Protein structure. so when you have a match you transform It back to proteins structure. You then would you have a protein that can bind to the second protein. If it works It woud really help to make antibiotics or other biological stuff in general
      I am notsure If this makes sence, but I just saw It on my head watching your video!

  • @InconclusionInc
    @InconclusionInc 5 років тому +9

    Welcome Back, Sethbling here.

  • @YTIR1
    @YTIR1 5 років тому +1

    thank the universe for the many people who brought this technology over the years! Thank you for this video

  • @marc278
    @marc278 5 років тому +27

    This is like doing the 1 of every block challenge map in Minecraft

    • @killingtim2
      @killingtim2 3 роки тому

      Except you wouldn't get the exact view in the thumbnail because there would be no block under you...

    • @marc278
      @marc278 3 роки тому

      @@killingtim2 thanks for reminding me this comment existed

  • @Nietzsche_K_Gote
    @Nietzsche_K_Gote 5 років тому +1

    You are my favorite thing on the internet since a week.

  • @hugosan2
    @hugosan2 5 років тому +4

    Man your work is sooo interesting, i could never thank you enough for sharing this with us !!!

  • @ersia87
    @ersia87 4 роки тому +2

    Ray marching, you say? Super interesting. While stydying CS I got really inspired into trying to write my own 3D engine. I thought I had come up with a somewhat complete picture of the basics, but apparently there were some things I haden't thought of. For rendering my first intuition was what you call ray marching. But I did it the naive way. I quickly realized this was unrealistic, so I googled ways to check line intersections and landed on ray tracing and that's where I stopped. The engine runs in maybe 30 fps but at a fifth of HD-resolution and without any bells and whisstles.
    Now I really feel like picking this up again and trying your version of ray marching, or alternatively going for the conventional rastering.

  • @ramelbusto1011
    @ramelbusto1011 5 років тому +611

    I thought it said
    “How to make 3D Friends”
    :(

  • @betabenja
    @betabenja 5 років тому

    I clicked on one of your videos once. After that, there's always an interesting video in my suggested next videos. It is always by you.

  • @quads4407
    @quads4407 5 років тому +118

    This is why I love math

    • @Phelan666
      @Phelan666 5 років тому +19

      This is why I love meth

    • @_simon.s_
      @_simon.s_ 5 років тому +3

      Says no one ever
      JK, I love Math

    • @OrangeC7
      @OrangeC7 5 років тому +1

      This is why I love math

    • @Kleph.
      @Kleph. 5 років тому +1

      This is why I fear math. Wtf is going on here??? I'd much rather read about the ideas of long-dead europeans :(

    • @Cb-vg8gm
      @Cb-vg8gm 5 років тому +1

      @@Phelan666 meth is fuckn godly it has me up all night straight learning everything. Shrooms too

  • @HansLemurson
    @HansLemurson 4 роки тому +1

    It's amazing how much crazy symmetries can be seen even in the humble cubic lattice. And then you go on to spoil us with fractals!

  • @Zerossoul
    @Zerossoul 5 років тому +69

    The worst part of the video was when it ended.

  • @Souldamnation13
    @Souldamnation13 5 років тому

    Voice is comfortable, gives out alot of good info, explain with very simple understandable graphics. Subbed

  • @-fish-3316
    @-fish-3316 5 років тому +160

    The thumbnail looks like minecraft skygrid

    • @alexr6527
      @alexr6527 5 років тому +14

      Ikr I looked at It and got instant nostalgia

    • @whythosenames
      @whythosenames 5 років тому +12

      PAPA STALIN that is why everyone clicked on the video

  • @justinniederhauser1543
    @justinniederhauser1543 5 років тому +1

    This might have been the most beautiful thing I’ve ever seen

    • @spyorgclubbord9520
      @spyorgclubbord9520 5 років тому

      Justin Niederhauser I think you might want to look into psychedelics

  • @voxelfusion9894
    @voxelfusion9894 5 років тому

    Amazing video!
    Just a small correction at 6:20, the sun is a point light at that distance, however the atmosphere diffuses the light, which is why we get soft shadows. On the moon there is no atmosphere, which is why photos there do have hard shadows.

    • @CodeParade
      @CodeParade  5 років тому

      The atmosphere has little effect on shadow sharpness other than making them brighter. Shadows on the moon are just as soft as earth if you look at the photos. And if you ever watch a solar eclipse, you'll see that your shadows get sharper and sharper as more of the sun is blocked.

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

    It’s amazing to think that while during a strong psychedelic trip your brain can do all this rendering instantly without even thinking about any of the math it just creates these amazing fractals

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

    This is the sixth time I've watched this and I think I understand it now

  • @bit2shift
    @bit2shift 5 років тому +7

    2:35 The folks at Shadertoy typically call these _distance functions_

  • @timsefrin1471
    @timsefrin1471 5 років тому +1

    Wow, impressive! I would really like to see a programm, where you can explore fractals with this kind of detail.

  • @MaxSMoke777
    @MaxSMoke777 5 років тому +4

    Please make a VR version that allows us to easily tweak the math bits and change formula. Fractals in VR are mind-blowing, but there's been only a few programs made. Only the one that allowed for serious transformations was made for the Oculus DK2 over 5 years ago.

  • @aodfr
    @aodfr 4 роки тому +2

    ill have to take a look a raymarching in the future. right now im focusing on real time raytracing

  • @MaleficusPhasma
    @MaleficusPhasma 5 років тому +8

    "...random colours look trippy, but maybe thats for the best" that is sitting heavy with me...

  • @nobu9705
    @nobu9705 5 років тому +1

    Awesome production. Didn't think I'd take away so much!

  • @beesong2729
    @beesong2729 4 роки тому +6

    CodeParade: ray tracing is slow and is generally only used in movies
    Nvidia: *laughs in RTX*

  • @autumnleaf8483
    @autumnleaf8483 Рік тому

    Bro doesn't even ask for subs (that's the people who truly deserve it).

  • @swapnamoy6134
    @swapnamoy6134 3 роки тому +7

    It would be really scary if I got lost in some planet with this kinds of terrain.

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

    Dang this made me want to learn way too much about fractals and ray marching

  • @nikzam4368
    @nikzam4368 5 років тому +9

    please make your videos 4k, it would be beyond amazing

  • @giantisopod
    @giantisopod 5 років тому

    Extremely cool! I didn't know this technique yet, I always thought it was much more complicated. Great explanation, short and to the point.

  • @Elca_Gaming
    @Elca_Gaming 5 років тому +174

    How do I run it? I have no idea how to open these files and run them...

    • @dioszegizoltan4493
      @dioszegizoltan4493 4 роки тому +60

      download and install python, open up CMD, go to the downloaded folder, run pip install -r requirements.txt and then start run.bat

    • @Queezz
      @Queezz 4 роки тому +6

      Bro...

    • @joseluiscuervolopez-mora1814
      @joseluiscuervolopez-mora1814 3 роки тому +41

      @@dioszegizoltan4493 HAHAHA 99% failure rate for non py users

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

      @@dioszegizoltan4493 What if I'm on MacOS and I can't run batch files? Is this just meant for Windows? :(

    • @dioszegizoltan4493
      @dioszegizoltan4493 3 роки тому +5

      @@strelkazorz you still can. instead of running run.bat navigate to the downloaded folder in the terminal and type python ray_marcher_demo.py (if it doesn't work try python3 ray_marcher_demo.py)

  • @gwyn.
    @gwyn. 5 років тому

    I have absolutely no idea how everything you said works but it’s interesting.

  • @holyn8
    @holyn8 5 років тому +8

    one day you will realise that reality itself is fractal even the psyche is

  • @thepotatoof4219
    @thepotatoof4219 4 роки тому +1

    Huygens would be proud seeing that Ray Marching technique.

  • @gaving.griffon2703
    @gaving.griffon2703 6 років тому +11

    Ray marching sounds like an amazing technique. But also seems hard to code... (especially for more complex models like say a human character)

    • @DasAntiNaziBroetchen
      @DasAntiNaziBroetchen 6 років тому +11

      Not harder to code, but completely impractical for any natural object like a human.

    • @nullvoid3545
      @nullvoid3545 5 років тому +2

      just build it out of molecule like spheres, more spheres = more detale, and the minimum distance estimate = the resolution.

    • @DasAntiNaziBroetchen
      @DasAntiNaziBroetchen 5 років тому +4

      @@nullvoid3545 Except that's slow as fuck as the sphere's aren't distributed on a grid or something.

  • @asfnobambu
    @asfnobambu 4 роки тому +2

    Really love fractals since 1989 or so. But you added a new layer of beauty !! Thanks :-)

  • @philthephilosopher9235
    @philthephilosopher9235 4 роки тому +4

    The fractals remind me of some weird landscape you'd see in an existential sci-fi movie.

  • @RetroPlus
    @RetroPlus 5 років тому +1

    This is right up my alley, its like a perfect abstract art generator. Shame my PC is awful.

    • @RetroPlus
      @RetroPlus Рік тому

      @@VeganPete Good to know

  • @ashmarie5049
    @ashmarie5049 4 роки тому +7

    I don’t think I’ve ever heard anyone say “beautiful mathematics” but I really appreciate it, even though I don’t agree😂

    • @boppe2235
      @boppe2235 4 роки тому +1

      Look into the Mandelbrot set, its the flagship of beauty in math

    • @ashmarie5049
      @ashmarie5049 4 роки тому

      BOPPE I won’t understand it even a lil but I certainly will! Thanks for letting me know:)))

  • @stuartandchris
    @stuartandchris 5 років тому +1

    thank you so much for this, you have just saved me a lot of work. i will always credit you for this. from looking at your code i have the greatest respect.

  • @GhotiCan
    @GhotiCan 5 років тому +62

    0:08 that's the dankest weed I've ever seen

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

    So beautiful. Also the music sounds like the stranger things theme at 3:50

  • @raffia16thblaze10
    @raffia16thblaze10 5 років тому +37

    wonder if it would be possible to make this into an addon for blender.

    • @digital_down
      @digital_down 5 років тому +6

      Raffia16th Blaze was thinking this the whole time while watching. I’m sure it’s possible.

    • @David-uc4hc
      @David-uc4hc 5 років тому

      I think the guys on the Mandelbulb project have created some plugins.

    • @cendresaphoenix1974
      @cendresaphoenix1974 4 роки тому

      We could have had an entire engine focusd around this but everyone got overly defensive about it

    • @ultimaxkom8728
      @ultimaxkom8728 4 роки тому

      @@cendresaphoenix1974 _"Overly defensive"?_ _"Everyone"?_ How so?

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

    This is such a good video i watched it when it first came out and ive thought about it a bunch since

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

    0:15 Cool fractal and i can see iteration limit. Do you see?

  • @awayfrombrains9726
    @awayfrombrains9726 5 років тому

    Mind-blowing since the moment you started talking about grafics, actually. Though I am rather impressed, that someone can be so good at talking about that. Maybe I am not clever enough to understand that, but you definetely got a like and a sub for uploading this video on UA-cam.

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

    Raymarching is probably a better “3D version” of raycasting than raytracing, since raycasting only checks for ray intersections at the places where they could be (at the edges of cells in the map) instead of testing for intersections with every single cell in the map, similar to raymarching

  • @joechrisman217
    @joechrisman217 4 роки тому +1

    This is such a good explanation on how this works, u earned a sub for sure

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

    4:10 "into a cylindrical one" very hyper-torus-y cylinder you have there...