Hi everyone :) Not sure if this was clear from the first video, so to preempt any possible confusion about how this episode connects to the hydraulic erosion one -- it doesn't! The plan for this series is just to explore a variety of topics as I discover/become interested in them. So while I'll definitely be returning to the erosion project, there'll probably be a bunch of random stuff before then. With that said, I hope you enjoy the video! And as always, links to my project files, as well as the resources I used to learn about this stuff are all in the description.
I'd be intrested to see more about the erosion project. Might be interesting if it worked toghetter with the Procedural landmass generation in some way.
Ray marching is super interesting! As is this series. I've learned a lot from you over the years, so thank you mate. I also had a ton of fun working on a fork of the Path Creator project 2 months ago, check it out if you have some time :)
What you are doing with this series is fantastic, intuitive, and very entertaining. I love the improvisational nature of it where any given episode isn't related necessarily to the last. With each release, I find myself enthralled in your new project and in admiration of your curiosity. Keep up the incredible work! And thank you!
Sebastian Lague has to be my favorite coding youtuber. Its just the fact that all of his coding adventures are so interesting, entertaining, and most importantly inspiring.
Seb I watched the entire video with my jaw dropped because I have no idea what the hell you're doing. You've truly transcended into Ultra Instinct. Proud of you man 😭 also, request: can you visualize 3D ray marching like you did 2d?
Hey don't feel too bad, while I get a lot of these "free" calculations and renders are the result of caching the results of the technique and then coding stuff with those cached results, I can't visualise the actual code using those cached results in my own head.
Expected the video to be trendy clickbait, learned about ray marching, clicked subscribe. As other comments have said, really nice format! No over-complication, just clear explanations backed by simple and easy to understand examples. Nicely done!
I watched this video 3 month before and had no idea what you talking about. But during the time I started to learn some basics about shader and ray marching, now by rewatching it, I found myself able to understand it and even comprehend some math logics you've used for certain effects.
Man, I don't usually comment on youtube for quite obvious reasons, but your channel is amazing. As a serious competitive programmer for four years and discrete algorithmics student, I can say that your videos are a truly incredible blend of theory and actual codings. A lot of kudos
I don’t understand how you can make a video that cool looking, yet at the same time super informative... And it’s just 5 minutes! That is really impressivez Thank you.
I was looking for this comment! I know the visual person or whoever made a lot of the shapes very mathematical. Like the flowers and the mold were fractals. So I bet it was planned and the alien was that shape!
By far the most easily understood Ray Marching video I've seen! I love the was you showcase code examples in a non-intrusive way, but still enough to get a basic understanding,
Woah, Sebastian! 8D Most of the images in this video were incredibly satisfying! Thank you so much for diving into these adventures, and for sharing them with us
Wow, this was really phenomenal! I like this format because you can experiment without being forced to slow down for long explanations and tutorials. That being said, I'd be thrilled if some of these videos turn into a tutorial series!
NO! If a recruitment agent gets him, no more this kind of videos. Company secret. Fuck Marvel and CGI studios!!! For someone is a lifetime opportunity and for others is slavery to trade secrets and other corporative BS. A similar thing happened to some YT channels.
You're an inspiring person my man, I'm not on this level of coding but the things you do just captivate me. Love to see more of these videos maybe even longer videos either way I'm here and entertained
I'm still relatively new to programming and these coding adventures are refreshingly creative. I'm loving every second of these. Can't wait for the next one.
Dude I love these videos. Any tips for someone to get started with such topics? I have extensive "standard" software engineering knowledge, but really no idea about graphics and all the other cool stuff you do.
I've only recently started in unity and learning coding. It's wild how only a short time ago I didn't understand most of anything you were talking about for code, or what I was seeing, but I thought things were interesting. Now I get little inklings of clues as to what is going on. I can't wait to keep on learning, and then eventually mess around with code in the same way you do!
it probably isn't too hard just to do a really basic opengl renderer and throw in imgui, with some inputs hooked to shader constants--then again raymarching is all in the fragment/pixel shader (whether you're an opengl or d3d guy!!) If you wanna get started on raymarching you can use shadertoy.com -- it sets up all the opengl stuff behind the scenes and lets you just write fragment shaders
this stuff is extremely interesting. thank you for showing us all the experimentation results! i hope that once i have more time in my life i'll be able to mess around like this too
Amazing Sebastian! I'm glad I stumbled across your videos! You have sparked creativeness in my brain! I hope to show you something you have inspired some day!
Rendering an object as only the intersection of two metaobjects (or whatever they'd be called) seems like a really good way to do crazy stuff with the 4th dimension
If you know the ellipsoid method for solving linear systems, it provides a nice way of reducing the number of iterations on near-misses / almost parallel hits of flat surfaces (i.e. only works with boxes). If you don't know it, it (linearly) transforms flat shapes so that the closest one always stays at the same distance, while preserving volumes. This is the sames as squishing the distance sphere near flat surfaces to a pancake, so that you can move farther parallel to the surface in a single step.
Woooooah. That 3d fractal had me mesmerised indeed. That's a direct sub my dude, amazing content, great format, nice presentation. Keep it up, you're good!
I was never great at maths. But maths and design intersect on a level that makes me marvel. To me, a religious person, it feels like the design of the universe is so mathematic. Watching these is like watching a sermon xD. But better tbh. Gorgeous work.
Ok mate if you're enjoying this format, you just found the niche. Everyone seems to be loving it (me included) so if you're into it as well, keep it up! (I used to watch your videos 'at some point' when it popped up in my feed, on the second day and so on, but now I am going straight for it, pretty much like I do with Primitive technology ..)
Ray marching is cool, I particularly like Ray marching based and casting hybrids for voxels, which marches one distance each step, then tests intersection of the eight surrounding cubes, making a relatively speedy Ray casting engine for rendering voxels.
Love the series! It is introducing me to so many topics that I didn't know about but find super interesting. Your serious has inspired me to try out some of my own ideas with ray tracing. I'm eagerly awaiting your next video!! 😁
I created an "Interesting stuff" list in my youtube account after i watched one of your videos, then i kept watching and watching and finally, i realized that i can save time by just adding your entire channel in my pocket (its a chrome extension) list. really really impressive stuff, most of your videos deal with nearly same topics, i might be wrong i know nothing of maths, but if there are few things that will give so many capabilities, what are they ? can you make a video to give us certain topics that will give us such things ? not a tutorial just a list of things to learn, from a complete idiot beginner level. it's just that i use unity and you do too, but you do way way more interesting stuff than my crap work, I also really appreciate you making your work open source, thank you man.
Just what I was looking for! Currently prototyping a game that deals with clay and needed to figure out how to blend geometry seamlessly. This will be helpful.
This is so cool this stuff very mesmerizing, really enjoying these videos ignites my passion for coding. Which I need for uni at the moment cause of the coding we are doing
Hi everyone :) Not sure if this was clear from the first video, so to preempt any possible confusion about how this episode connects to the hydraulic erosion one -- it doesn't! The plan for this series is just to explore a variety of topics as I discover/become interested in them. So while I'll definitely be returning to the erosion project, there'll probably be a bunch of random stuff before then.
With that said, I hope you enjoy the video!
And as always, links to my project files, as well as the resources I used to learn about this stuff are all in the description.
S'all good, man! you can make a video on any topic and it'll still be a joy ride.
I'd be intrested to see more about the erosion project. Might be interesting if it worked toghetter with the Procedural landmass generation in some way.
Ray marching is super interesting! As is this series. I've learned a lot from you over the years, so thank you mate. I also had a ton of fun working on a fork of the Path Creator project 2 months ago, check it out if you have some time :)
Is there any chance you'll finish the ai series? The start of it was really great!
What you are doing with this series is fantastic, intuitive, and very entertaining. I love the improvisational nature of it where any given episode isn't related necessarily to the last. With each release, I find myself enthralled in your new project and in admiration of your curiosity. Keep up the incredible work! And thank you!
That pythagoras animation had me in tears
I actually LOL'd, which I rarely do
Pythagoras, the master programmer.
same lol
me too 😂 didn't see that coming
Slap slap
Your visuals are so nice looking! I'm interested to see what else you do with ray marching :)
Thanks, means a lot coming from you! I’ve had so many people recommending your videos in the comments, and I can see why - your work is incredible.
Hello cp! Btw your non euclidean engine could of been done in quake live since that game has seamless portals.
It would look so good in marble marcher👀
hello code parade i was just thinking of you for some reason lol
Aren't you the guy who made an entire game out of ray-marching fractals?
I really like this format of videos. As usual awesome
Thanks, happy you like it! :)
Sebastian Lague has to be my favorite coding youtuber. Its just the fact that all of his coding adventures are so interesting, entertaining, and most importantly inspiring.
those 2d visualizations showing how the algorithms work are awesome. (the rest of the video too)
4:30
"Dormammu, I've come to bargain!"
Exactly what it reminded me off
I wonder just how many particle and smoke effects in VFX for movies are based off fractals.
@@ccricers I wonder are they writing codes when making CGI.
Lol
HA
Seb I watched the entire video with my jaw dropped because I have no idea what the hell you're doing. You've truly transcended into Ultra Instinct. Proud of you man 😭
also, request: can you visualize 3D ray marching like you did 2d?
Hello jabrils
Thanks :D
Had a quick go at your request. It's a little ugly, but take a look here ua-cam.com/video/0J8tKGjEE5Q/v-deo.html
@@SebastianLague wow that's awesome
Love to see you here Jab!
Hey don't feel too bad, while I get a lot of these "free" calculations and renders are the result of caching the results of the technique and then coding stuff with those cached results, I can't visualise the actual code using those cached results in my own head.
This format made me activate the bell. Keep up the good work!
It feels so good to hear you say "I have no idea how the code works, but..." :D
Some technique like this one was used on the movie “Annihilation” for the alien life form, pretty spectacular
I don't understand anything in this video
But still enjoy it
Pretty shapes and colors!
Same
Your videos are amazing-the visualisations are so clear and easy to understand!
Thank you for sharing this with us, it's very helpful and inspiring.
Thats so fucking cool. And I agree that object blending is satisfying as hell. Keep up these amazing videos
object blending would be so useful for blending meshes!
02:49
HOLY VOLUMETRIC BOOLEANS
OMG
THIS IS BRILLIANT
Expected the video to be trendy clickbait, learned about ray marching, clicked subscribe. As other comments have said, really nice format! No over-complication, just clear explanations backed by simple and easy to understand examples. Nicely done!
You could use the subtraction technique at 2:47 for making your clouds interact with the mountains and not go through them
isn't it crazy how this went from a small little project channel to one of The Big Ones
Absolutely mind boggling! This kinda reminded me of old-school CSG in raytracing
Thank you for being such an amazing and generous person Sebastian!! The world needs more people like you.
4:23 rgb version of what you see when you press down on your eyeballs
I watched this video 3 month before and had no idea what you talking about. But during the time I started to learn some basics about shader and ray marching, now by rewatching it, I found myself able to understand it and even comprehend some math logics you've used for certain effects.
This is so cool to render boolean surfaces at real time ! Loved it !
Man, I don't usually comment on youtube for quite obvious reasons, but your channel is amazing. As a serious competitive programmer for four years and discrete algorithmics student, I can say that your videos are a truly incredible blend of theory and actual codings. A lot of kudos
That 2D sphere tracing looks so awesome!
You are amazing teacher. I love how you focus on foundational functions to express conditional intersections and blends!
The eerie music was from one of my favourite games, Mindustry! **happiness noise**
Realy?! I didn’t even notice!(also very happy I found a fellow comrade here)
I don’t understand how you can make a video that cool looking, yet at the same time super informative... And it’s just 5 minutes! That is really impressivez Thank you.
4:30 this looks like the extra terrestrial being from Annihilation
It does! That movie was awesome
I was looking for this comment! I know the visual person or whoever made a lot of the shapes very mathematical. Like the flowers and the mold were fractals. So I bet it was planned and the alien was that shape!
That extra terrestrial being was based on the mandelbulb! Same thing
By far the most easily understood Ray Marching video I've seen! I love the was you showcase code examples in a non-intrusive way, but still enough to get a basic understanding,
Ahh, I see you have discovered the special effects from Annihilation
Was definitely my first thought too; was such a cool effect.
What do you mean
@@Zi7ar21 The movie Annihilation. The alien object looks almost exactly like the mandelbulb.
@@ShimrraJamaane I just searched for the scene and it appears that it is indeed a mandelbulb, with some transformations applied to it
@@Zi7ar21 I'm glad I now know the name for what that thing is. I want to render an hour long version of that and use it for my Zoom background :)
Awesome video dude. I love how you include all those steps, the many visualizations, the stuff you played around with (like 3:49).
so.. after ray marching comes ray jogging? ray sprinting? ray marathon? ray expedition racing?
ray podracing
Ray cross country.
Woah, Sebastian! 8D
Most of the images in this video were incredibly satisfying!
Thank you so much for diving into these adventures, and for sharing them with us
OMG just imagine the "3D Mandelbrot" thing implemented for VR! It would be trippy af!
0:17 I'm sorry but this is the funniest thing I've seen all week
You already had my like when you put Pythagoras tapping away at a laptop
4:23
"Dormamu! I've come to bargain"
4:33 Dormmamu, I have come to bargain
The fact that, all this stuff is done though code is itself mind blowing..
4:21 it the furnucking thing from annihilation.
that what i wontet to say
Beautiful. Especially the visualisation of the Mandelbrot bulb has some otherworldly beauty to it
"I messed around with it for a little bit"
*do something I really need to improve my gaming development skills in such an easy way*
Very clean format. One of the easiest to listen to youtube tutors as well. Keep up the excellent work
The 3D Visualisation of the Mandelbrot set reminds me of the film, Annihilation.
WARRRPP warp warp bum BRRRUUUUUM
You are a genius, this visual are insane : thank you so much to share your experimental work with us, it is truly inspiring
YES PLEASE, I don't mind having another 3Blue1Brown in my life
Wow, this was really phenomenal! I like this format because you can experiment without being forced to slow down for long explanations and tutorials. That being said, I'd be thrilled if some of these videos turn into a tutorial series!
Congratulations. You can now apply to become a visual effects artist for Marvel. That mandlebulb looks exactly like the quantum realm!
NO! If a recruitment agent gets him, no more this kind of videos. Company secret. Fuck Marvel and CGI studios!!! For someone is a lifetime opportunity and for others is slavery to trade secrets and other corporative BS. A similar thing happened to some YT channels.
You're an inspiring person my man, I'm not on this level of coding but the things you do just captivate me. Love to see more of these videos maybe even longer videos either way I'm here and entertained
I'm a simple man.
I see 3D fractals, I click.
I'm still relatively new to programming and these coding adventures are refreshingly creative. I'm loving every second of these. Can't wait for the next one.
1:21 "we'll start by calculating distance to the scene". What does that mean?
I think is the distance from your point to the nearest point in the scene.
@@diegomendes1998 Yup, for a given 3D start point and direction (ray), you have a function that returns the distance to hit (distance function).
My jaw dropped at the object blending, and then you completely blew my brain out with the mandelbulb visualisation! So simple, yet so beautiful.
It makes me sad that I will never be able to play with the shapes from 3:18 because it is physically impossible
Omg! These raymarching simulations are pure gold. I really enjoy every single video of coding adventures.. keep it up Sebastian
Dude I love these videos. Any tips for someone to get started with such topics? I have extensive "standard" software engineering knowledge, but really no idea about graphics and all the other cool stuff you do.
Yeah these coding adventure videos make me wanna play around with stuff like this as well but im not sure where to even start ...
I've only recently started in unity and learning coding. It's wild how only a short time ago I didn't understand most of anything you were talking about for code, or what I was seeing, but I thought things were interesting. Now I get little inklings of clues as to what is going on.
I can't wait to keep on learning, and then eventually mess around with code in the same way you do!
Man, I love raytracing, even if it isn't computationally viable (yet)
But keep in mind that this is NOT raytracing, this is raymarching, they are not the same. Both are awesome though.
@@GameGonLPs Arguably ray marching is more expensive.
That is just about the single best explanation of ray marching I have ever come across. Very well done!
What tools/frameworks does he use?
it probably isn't too hard just to do a really basic opengl renderer and throw in imgui, with some inputs hooked to shader constants--then again raymarching is all in the fragment/pixel shader (whether you're an opengl or d3d guy!!)
If you wanna get started on raymarching you can use shadertoy.com -- it sets up all the opengl stuff behind the scenes and lets you just write fragment shaders
I watched this a long time ago but recently started learning ray marching and omg this made things make so much more sense
Watched this video like 5 times and I'm still trying to understand it
My head just exploded, God is watching your videos as a learning tool
amazing stuff, have to try it myself! The use of the distance function, to show/hide intersections of two objects, blew my mind
this stuff is extremely interesting. thank you for showing us all the experimentation results! i hope that once i have more time in my life i'll be able to mess around like this too
I come back to this video and the one about marching cubes so often. I just love it.
This is my most anticipated video series. Keep up the great work Sebastian!
Amazing Sebastian! I'm glad I stumbled across your videos! You have sparked creativeness in my brain! I hope to show you something you have inspired some day!
BEST video on SDF and Ray Marching, so clear and easy to follow, thanks!
these visualizations were amazing for helping me understand ray marching. thank you!!
Rendering an object as only the intersection of two metaobjects (or whatever they'd be called) seems like a really good way to do crazy stuff with the 4th dimension
If you know the ellipsoid method for solving linear systems, it provides a nice way of reducing the number of iterations on near-misses / almost parallel hits of flat surfaces (i.e. only works with boxes). If you don't know it, it (linearly) transforms flat shapes so that the closest one always stays at the same distance, while preserving volumes. This is the sames as squishing the distance sphere near flat surfaces to a pancake, so that you can move farther parallel to the surface in a single step.
Your channel is a total gem. Subscribed for life.
Woooooah. That 3d fractal had me mesmerised indeed. That's a direct sub my dude, amazing content, great format, nice presentation.
Keep it up, you're good!
Just shared this on twitter to explain this to an artist. Thank you for helping!
I was never great at maths. But maths and design intersect on a level that makes me marvel. To me, a religious person, it feels like the design of the universe is so mathematic. Watching these is like watching a sermon xD. But better tbh. Gorgeous work.
I have no idea what I was looking at in the end, but it was beautiful
I have completely lost on that pythagoras!! You sir are awesome! Keep up the good work
That looks really, REALLY cool! Can't wait to see what you'll come up with next!
This man is a living legend
Videos like these make me wonder why youtube doesn't let me like a video multiple times. Amazing work mate !
How can this video only have 200k views.. this channel is so awesome
Ok mate if you're enjoying this format, you just found the niche. Everyone seems to be loving it (me included) so if you're into it as well, keep it up!
(I used to watch your videos 'at some point' when it popped up in my feed, on the second day and so on, but now I am going straight for it, pretty much like I do with Primitive technology ..)
Ray marching is cool, I particularly like Ray marching based and casting hybrids for voxels, which marches one distance each step, then tests intersection of the eight surrounding cubes, making a relatively speedy Ray casting engine for rendering voxels.
Sharing this knowledge with us is such a wonderful thing to do, thank you very much
Love the series! It is introducing me to so many topics that I didn't know about but find super interesting. Your serious has inspired me to try out some of my own ideas with ray tracing. I'm eagerly awaiting your next video!! 😁
Thank you for easily the most interesting and enjoyable channel I have seen.
Fantastic Video! My favourite Unity UA-camr by far. Creates Art from code! As a programmar you can imagine how impressive this looks to me :D
Beautiful! At the start it looked like the cosmos giving birth to something as yet unknown.
Wow, your content deserves more views.
that object blending is SO COOL
It's kind of insane you managed to explain how this all works in 5 minutes XD
I created an "Interesting stuff" list in my youtube account after i watched one of your videos, then i kept watching and watching and finally, i realized that i can save time by just adding your entire channel in my pocket (its a chrome extension) list.
really really impressive stuff, most of your videos deal with nearly same topics, i might be wrong i know nothing of maths, but if there are few things that will give so many capabilities, what are they ? can you make a video to give us certain topics that will give us such things ? not a tutorial just a list of things to learn, from a complete idiot beginner level.
it's just that i use unity and you do too, but you do way way more interesting stuff than my crap work, I also really appreciate you making your work open source, thank you man.
Just what I was looking for! Currently prototyping a game that deals with clay and needed to figure out how to blend geometry seamlessly. This will be helpful.
This channel has a prosperous future
This is so cool this stuff very mesmerizing, really enjoying these videos ignites my passion for coding. Which I need for uni at the moment cause of the coding we are doing
I thought maths was boring. These videos show just how fucking cool this stuff actually is.
Instant subscription, brilliant video and fascinating topics .
The fractal bit at the end looks like doctor strange going through the different dimensions. Very cool.