Coding Adventure: Atmosphere

  Рет қаралды 944,365

Sebastian Lague

Sebastian Lague

Күн бұрын

Пікірлер: 3 351
Dani
Dani 2 жыл бұрын
This was so interesting, and the result is absolutely stunning! Looking forward to the next one man.
Big Nose
Big Nose Жыл бұрын
I started this KZbin game coding rabbit hole with Dani and now here I am
Adam Desouky
Adam Desouky Жыл бұрын
MILK CARLSON
TigarriYT
TigarriYT Жыл бұрын
Ello, im ur Soy milk counterpart(im allergic to milk)
skunk9341 zk
skunk9341 zk Жыл бұрын
Yooooo Dani be here
Vasil Nikolov
Vasil Nikolov Жыл бұрын
@yee the 5 4 we dont speak about the drill 🔫😐
John Hirsh
John Hirsh 2 жыл бұрын
"Its actually quite simple" *proceeds to begin speaking mandorin*
videos with out of place music
videos with out of place music Ай бұрын
@Tiny Desk Engineer manstop
OffVes
OffVes 6 ай бұрын
Mandalorian?
Renn Marr
Renn Marr 9 ай бұрын
because there is this add about google pixel six live translate with this guy speaking mandorin
Marc Remillard
Marc Remillard Жыл бұрын
Is this reddit?
OnTheRoadAgain
OnTheRoadAgain Жыл бұрын
Que
Jabari Nevills
Jabari Nevills 2 жыл бұрын
Plot twist: this guy is god and he is just uploading dev logs for the universe.
James Lockwood
James Lockwood Ай бұрын
He even sent his "Son" into the world to look at the pretty atmosphere
scratchhelp
scratchhelp Ай бұрын
@WolfPuppy maybe
RGBatom
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 Space
Comic Space 4 ай бұрын
@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 Animations
Wacky Animations 4 ай бұрын
it just takes a billion years for it to upload to youtube.
Templarfreak
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 Wu
Kevin Wu 5 ай бұрын
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.
TheGuyThatCodes
TheGuyThatCodes 7 ай бұрын
i do the second thing alot
Tiny Desk Engineer
Tiny Desk Engineer Жыл бұрын
They are broad personal attacks against programmers
MetaParalysis
MetaParalysis Жыл бұрын
@Digital_Jedi This is calling out every programmer since the dawn of time
Digital_Jedi
Digital_Jedi Жыл бұрын
I know right. I didn't need to be called out like this but here we are.
Kip
Kip Ай бұрын
This is the fourth time I've remembered this video and looked it up again just to watch it again
Petter Larsson
Petter Larsson 12 күн бұрын
13th for me
Jack Price
Jack Price 2 жыл бұрын
"my favorite programming trick: calling a function that doesn't exist and worrying about it later" You're my hero dude lmfao
Ali Sherif
Ali Sherif Ай бұрын
I do that a lot, but I then forget to write the function and wonder why it is not working
Jlewis
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
Jlewis Жыл бұрын
@Reyvaldo Soetiman Dude that's such a programmer moment, relatable as heck.
Joshua Chan
Joshua Chan Жыл бұрын
This will be useful for js lol
Pigman Rocker
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
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
Gg Anderson Жыл бұрын
Me, who never coded a single code, the entire video: "Yea, I guess that makes sense".
that's a lot
that's a lot 7 ай бұрын
@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.
Gwenturo
Gwenturo 11 ай бұрын
Sebastian explains things very well!
failtolawl
failtolawl 11 ай бұрын
it's all logical, the issue is understanding the language itself, which can be a pain in the ass.
Just Jory
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
Teo Bellver white Жыл бұрын
@Me AlsoMe i recomend python for begginers
AllTheFishAreDead
AllTheFishAreDead 2 жыл бұрын
"That sped things up immensely, with the minor trade off of completely ruining everything." Coding4lyf my dude.
Ethos
Ethos Ай бұрын
implementing this was a blast thanks for the tut
Zippy
Zippy 2 жыл бұрын
Next up: Coding adventure: Mining Coding adventure: Aliens Coding adventure: Turning this into a steam game and selling it.
Petter Larsson
Petter Larsson 7 ай бұрын
dude, the mining part is real...
Jyothish Kumar
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
PrincePopplio Жыл бұрын
DO IT
Hacker Gaming
Hacker Gaming 2 жыл бұрын
No mans sky is good now stop bullying it.
ɯ̷̗̎s̷̃͜ı̸͈̿p̸͇̈́ɹ̶͈̅n̸̹͝s̷̢̈́q̶̜̈́ɐ̸̻́
ɯ̷̗̎s̷̃͜ı̸͈̿p̸͇̈́ɹ̶͈̅n̸̹͝s̷̢̈́q̶̜̈́ɐ̸̻́ 2 жыл бұрын
better man's sky
Dot txt
Dot txt 2 жыл бұрын
everybody gangsta until he makes no man's sky 2
Random Alt
Random Alt Жыл бұрын
@Harp Seal Spore 2
Harp Seal
Harp Seal Жыл бұрын
ksp 3
Random Alt
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
Random Alt Жыл бұрын
@Wither Slayer Spore 2: Outer Reaches
One Owl's Eye
One Owl's Eye Жыл бұрын
No mans sky 10.000
Enelition532
Enelition532 2 жыл бұрын
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 Book
An Open Book 2 жыл бұрын
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 Tiwari
Anant Tiwari 3 ай бұрын
@EndermanNULL a minigame within the spacecraft perhaps
A
A 4 ай бұрын
@EndermanNULL the game is free, provided that you beat his chess AI
CuddlyBubbles 69
CuddlyBubbles 69 5 ай бұрын
@EndermanNULL a feature of the game just add a chess board
EndermanNULL
EndermanNULL 7 ай бұрын
how he gonna fit chess in there
DJ-murlock
DJ-murlock Жыл бұрын
With that setup he could also be able to simulate death of his PC
Chosen Van
Chosen Van 2 жыл бұрын
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! :)
bloosea123
bloosea123 2 жыл бұрын
And God said, "calculateLight(N, N, N)", and there was light.
SolubleParrot
SolubleParrot Ай бұрын
True TMYK
MerpCat
MerpCat 2 ай бұрын
@Κώστας Καραπαπαχατζηδιμιτρακόπουλος Line 3 Mosses.cpp 🤣
RGBatom
RGBatom 3 ай бұрын
Unexpected “ “ at line 1 …ght(N
Lightning _11
Lightning _11 4 ай бұрын
To be honest, that's probably a lot closer to what happened that you might think.
saib adam
saib adam 4 ай бұрын
@AwesomeAl2.0 yes
A. Parker
A. Parker 2 жыл бұрын
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
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
flex Жыл бұрын
@Jyothish Kumar you think its that simple ? ok web developer
Jyothish Kumar
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
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
Teddy0567
Teddy0567 10 ай бұрын
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.
Widdlyscuds
Widdlyscuds 2 жыл бұрын
This makes me feel like I'll never be an even decent hobby programmer.
1Cool
1Cool Ай бұрын
Start with small projects (like really really small and simple) and go bigger and more complex when you feel like it
Rafał Sobczyk
Rafał Sobczyk 9 ай бұрын
I've been programming for a living for 6 years and I feel the same
Random Dude
Random Dude Жыл бұрын
@Jakub Surmacz I mean to be fair, programming is heavily related to math
LabGecko
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
French Bread Жыл бұрын
Best advice is just do it you got this
UKLCourses
UKLCourses Жыл бұрын
I reaaaally like the transition from the black space sky to the atmosphere. So natural.
Morgan Eclipse
Morgan Eclipse 2 жыл бұрын
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čiatko
Lietajúce Mačiatko 2 жыл бұрын
@TheDude oh I got roasted so hard omg 😣😣😣😫😭😭😭😭😭😭
TheDude
TheDude 2 жыл бұрын
@Lietajúce Mačiatko Neither of you are smart.
TheDude
TheDude 2 жыл бұрын
The comment above you is only at the top because Dani wrote it. Your number 1.
Lietajúce Mačiatko
Lietajúce Mačiatko 2 жыл бұрын
@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 Animations
BlueFire Animations 2 жыл бұрын
@Lietajúce Mačiatko Yes, but only a Dyson sphere and nothing else would be useless.
ScorpioHR
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
ScorpioHR Жыл бұрын
@KC He had to know what was so much more fun than playing with him.
KC
KC Жыл бұрын
why were you trying to teach your dog spreadsheets lmao
Pinkajou
Pinkajou Жыл бұрын
That’s fantastic.
Konrad
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
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 Wanderer
Canyon Wanderer 8 ай бұрын
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
Aspharon
Aspharon 2 жыл бұрын
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 Hubka
Matthew Hubka 2 жыл бұрын
@Vermilion I just make all my programs turing complete, so they can be used for all applications
Matthew Hubka
Matthew Hubka 2 жыл бұрын
Pugmaster000 it could also be because the size of everything is so far off from earth
Kalle Halvarsson
Kalle Halvarsson 2 жыл бұрын
@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 Hubka
Matthew Hubka 2 жыл бұрын
@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 Chira
Vlad Chira 2 жыл бұрын
@Jose Vera to be fair no technique is always 100% physically based
lilchorizo02
lilchorizo02 2 жыл бұрын
this legit makes me want to jump back into game development
Hristo Lilov
Hristo Lilov Жыл бұрын
This legit made me install unity again. Thanks i guess...
-Vanitas
-Vanitas 2 жыл бұрын
I watch this video once a day because I can't wait for the next episode.
Mahmoud A. Khalifa
Mahmoud A. Khalifa 2 жыл бұрын
Same bro
EmeraldUrsa
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 Narratives
Paul Witzel Narratives 2 жыл бұрын
I really hope this becomes a full game, with objectives and stuff
Call Me Tess
Call Me Tess 2 жыл бұрын
"that sped things up immensely, with the minor trade-off of completely ruining everything"
Andrew's Projects & Innovations
Andrew's Projects & Innovations 2 жыл бұрын
@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.
Jlewis
Jlewis 2 жыл бұрын
@verified_tinker lol
verified_tinker
verified_tinker 2 жыл бұрын
@Andrew's Projects & Innovations One third? You must be a programming god.
CASPERA
CASPERA 2 жыл бұрын
When a joke ironically describes programming in general
Thomas Gould
Thomas Gould 2 жыл бұрын
@Ovr Surge So did I
Lightning _11
Lightning _11 4 ай бұрын
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
CrypticSavage 04 Жыл бұрын
The fact that he can make these things make sense is astounding
Bayre
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
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 Bergmann
Colin Bergmann 2 жыл бұрын
This channel is so freaking inspirational. Now I want to make a game...
Kip
Kip 2 жыл бұрын
@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.
Kip
Kip 2 жыл бұрын
@SD GAMER 0734 of course, you would pretty much have multiplayer, lighting, physics, etc all done for you.
SD GAMER 0734
SD GAMER 0734 2 жыл бұрын
@peroh yea i know that but I don't know C# I only know of python
Red Bepis
Red Bepis 2 жыл бұрын
@Adventure Not lmao
mane
mane 2 жыл бұрын
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 Mestre
Sebastian Mestre 2 жыл бұрын
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
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
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.
TheReallyLargeKnome
TheReallyLargeKnome 2 жыл бұрын
This series never fails to leave me breathless and in awe. It's beautiful.
Duncan
Duncan 2 жыл бұрын
When he accidentally makes the best lesson on why the sky is blue.
Xavi Ondoño
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
Business Wolf Жыл бұрын
yep.
dewinchy
dewinchy Жыл бұрын
it's not blue, it only seems blueish cause blue is the strongest color of em all 🙃
thegreatestegg
thegreatestegg Жыл бұрын
What coding language is this ?
pop
pop 2 жыл бұрын
This comment as more likes than the dani one
Chazzwazzler
Chazzwazzler 2 жыл бұрын
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
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.
HalogenLightBlob
HalogenLightBlob 2 жыл бұрын
The transition at 21:25 was a wonderful prize for reaching the end of the video.
Hester Clapp
Hester Clapp Жыл бұрын
This looks absolutely amazing!
NamePointer
NamePointer 2 жыл бұрын
So "Coding Adventure: The Universe" is slowly but surely becoming reality...
TemmieTheCatgirlGamer
TemmieTheCatgirlGamer 2 жыл бұрын
@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 One
The Chosen One 2 жыл бұрын
No kidding. There is NO limit to how far he can take this.
Caps Lock
Caps Lock 2 жыл бұрын
@Eric Carroll later: "Coding Adventures: Coding a Sebastian Lague that code a God that creating a universe"
DoctorMandible
DoctorMandible 2 жыл бұрын
"If you wish to make an apple pie from scratch, you must first invent the universe." - Carl Sagan
Dave Falcon
Dave Falcon 2 жыл бұрын
Nah mate we already have spore for that...
Atomizer
Atomizer 2 жыл бұрын
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_1CY
Achraf_1CY 2 жыл бұрын
this guy is actually doing something i've never seen before keep up man 👍🏻👍🏻👍🏻👍🏻👍🏻🤩🤩🤩🤩🤩
DjSadhu
DjSadhu 11 ай бұрын
You are insanely talented sir. Physics, math, shaders, coding, and it all comes in a very smooth and entertaining package. Big fan.
Madhops
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 Academy
Game Makers Academy 2 жыл бұрын
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
Unknown Variable Жыл бұрын
@ok that's how my mom explained it to me when I was 3, so shaddap.
ok
ok Жыл бұрын
@The unknown ah yes because science it is because that the science of blue is blah
The unknown
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
ok Жыл бұрын
@Unknown Variable violet is the shortest wavelength tho
Soviet Tube
Soviet Tube 2 жыл бұрын
Dude your a fuckin genius
nagualdesign
nagualdesign Жыл бұрын
You just need to occlude the stars with the planets, as at the moment the night side of the planets look transparent.
ElNico56
ElNico56 Жыл бұрын
I love how the purple sky with green sunset that eve has in kerbal arises naturally
Santiago Benes
Santiago Benes 2 жыл бұрын
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
okaysimon
okaysimon 2 жыл бұрын
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 Hogan
Sam Hogan 2 жыл бұрын
Love this series! It's just incredible to see his process and everything come together so perfectly in the end
Papanatas
Papanatas Жыл бұрын
True 😊
zachary davis
zachary davis Жыл бұрын
@The Battle Engineer sad he no respond :C
The Battle Engineer
The Battle Engineer 2 жыл бұрын
@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 Darade
Dnyaneshwar Darade 2 жыл бұрын
@ChimiTrash what he can't learn if he is a KZbinr?
4P5
4P5 2 жыл бұрын
@ChimiTrash enjoying quality content? KZbinrs are humans too.
Dheeraj C
Dheeraj C 2 жыл бұрын
Your videos are so interesting, also the content you includes...it makes you a genius...more than any other developer I've ever seen
ajayaplays
ajayaplays 2 жыл бұрын
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
Genji Жыл бұрын
Wow... That is what I legit said outloud when watching this. Spectacular and phenomenal job
agustinbs
agustinbs 2 жыл бұрын
Looking forward to the next episodes for this series!
Parthajeet Sarmah
Parthajeet Sarmah 2 жыл бұрын
Moral of the story: If you can't model great and beautiful stuff, just procedurally generate them.
Ignas Petrauskas
Ignas Petrauskas 2 жыл бұрын
As easy, as that...
Nathan Stoddard
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. 🤘😃
Czechoslovakia
Czechoslovakia 2 жыл бұрын
16:01 You literally re-made the atmosphere of Eve from KSP and I love you for that.
P100
P100 2 жыл бұрын
češkoslovák
Czechoslovakia
Czechoslovakia 2 жыл бұрын
@Majestic Eagle I know, it just really looks like it.
Majestic Eagle
Majestic Eagle 2 жыл бұрын
Its not inspired by ksp at all
Jake Shar
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 catcher
oyster catcher 2 жыл бұрын
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
Casinator
Casinator 2 жыл бұрын
2:35 how is this synced so incredibly good...
camellia
camellia Жыл бұрын
he was prob listening to the music while he did it
Aidan Lavery
Aidan Lavery 2 жыл бұрын
I wondered the same thing
TheMagicat
TheMagicat Жыл бұрын
20:00 I love the massive RCS thrusters
Ezequiel Ciamparella
Ezequiel Ciamparella 4 ай бұрын
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ę Nazwisko
Imię Nazwisko 2 жыл бұрын
I wonder why Cyclop's atmosphere is purple. Perhaps there's some purple suspended particles floating around? Aeroplankton, perhaps?
Jack S
Jack S 11 ай бұрын
These videos are like crack to me. Amazing work, its awesome to see your passion in your work.
EnderMega
EnderMega 2 жыл бұрын
I like how it's entertaining and Im also learning code, math and science; nice work :D
Ethan Ray
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 Taylor
Alice Taylor 2 жыл бұрын
I absolutely love these videos! 💜
K.
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 Close
Heath Close 2 жыл бұрын
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
Lyrous Жыл бұрын
How do you make those math animations like at 10:17 ? Would be awesome for presentations at school!
Stephen Elder
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 Heringer
Nicolas Heringer 2 жыл бұрын
I'm a physicist and this serie is one of the most beautiful things I've ever seen.
Korok
Korok 2 жыл бұрын
@F23A# None but if you can admire a physic simulation as a physicist is has to be great
F23A# None
F23A# None 2 жыл бұрын
You don't have to be physicist to admire beauty, do you? )
MacMarc
MacMarc 2 жыл бұрын
How good are the formulas used in this video?
Adam Crockett
Adam Crockett 2 жыл бұрын
It strikes me that your flora and thorna should have evolved to suite the wavelength of light most efficient for photosynthesis.
Otar Kublashvili
Otar Kublashvili 2 жыл бұрын
The atmosphere was definitely what was missing! It looks stunning! Looking forward to other things like trees and animals, good luck!
Tem4rik
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
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 Vyas
Aditya Vyas 2 жыл бұрын
After simulating solar system..... Sebastian begins the journey to make his own UniVerse
Theodore Carman
Theodore Carman 2 жыл бұрын
Uncle Randy that would be quite the project XD
Uncle Randy
Uncle Randy 2 жыл бұрын
Coding Adventure: Conscious Life
SoulSukkur
SoulSukkur 2 жыл бұрын
he's already taking the procedural route. we know where that leads.
Ben Burnes
Ben Burnes 2 жыл бұрын
That apple pie isn't going to make itself.
Chirag
Chirag 2 жыл бұрын
DAMN
Glitchy
Glitchy Жыл бұрын
The worlds really remind me of Spore, either way, this was amazing!
Caio Castro
Caio Castro 2 жыл бұрын
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
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
YourLadBrennen Жыл бұрын
Me: tries to run anything that actually looks this good My Computer: Do you want to explode?
Noah Hughes
Noah Hughes 2 жыл бұрын
This stuff just makes me realize how crazy complicated real life is
Brick Videos
Brick Videos 2 жыл бұрын
@E-Kian Media ...until we learned about quantum physics. Then Schrodinger's cat took a large sh!t on that theory
Skipp
Skipp 2 жыл бұрын
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 Lemoine
Henri Lemoine 2 жыл бұрын
@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 Imran
Abdullah Imran 2 жыл бұрын
@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 Neff
Laurin Neff 2 жыл бұрын
@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 Gauthier
Jean-Xavier Gauthier 2 жыл бұрын
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
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 Ronicha
Jonnesty Ronicha 2 жыл бұрын
I would love to play a game using this engine! Are you planning on trying to simulate ecosystems?
absence
absence 2 жыл бұрын
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 J
Nat J 2 жыл бұрын
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
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 Badrinathan
Pranav Badrinathan 2 жыл бұрын
How do you have such beautiful presentations, like those graphs!?
LabGecko
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 K
M K 2 жыл бұрын
I don't usually comment, but actually this is the best video I have ever seen on youtube. Amazing job
Christian Tavera
Christian Tavera 2 жыл бұрын
Coding Adventures in 5 years: So today we will be watching our generated Alien civilizations fight against the multi-galaxy humans.
Kurtis Gibson
Kurtis Gibson 2 жыл бұрын
@Faizan Ahmad starlis, age of orion, star strike, space odessy ect ect
Faizan Ahmad
Faizan Ahmad 2 жыл бұрын
@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 Gibson
Kurtis Gibson 2 жыл бұрын
@Kavya i know because it's been done
Kavya
Kavya 2 жыл бұрын
@Kurtis Gibson ...
Parsa Tayebi
Parsa Tayebi 2 жыл бұрын
Stellaris...
Erzats Erz
Erzats Erz 2 жыл бұрын
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 Daloia
Marcus Daloia 2 жыл бұрын
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.
Coding Adventure: Ant and Slime Simulations
17:54
Sebastian Lague
Рет қаралды 1,4 МЛН
Coding Adventure: Boids
8:35
Sebastian Lague
Рет қаралды 1,3 МЛН
У меня было 60 000₽ #шилов #дмитрийшилов
0:44
Дмитрий Шилов
Рет қаралды 7 МЛН
SNEAKERS
0:30
Natan por Aí
Рет қаралды 36 МЛН
My First 10 Years of Game Development
11:25
Sebastian Lague
Рет қаралды 1,2 МЛН
Exploring How Computers Work
18:12
Sebastian Lague
Рет қаралды 2,5 МЛН
I Tried Creating a Game Using Real-World Geographic Data
31:37
Sebastian Lague
Рет қаралды 5 МЛН
Coding Adventure: Solar System
12:12
Sebastian Lague
Рет қаралды 692 М.
I Spent a Week Making an AI's Video Game Idea
17:51
Sebastian Lague
Рет қаралды 3 МЛН
Coding Adventure: Procedural Moons and Planets
22:48
Sebastian Lague
Рет қаралды 1,5 МЛН
Visualizing Data with 7-Segment Displays
34:26
Sebastian Lague
Рет қаралды 448 М.
Trying to Improve My Geography Game with More Real-World Data
36:11
Sebastian Lague
Рет қаралды 3,1 МЛН
Coding Adventure: Portals
16:06
Sebastian Lague
Рет қаралды 1,1 МЛН
Sorry Dad 😭😭😭🤣🤣 #shorts
0:10
dednahype
Рет қаралды 12 МЛН
Tom sings goes to the gym to be stronger than Blue
0:23
Tom Sings
Рет қаралды 19 МЛН
Little bro and sis cute family play game at home #DenAndYarn #Shorts
0:11
ضربتا ابرة ببطنا فكرت بالونه طلع حقيقي 🙄
0:28
طارق الحلبي tarik alhalapi
Рет қаралды 185 МЛН