This was so interesting, and the result is absolutely stunning! Looking forward to the next one man.
Big Nose Жыл бұрын
I started this KZbin game coding rabbit hole with Dani and now here I am
Adam Desouky Жыл бұрын
MILK CARLSON
TigarriYT Жыл бұрын
Ello, im ur Soy milk counterpart(im allergic to milk)
skunk9341 zk Жыл бұрын
Yooooo Dani be here
Vasil Nikolov Жыл бұрын
@yee the 5 4 we dont speak about the drill 🔫😐
John Hirsh2 жыл бұрын
"Its actually quite simple" *proceeds to begin speaking mandorin*
videos with out of place musicАй бұрын
@Tiny Desk Engineer manstop
OffVes6 ай бұрын
Mandalorian?
Renn Marr9 ай бұрын
because there is this add about google pixel six live translate with this guy speaking mandorin
Marc Remillard Жыл бұрын
Is this reddit?
OnTheRoadAgain Жыл бұрын
Que
Jabari Nevills2 жыл бұрын
Plot twist: this guy is god and he is just uploading dev logs for the universe.
James LockwoodАй бұрын
He even sent his "Son" into the world to look at the pretty atmosphere
scratchhelpАй бұрын
@WolfPuppy maybe
RGBatomАй бұрын
I wonder if he’ll fix the bug where you take a ton of damage really slowly and out of nowhere, i think it’s called cardiac arrest although i could be wrong
Comic Space4 ай бұрын
@Ro Gaming can u fix the bug where if the sim is ran for super long the sun for some reason grows? its annoying for beta testers when they speed up time too much
Wacky Animations4 ай бұрын
it just takes a billion years for it to upload to youtube.
Templarfreak Жыл бұрын
"i have long since lost any faith in the code i write ..." "my favorite programming trick: calling a function that doesn't exist and worrying about it later" "that sped things up immensely, with the minor tradeoff of completely ruining everything." these feel like personal attacks
Kevin Wu5 ай бұрын
I use Godot and whenever I try to do the second the program freaks out and highlights the entire line bright red for me to see.
TheGuyThatCodes7 ай бұрын
i do the second thing alot
Tiny Desk Engineer Жыл бұрын
They are broad personal attacks against programmers
MetaParalysis Жыл бұрын
@Digital_Jedi This is calling out every programmer since the dawn of time
Digital_Jedi Жыл бұрын
I know right. I didn't need to be called out like this but here we are.
KipАй бұрын
This is the fourth time I've remembered this video and looked it up again just to watch it again
Petter Larsson12 күн бұрын
13th for me
Jack Price2 жыл бұрын
"my favorite programming trick: calling a function that doesn't exist and worrying about it later" You're my hero dude lmfao
Ali SherifАй бұрын
I do that a lot, but I then forget to write the function and wonder why it is not working
Jlewis Жыл бұрын
@cops and govern ment are gangstalkers I haven't done the math myself, but our boy Nicolaus Copernicus did a while back, pretty cool dude.
Jlewis Жыл бұрын
@Reyvaldo Soetiman Dude that's such a programmer moment, relatable as heck.
Joshua Chan Жыл бұрын
This will be useful for js lol
Pigman Rocker Жыл бұрын
Actually a very legit trick to use as it helps you think in a more decoupled and abstract way and allows you to focus on 1 problem at a time.
Amagys Жыл бұрын
Your ability to visualize and present concepts of all kinds is actually one of your strongest points. The editing and visual elements combined with music infused with your personal touch (hand drawing explanations) is a real highlight to everything. Regardless of topic, I'm sure you could make it interesting. I just happen to love your coding adventures.
Gg Anderson Жыл бұрын
Me, who never coded a single code, the entire video: "Yea, I guess that makes sense".
that's a lot7 ай бұрын
@failtolawl ohhhohohoo, learning the language is the easy part, the tough one's are mathematics and physics, and further optimisation, as the objects in video games are not made up of atoms like real world.
Gwenturo11 ай бұрын
Sebastian explains things very well!
failtolawl11 ай бұрын
it's all logical, the issue is understanding the language itself, which can be a pain in the ass.
Just Jory Жыл бұрын
@Me AlsoMe Though if you want to make a game for unity I recommend just doing C# since there is also great tutorials
Teo Bellver white Жыл бұрын
@Me AlsoMe i recomend python for begginers
AllTheFishAreDead2 жыл бұрын
"That sped things up immensely, with the minor trade off of completely ruining everything." Coding4lyf my dude.
EthosАй бұрын
implementing this was a blast thanks for the tut
Zippy2 жыл бұрын
Next up: Coding adventure: Mining Coding adventure: Aliens Coding adventure: Turning this into a steam game and selling it.
Petter Larsson7 ай бұрын
dude, the mining part is real...
Jyothish Kumar Жыл бұрын
@vlаdimir рutin is аndrеi раnin jfk is jimmy carter I sent a satellite into the orbit and it can see that the earth is round
PrincePopplio Жыл бұрын
DO IT
Hacker Gaming2 жыл бұрын
No mans sky is good now stop bullying it.
ɯ̷̗̎s̷̃͜ı̸͈̿p̸͇̈́ɹ̶͈̅n̸̹͝s̷̢̈́q̶̜̈́ɐ̸̻́2 жыл бұрын
better man's sky
Dot txt2 жыл бұрын
everybody gangsta until he makes no man's sky 2
Random Alt Жыл бұрын
@Harp Seal Spore 2
Harp Seal Жыл бұрын
ksp 3
Random Alt Жыл бұрын
@Killkor In all honestly, I'd love to see him recreate Spore. I know that's a big task, but I'm willing to wait and donate, and if he ever were to do such, I'd surely hope that he gets help.
Random Alt Жыл бұрын
@Wither Slayer Spore 2: Outer Reaches
One Owl's Eye Жыл бұрын
No mans sky 10.000
Enelition5322 жыл бұрын
This has to be one of the highest quality channels on youtube. All the videos are educational, inspiring, really engaging and shows a thought process of tackling nearly any problem. Absolutely love this content.
An Open Book2 жыл бұрын
I can't wait until he eventually adds every single coding adventure into this one project. Simulating ecosystems, boids in the form of procedurally generated fish, procedurally generated animals, caves, ray tracing reflections, hydrolic erosion. The whole works. He's just gonna simulate the world at this point
Anant Tiwari3 ай бұрын
@EndermanNULL a minigame within the spacecraft perhaps
A4 ай бұрын
@EndermanNULL the game is free, provided that you beat his chess AI
CuddlyBubbles 695 ай бұрын
@EndermanNULL a feature of the game just add a chess board
EndermanNULL7 ай бұрын
how he gonna fit chess in there
DJ-murlock Жыл бұрын
With that setup he could also be able to simulate death of his PC
Chosen Van2 жыл бұрын
Others showing us how we can use Unity. Sebastian is showing us WHAT WE CAN DO with Unity. Every priceless journey starts with imagination. Absolutely wonderful! :)
bloosea1232 жыл бұрын
And God said, "calculateLight(N, N, N)", and there was light.
SolubleParrotАй бұрын
True TMYK
MerpCat2 ай бұрын
@Κώστας Καραπαπαχατζηδιμιτρακόπουλος Line 3 Mosses.cpp 🤣
RGBatom3 ай бұрын
Unexpected “ “ at line 1 …ght(N
Lightning _114 ай бұрын
To be honest, that's probably a lot closer to what happened that you might think.
saib adam4 ай бұрын
@AwesomeAl2.0 yes
A. Parker2 жыл бұрын
If I was half as smart as you... I would currently feel half as dumb. That was not only an amazing tutorial, fun experiment but also shows just how good you are at math and programming and research apparently! Great video... Makes me really appreciate all these great games we have today.
Shatabda\Roy Жыл бұрын
@flex chil chil! All game devs know de pain. Some people has pain tolerance higher, and some people don't soo yeah!
flex Жыл бұрын
@Jyothish Kumar you think its that simple ? ok web developer
Jyothish Kumar Жыл бұрын
He is not smarter than you. How can you say that if you haven't even tried to make a game? Go Download Unity Google "how to make earth in Unity" Google "how to add lightning in Unity" And after making a game make a tutorial like this and post on YT
Moldy Space Industries Жыл бұрын
After spending 4 years to get my astronomy degree, I feel vindicated to hear optical depth used properly for cool reasons, and when you decided to normalize your unit system to 1 for simplicity I nearly cried
Teddy056710 ай бұрын
same! god I wish I normalized my simulation of the surface of the star, I spent too much time checking the numbers with a calculator.
Widdlyscuds2 жыл бұрын
This makes me feel like I'll never be an even decent hobby programmer.
1CoolАй бұрын
Start with small projects (like really really small and simple) and go bigger and more complex when you feel like it
Rafał Sobczyk9 ай бұрын
I've been programming for a living for 6 years and I feel the same
Random Dude Жыл бұрын
@Jakub Surmacz I mean to be fair, programming is heavily related to math
LabGecko Жыл бұрын
If you have the money to become a patron download his projects and look at how everything works together. This is assuming you have some knowledge of programming logic; if not, start with that. However boring the programming basics are, it pays off in spades later. If you don't have the money, pause the video when he writes code and copy that into your project. Then play with it to see what is going on.
French Bread Жыл бұрын
Best advice is just do it you got this
UKLCourses Жыл бұрын
I reaaaally like the transition from the black space sky to the atmosphere. So natural.
Morgan Eclipse2 жыл бұрын
Next video: "I don't really like how the stars are not realistically generated so I'm writing this quick program to simulate the formation of the Universe using these papers I read about the fundamental composition of space and time."
Lietajúce Mačiatko2 жыл бұрын
@TheDude oh I got roasted so hard omg 😣😣😣😫😭😭😭😭😭😭
TheDude2 жыл бұрын
@Lietajúce Mačiatko Neither of you are smart.
TheDude2 жыл бұрын
The comment above you is only at the top because Dani wrote it. Your number 1.
Lietajúce Mačiatko2 жыл бұрын
@BlueFire Animations Dyson sphere without computing power would not be able to send any power to any planet, and would be destroyed in seconds because of asteroids
BlueFire Animations2 жыл бұрын
@Lietajúce Mačiatko Yes, but only a Dyson sphere and nothing else would be useless.
ScorpioHR Жыл бұрын
Now I know how my dog felt when I tried to explain spreadsheets to him. Hey, he was really eager to find out why we couldn't play together that instance
ScorpioHR Жыл бұрын
@KC He had to know what was so much more fun than playing with him.
KC Жыл бұрын
why were you trying to teach your dog spreadsheets lmao
Pinkajou Жыл бұрын
That’s fantastic.
Konrad Жыл бұрын
He just made a planet with atmosphere and sunsets that look so amazing and real. It's awesome to have this sort of your own world, and I hope you'll add more stuff to it.
Konstantin Tonkov Жыл бұрын
I rewatch the videos from this series every month, because of how satisfying they are. I'm looking so much forward for you to continue this series.
Canyon Wanderer8 ай бұрын
I really love this journey (which I joined an bit late by the looks of it), not only from a programming perspective, which I absolutely love, but also because of how you explain the physics behind it in the clearest way possible
Aspharon2 жыл бұрын
The most mind-blowing part about these shaders is that they look good both above- and below their "surface". This one looks great from space and from the planet surface, and the water one looks great both inside- and outside the water. Absolutely boggles my mind.
Matthew Hubka2 жыл бұрын
@Vermilion I just make all my programs turing complete, so they can be used for all applications
Matthew Hubka2 жыл бұрын
Pugmaster000 it could also be because the size of everything is so far off from earth
Kalle Halvarsson2 жыл бұрын
@Masa Mainio Actually, doing things in the 1:1 physically simulated way is the easiest solution, since smarter people have already figured out the equations... the hard part is making things run well in real time. Using a sphere to calculate the ocean level is all well and good for a planet with a single ocean, but it becomes harder if you want multiple bodies of water at different altitudes.
Matthew Hubka2 жыл бұрын
@peroh I’m sorry, if you were looking for the Cheeto eating sailor swearing rotten misogynistic assholes, you came to the wrong channel. Please leave. This channel is for the “virgins” because apparently anyone adept in their field and actually has a brain couldn’t possibly find a girlfriend
Vlad Chira2 жыл бұрын
@Jose Vera to be fair no technique is always 100% physically based
lilchorizo022 жыл бұрын
this legit makes me want to jump back into game development
Hristo Lilov Жыл бұрын
This legit made me install unity again. Thanks i guess...
-Vanitas2 жыл бұрын
I watch this video once a day because I can't wait for the next episode.
Mahmoud A. Khalifa2 жыл бұрын
Same bro
EmeraldUrsa Жыл бұрын
The more I watch your series on making this solar system, the more I appreciate what Maxxis went through creating SPORE. That might be mostly because Spore doesn't look too far off from what you've made thus far, though with today's tech and such you'd likely be able to make something that looks a bit better. In any case, loved the video.
Paul Witzel Narratives2 жыл бұрын
I really hope this becomes a full game, with objectives and stuff
Call Me Tess2 жыл бұрын
"that sped things up immensely, with the minor trade-off of completely ruining everything"
Andrew's Projects & Innovations2 жыл бұрын
@verified_tinker I was just estimating and one third just felt like an easy number to work with, rather than splitting it into 1/4 + 9/24 + 9/24 or some other ugly set of numbers. I guess 1/5 + 2/5 + 2/5 would have worked nicely but oh well... To be fair, that 1/3 also includes all the time spent devising an approach to the task/problem before I even touch the code. The point was that more time is spent making a program work as intended than writing code from scratch. My familiarity with the language used also matters. The more you use a language (in my case, C/C++), the less time you'll spend fixing syntax errors and language-specific quirks.
Jlewis2 жыл бұрын
@verified_tinker lol
verified_tinker2 жыл бұрын
@Andrew's Projects & Innovations One third? You must be a programming god.
CASPERA2 жыл бұрын
When a joke ironically describes programming in general
Thomas Gould2 жыл бұрын
@Ovr Surge So did I
Lightning _114 ай бұрын
7:40 Wow, that's my favorite trick, too! When I first right my code, about 90% of the functions don't exist, that way I know what I need to do to make it work.
CrypticSavage 04 Жыл бұрын
The fact that he can make these things make sense is astounding
Bayre Жыл бұрын
Wow this is incredible. I was just wondering though... I tried to use the github files from the link in a project I'm working on, and when I opened the demo scene called "solar system" there was a bug. It started running just fine but firstly, I couldn't see the spaceship as apparently part of the prefab was missing. The ship still flew around normally though. Also, when I landed on a planet and got out of the ship, it was really jittery and I could barely turn or move. I was wondering if anyone knew what to do or any ideas? Any help would be much appreciated!
UltimateDuck97 Жыл бұрын
Wow the way you explained the colours of the atmospheres was amazing. If I was taught that in school I probably wouldn't have got it at all.
Colin Bergmann2 жыл бұрын
This channel is so freaking inspirational. Now I want to make a game...
Kip2 жыл бұрын
@Akira2234 The reason i'm still making games was a game jam in february, so that is absolutely true, they give you the motivation of feedback and finishing something for a minimal time investment.
Kip2 жыл бұрын
@SD GAMER 0734 of course, you would pretty much have multiplayer, lighting, physics, etc all done for you.
SD GAMER 07342 жыл бұрын
@peroh yea i know that but I don't know C# I only know of python
Red Bepis2 жыл бұрын
@Adventure Not lmao
mane2 жыл бұрын
There are tutorials that will guide you through every single line of code, if you follow a couple of those, actually trying to understand what's going on, you'll get to a basic understanding. Then you can make your own games, eventually you'll get to this level.
Sebastian Mestre2 жыл бұрын
If you want to avoid the hacky implementation for stars, apply a logarithm (or another better looking function) to your frame buffer as a post process filter (you will probably need to crank up the light source strength values after that). This will make it so that the not-very bright stars get faded out by the bright sky, but become visible again when the sky is dark. It's also roughly how it works in the human eye in reality. Working in linear light space, but presenting with a log-ish color transform is standard practice in physically based rendering
Robert W Жыл бұрын
I don't really understand what is going on but I love it. To me watching code turn into reality is fascinating. Its brilliantly edited and narrated too.
CopyRight Strike Жыл бұрын
I'm very new to coding, and I had always assumed game devs just stuck to pre-set skyboxes to model day and night. Now after seeing this video and after seeing the crazy amount of actual optical physics used in simulating a legit atmosphere, I have new found respect (watching the different wavelengths of light get diffracted through the atmosphere is insane). It is so cool to see how the math from my astronomy textbook is implemented in a game and how interactions of individual rays of light are modeled and rendered real time. Next thing you know he is gonna actually model the radiative/convective heat transfer of individual molecules to produce wind and natural disasters XD Great work and great videos.
TheReallyLargeKnome2 жыл бұрын
This series never fails to leave me breathless and in awe. It's beautiful.
Duncan2 жыл бұрын
When he accidentally makes the best lesson on why the sky is blue.
Xavi Ondoño Жыл бұрын
No, the explanation with the wiggly line is not correct. “Interacting” in this scenario means that the atoms are absorbing a photon, and then reemitting it. Higher frequency photons have greater energy, which makes them interact easier with more atoms. As for the sunset red shift in, it’s due to the “amount” of atmosphere the rays are traversing, when the sun is up, there’s less atmosphere between the sun. During the sunset there’s the maximum amount of atmosphere because the sun rays travel tangential to Earth. This means this effect actually happens with stars (stars near the horizon are red shifted), but the effect is very small to see with the eye, especially because this means there’s less light reaching you from that star (it’s being dispersed in the atmosphere), making stars near the horizon barely visible. The main difference is that the sun is *way* closer, so the sun illuminates the whole sky anyway. And lastly, he is programming in C#.
Business Wolf Жыл бұрын
yep.
dewinchy Жыл бұрын
it's not blue, it only seems blueish cause blue is the strongest color of em all 🙃
thegreatestegg Жыл бұрын
What coding language is this ?
pop2 жыл бұрын
This comment as more likes than the dani one
Chazzwazzler2 жыл бұрын
Whats the drawing program you use a lot in your videos? I tend to find it useful to draw what I need to get done and how I will do it before I program (or while I program) so I can get my thoughts sorted, so I think a program like what you use would be very helpful for me. Also, great video, I love your videos because they are very educational but still extremely entertaining!
Hay_M Жыл бұрын
I know this video is already 8 months old when I am typing this, but I want to clear up a misconception about Earth's gravity at 3:40. Atmosphere is not thinner because gravity gets that much weaker. At 200 km (125miles) high, gravity is still 94% of what you see on the surface. Gravity comes from the planet's mass and it holds its atmosphere together. What matters is the atmospheric pressure which changes with the rate of collision of the molecules, and with their force of impact.. Lower layers are more dense because of the weight of the whole atmosphere, but higher up, molecules continously escape Earth's gravity very slowly (takes billions of years). But 99% of the air can be found in the lowest, just in the first 30 kilometers (19 miles). Also worth mentioning, that not all particles are equally weighted: lighter particles, like atomic hydrogen and helium move faster and have more chance to reach escape velocity. Heavier particles, like oxygen and nitrogen move slower, they are more likely to stay. This is why gas giants with a much bigger mass can retain their thicker atmospheres: the lighter particles can't escape due to higher gravity, accordingly this is why Mars has a thinner atmosphere because Mars' mass is 15% that of Earth's.
HalogenLightBlob2 жыл бұрын
The transition at 21:25 was a wonderful prize for reaching the end of the video.
Hester Clapp Жыл бұрын
This looks absolutely amazing!
NamePointer2 жыл бұрын
So "Coding Adventure: The Universe" is slowly but surely becoming reality...
TemmieTheCatgirlGamer2 жыл бұрын
@Scientiae Magicae which is still one of the most impressive things ive ever seen. Plus with quantum computers he could literally make a universe simulator thats at least %50 better
The Chosen One2 жыл бұрын
No kidding. There is NO limit to how far he can take this.
Caps Lock2 жыл бұрын
@Eric Carroll later: "Coding Adventures: Coding a Sebastian Lague that code a God that creating a universe"
DoctorMandible2 жыл бұрын
"If you wish to make an apple pie from scratch, you must first invent the universe." - Carl Sagan
Dave Falcon2 жыл бұрын
Nah mate we already have spore for that...
Atomizer2 жыл бұрын
I absolutely love the way you have done this series, not only is it fascinating to watch and see what you managed to achieve, but as a coder also interested in these topics, it is very valuable at pointing out various techniques used, and even explaining and visualizing them to a degree to make delving into the topics easier(plus I know what to look up in order to get full details on a topic). So, thank you for these, I look forward to seeing your future progress and see what you manage to do with it moving forwards.
Achraf_1CY2 жыл бұрын
this guy is actually doing something i've never seen before keep up man 👍🏻👍🏻👍🏻👍🏻👍🏻🤩🤩🤩🤩🤩
DjSadhu11 ай бұрын
You are insanely talented sir. Physics, math, shaders, coding, and it all comes in a very smooth and entertaining package. Big fan.
Madhops Жыл бұрын
Now just add a quick sphere gradient of sorts to cut away the atmosphere from the characters position. That way it its not so "foggy" when walking on the planet vs looking at it from a far. Amazing stuff btw keep it up.
Game Makers Academy2 жыл бұрын
Son: *"Mom, why's the sky blue?"* Mom: *"It was a free skybox on the asset store. Don't judge me like that"*
Unknown Variable Жыл бұрын
@ok that's how my mom explained it to me when I was 3, so shaddap.
ok Жыл бұрын
@The unknown ah yes because science it is because that the science of blue is blah
The unknown Жыл бұрын
@ok This is when we go to bio, violet may be the most common, but our eyes are less sensitive because our ancestors (blah blah blah blah blah)
ok Жыл бұрын
@Unknown Variable violet is the shortest wavelength tho
Soviet Tube2 жыл бұрын
Dude your a fuckin genius
nagualdesign Жыл бұрын
You just need to occlude the stars with the planets, as at the moment the night side of the planets look transparent.
ElNico56 Жыл бұрын
I love how the purple sky with green sunset that eve has in kerbal arises naturally
Santiago Benes2 жыл бұрын
It would be interesting to see you try to make a realistic damage model for vehicles or for a person . You could add it to the space ship and make it so that it crumpled if you land to hard and it would then make it harder to control. A damage model for a person would be like where you add all of the organs inside of their body and model the bullet trajectory to see what it interacts with. It could make for something interesting where you try to model a person walking by having their bones and muscles move and interact. Then you could create a rip in their muscle or break their bone and see what happens
okaysimon2 жыл бұрын
I just played Outer Wilds and I can't believe how accurately you've replicated the atmosphere shader! It makes me wonder how similar your code would be to the Outer Wilds shader code! I loved Outer Wilds so much!
Sam Hogan2 жыл бұрын
Love this series! It's just incredible to see his process and everything come together so perfectly in the end
Papanatas Жыл бұрын
True 😊
zachary davis Жыл бұрын
@The Battle Engineer sad he no respond :C
The Battle Engineer2 жыл бұрын
@Sebastian Lague um but what i want to know is how i Can play this beatiful work of art for my self because ive always enjoyed open adventure games
Dnyaneshwar Darade2 жыл бұрын
@ChimiTrash what he can't learn if he is a KZbinr?
4P52 жыл бұрын
@ChimiTrash enjoying quality content? KZbinrs are humans too.
Dheeraj C2 жыл бұрын
Your videos are so interesting, also the content you includes...it makes you a genius...more than any other developer I've ever seen
ajayaplays2 жыл бұрын
I can see how this method of in-scattering could be more realistic, but a far easier and for more processor-friendly method would be to simply take two versions of a depth map on every frame, one that is black to white, and one that is black to whatever color you want your atmosphere to be. Then you use the black to white depth map as an alpha matte to reveal the atmosphere map. This can mimic a volumetric atmosphere at a tiny cost of processing.
Genji Жыл бұрын
Wow... That is what I legit said outloud when watching this. Spectacular and phenomenal job
agustinbs2 жыл бұрын
Looking forward to the next episodes for this series!
Parthajeet Sarmah2 жыл бұрын
Moral of the story: If you can't model great and beautiful stuff, just procedurally generate them.
Ignas Petrauskas2 жыл бұрын
As easy, as that...
Nathan Stoddard Жыл бұрын
😆👌 This is great, I just finished watching the video before this one and thought... yeah, you need atmosphere! Of course the next video does exactly that! Too cool. - Love this channel. 🤘😃
Czechoslovakia2 жыл бұрын
16:01 You literally re-made the atmosphere of Eve from KSP and I love you for that.
P1002 жыл бұрын
češkoslovák
Czechoslovakia2 жыл бұрын
@Majestic Eagle I know, it just really looks like it.
Majestic Eagle2 жыл бұрын
Its not inspired by ksp at all
Jake Shar Жыл бұрын
I hope your coding makes its way into vr gaming, simulation of real life physics is super potent there! Keep being an awesome creative!
oyster catcher2 жыл бұрын
So beautiful and educational. I used to play around just like THIS working from cutting edge papers from SIGGRAPH this implementing hair shaders and fractal terrain 25 years ago when rendering took overnight! Great fun
Casinator2 жыл бұрын
2:35 how is this synced so incredibly good...
camellia Жыл бұрын
he was prob listening to the music while he did it
Aidan Lavery2 жыл бұрын
I wondered the same thing
TheMagicat Жыл бұрын
20:00 I love the massive RCS thrusters
Ezequiel Ciamparella4 ай бұрын
how would one go about increasing the thickness of the atmosphere? for example, making it dense enough so that an object in space cannot be seen from the surface
Imię Nazwisko2 жыл бұрын
I wonder why Cyclop's atmosphere is purple. Perhaps there's some purple suspended particles floating around? Aeroplankton, perhaps?
Jack S11 ай бұрын
These videos are like crack to me. Amazing work, its awesome to see your passion in your work.
EnderMega2 жыл бұрын
I like how it's entertaining and Im also learning code, math and science; nice work :D
Ethan Ray Жыл бұрын
“Then, to calculate the optical depth, I’ll use my favorite programming trick, which is calling a function that doesn’t exist and worrying about it later.” Made my day.
Alice Taylor2 жыл бұрын
I absolutely love these videos! 💜
K. Жыл бұрын
I'd love to see how this compares to the sky and atmosphere features in Unreal 5. Obviously I don't expect it to compete with something created by a team of developers working on the biggest game engine in the world, but I'm sure it would be interesting.
Heath Close2 жыл бұрын
I’ve never sat on my couch before and cheered out loud about code like it was a sporting event. This is brilliant. I was moved. Also had to google what a float3 was, haven’t seen that yet. The results were beautiful both visually and scientifically. An intersection of art and science. Also, you just taught me why sunsets are fiery orange. This might be the greatest coding video I’ve ever watched. Wow. Just... wow...
Lyrous Жыл бұрын
How do you make those math animations like at 10:17 ? Would be awesome for presentations at school!
Stephen Elder Жыл бұрын
I came to coding late and, ultimately, had to abandon my learning and game-devving stuff because life caught up with me. But these videos are still extremely interesting to me, so thanks for making them
Nicolas Heringer2 жыл бұрын
I'm a physicist and this serie is one of the most beautiful things I've ever seen.
Korok2 жыл бұрын
@F23A# None but if you can admire a physic simulation as a physicist is has to be great
F23A# None2 жыл бұрын
You don't have to be physicist to admire beauty, do you? )
MacMarc2 жыл бұрын
How good are the formulas used in this video?
Adam Crockett2 жыл бұрын
It strikes me that your flora and thorna should have evolved to suite the wavelength of light most efficient for photosynthesis.
Otar Kublashvili2 жыл бұрын
The atmosphere was definitely what was missing! It looks stunning! Looking forward to other things like trees and animals, good luck!
Tem4rik Жыл бұрын
Your Coding Adventure series is the most inspiring and impressive thing I've ever seen on KZbin! Love it! Wish you the best.
Photon Wolfsky Жыл бұрын
Coming back 9 months later to finally ask a question since I'm now trying to work on a planet project: I know the project is downloadable and demo-able, but I haven't tested whether it can be separated from the existing planet infrastructure you created and placed on imported planets created in Blender or any non-Unity spherical mesh? I love your procedural planets tutorials and your solar system project, but I feel it would just be more efficient for me to build procedural planets in a modeling software and just import it into Unity as a completed object rather than tamper with Unity for quality of mesh and textures, etc. Would be great if this atmosphere code could be transplanted easily.
Aditya Vyas2 жыл бұрын
After simulating solar system..... Sebastian begins the journey to make his own UniVerse
Theodore Carman2 жыл бұрын
Uncle Randy that would be quite the project XD
Uncle Randy2 жыл бұрын
Coding Adventure: Conscious Life
SoulSukkur2 жыл бұрын
he's already taking the procedural route. we know where that leads.
Ben Burnes2 жыл бұрын
That apple pie isn't going to make itself.
Chirag2 жыл бұрын
DAMN
Glitchy Жыл бұрын
The worlds really remind me of Spore, either way, this was amazing!
Caio Castro2 жыл бұрын
This is absolutely beautiful, both from a coding and artistic perspective. Very inspired by your work. I just started learning Unity and you are my go-to resource for almost anything. Congrats and thanks!
no way Жыл бұрын
Very nice! I would think that instead of having a red, a green and a blue wavelength for the light emmitted by the sun, you could have it sample a number of wavelengths set by an input into the function? Just based on a minimum, a maximum and a step - if 3 had 400, 550 and 700 nm; 5 would have 400, 475, 550, 625 and 700 nm. Each would then be scaled in intensity by both the function you already have, proportional to \lambda^{-4}; then scaled again by a function (let's call it f(lambda)) that represents the sun's emmission of each wavelength and the atmosphere of the relevant planet's absorption, then divided by the sum of f(lambda) for all wavelengths lambda included; and finally scaled by some intensity coefficient. A graph of such a function is on wikipedia, en.wikipedia.org/wiki/Sunlight#/media/File:Solar_spectrum_en.svg; but you might chose to use a more simplified function (e.g. some form of xe^(-x), something like the grey line on the graph).
YourLadBrennen Жыл бұрын
Me: tries to run anything that actually looks this good My Computer: Do you want to explode?
Noah Hughes2 жыл бұрын
This stuff just makes me realize how crazy complicated real life is
Brick Videos2 жыл бұрын
@E-Kian Media ...until we learned about quantum physics. Then Schrodinger's cat took a large sh!t on that theory
Skipp2 жыл бұрын
And then some random flat earther tries to explain to you that the sun is just 3000 km away without having any idea about all of this science. Makes me sad
Henri Lemoine2 жыл бұрын
@Laurin Neff Not really. There are things in quantum mechanics that show that we possibly cannot know everything about even a single particle (position vs velocity), so I doubt it about a whole universe. Maybe I'm misunderstanding the uncertainty principle, but that's my two cents.
Abdullah Imran2 жыл бұрын
@Laurin Neff definitely, but that can be said for everything so it's not really the best way to think about it. By that logic it's possible our entire understanding of math and science is a coincidence and in reality it works differently
Laurin Neff2 жыл бұрын
@Abdullah Imran we probably just don't fully understand that yet. I'm sure that we could calculate that too if we knew the correct formulas
Jean-Xavier Gauthier2 жыл бұрын
As an optimization, do you think it would be possible when the camera is touching the ground to compute only the color of one pixel of a line and copy it to the rest of the line ? There is generaly no difference on the left, middle and right of the screen if the curvature is flat enough. Another point : Maybe you can reuse this algorithm to compute the color of the environment when under water?
Tom Whalen Жыл бұрын
@sebastian, I am sure down the line you plan on adding more to this series. It was quite good. I learned so much from this and it was a good intro for me to the rest of your channel. I do have a question though because I am exploring on my own now with episode 3 from github. Regarding plants and such, what do you think the best approach would be? The best thing I could think of doing is using poisson disc sampling on each triangle to place trees and such. But, something tells me that is not the best way because that seems like a lot of overhead. another approach rather than instantiating each tree was using Graphics.DrawMesh
Jonnesty Ronicha2 жыл бұрын
I would love to play a game using this engine! Are you planning on trying to simulate ecosystems?
absence2 жыл бұрын
I hope this channel won't die, it's the best and motivational coding channel I've found, but I fear that it may lead to financial problems
Nat J2 жыл бұрын
What I love about this channel is the fact that we get a whole background course in real world physics before he makes anything.
VanceDK Жыл бұрын
Game looks really fun! I'm pretty sure you got heavy inspiration from Outer Wilds, but the game itself is still really cool with the planet generation! Keep it up (
Pranav Badrinathan2 жыл бұрын
How do you have such beautiful presentations, like those graphs!?
LabGecko Жыл бұрын
Amazing work! That is a truly beautiful result. It's always nice to see coding competence coming together to become art. 21:44 You might consider adding in a mask to prevent stars showing through the dark side of the planet
M K2 жыл бұрын
I don't usually comment, but actually this is the best video I have ever seen on youtube. Amazing job
Christian Tavera2 жыл бұрын
Coding Adventures in 5 years: So today we will be watching our generated Alien civilizations fight against the multi-galaxy humans.
Kurtis Gibson2 жыл бұрын
@Faizan Ahmad starlis, age of orion, star strike, space odessy ect ect
Faizan Ahmad2 жыл бұрын
@Kurtis Gibson Aah yes, the AI simulating an advanced civilization going to war against an advanced form of humanity. Of course it has. Where again?
Kurtis Gibson2 жыл бұрын
@Kavya i know because it's been done
Kavya2 жыл бұрын
@Kurtis Gibson ...
Parsa Tayebi2 жыл бұрын
Stellaris...
Erzats Erz2 жыл бұрын
I'm always blown away at how we reached a point where we can simulate realistic physics through an interactive medium. What a time to be alive!
Marcus Daloia2 жыл бұрын
A light customization feature that automatically matches lights with different scattering degrees, so that it was as if you were actually customizing the colors that your eyes could see, would have been interesting as well.