How I Used Raymarching to make a Black Hole

Details
Title | How I Used Raymarching to make a Black Hole |
Author | TheCodeStories |
Duration | 12:19 |
File Format | MP3 / MP4 |
Original URL | https://youtube.com/watch?v=dMohMW29gSM |
Description
While I was watching YouTube, I stumbled across this fascinating rendering technique called raymarching. I started experimenting with it, and it came to mind that i could use this to render a Black Hole. And then I went down the rabbit hole of volumetric clouds.
Hope you enjoy :)
Special thanks to Aleksey Chistilin who let me use one of his songs for this video!
Link to his spotify: https://open.spotify.com/artist/3PMzQeFSIXHTJH2X79EsZg?si=F4J9bfX-Qg-2paQjRjxU6A&nd=1&dlsi=307e093c1cf048bd
Music:
Gavin Luke - The Sum Of All Things: https://www.youtube.com/watch?v=22HOKynHHcQ
Gavin Luke - A Matter of Trust: https://www.youtube.com/watch?v=_Pub6unX8q0
Aleksey Chistilin - The Last Sentinel of the Light: https://www.youtube.com/watch?v=pTffk9Q6rQo
All of the songs were obtained either from Epidemic Sounds, or Pixabay, check those places out if you want as well.
Github repository: https://github.com/TheCodeStories/raymarching
You can also follow me here:
Instagram: / the_code_stories
Tiktok: / thecodestories
#MadeWithMotionCanvas
Chapters:
0:00 - 0:48 - Intro
0:49 - 2:10 - Measuring Distances
2:11 - 3:32 - Signed Distance Functions
3:33 - 4:44 - Ray Marching
4:45 - 6:36 - The Black Hole
6:37 - 8:57 - Volumetric Clouds
8:58 - 10:38 - Improving the Clouds
10:39 - 12:18 - Final Result