Trying to generate some simple little moons and planets to fly about and explore.
Inspired by the (incredible!) game Outer Wilds.
Watch the next solar system video: • Coding Adventure: Atmo...
Previous solar system video: • Coding Adventure: Sola...
Project Files:
The Unity project is available on github here: github.com/SebLague/Solar-Sys...
If you'd like to support my work and get early access to new projects, you can do so here on Patreon: / sebastianlague
Resources:
www.redblobgames.com/x/1842-d...
www.iquilezles.org/www/articl...
/ normal-mapping-for-a-t...
/ four-ways-to-create-a-...
www.github.com/keijiro/KinoBloom
www.textures.com
Music:
"Brief Respite" by Antti Luode
"In the Clouds" by Falls
"When Rain Comes" by Tide Electric
"Reflections of Space and Time" by AEROPLANES
"Liminal" by Chelsea McGough
"Frontier" by Shimmer
"Sun and the Moon" by Moments
Sections:
0:00 Intro
0:25 Spheres
3:09 Craters
8:10 Noise
10:40 Triplanar Mapping
14:21 Planet Shape
15:28 Ocean
17:30 Planet Shading
20:06 Solar System
Hey everyone, hope you enjoy this latest coding adventure! It’s quite a bit longer than normal, I maaaay have droned on about some things longer than was really necessary :P But if you make it through, I’d love hear any suggestions you might have about how it could be improved, or about things that I should try add. One thing I have begun experimenting with already is adding atmospheres to the planets, so will likely be covering that at one point in the future :)
I’ve been waiting for this for so long! I love this because it reminds me of Outer Wilds and I love that game. Thank you so much. Also, for some ideas, maybe you could make an asteroid belt by generating lots of little asteroids of varying sizes, shapes, and colors, and making them go in orbit close to each other. You could also take the clouds from the clouds coding adventure and make them rotate/orbit around a point in the center of the planet and make them far away enough so that they are where they should be in the atmosphere. Perhaps you could even make gas planets by making the clouds larger and have them be varying colors. Lastly, maybe it would be cool if you could add a Hyperspace function to your ship which lets you travel to another solar system and basically reloads it so you can explore a new, fresh solar system. and by the way, congrats on 400k subs!
U the GOAT dude, really I have learned so much from this channel, keep it up you make one of the best content on here!
Please don't stop with this project! Add the clouds that you did in your previous project. Anyways, you're an inspiration man, I really enjoy your videos!
Amazing video
You can make the moons reflect some light from the Sun
He's the only magician that can explain all his tricks and still it seems like magic :D
I didn't know how to put this exact thought into words, thank you
Procedurally generated magic!
I think people are more referring to how the results have a certain magical appeal to them. Yes, it's just math, but he uses that math to create amazing things and he can tell you how he did it but that doesn't change the way the results make you feel. In a way it's almost more impressive that these things are the results of math, rather than sculpted and textured by hand. I think it also helps that he has good eye for color pallet selection, and/or a very good algorithm for color selection, since he was randomizing the planet and moon colors at one point, yet most of those color pallets still worked and where pleasing in that weird way that Sebastian's color pallets always are...
@@Realience same lmao
yay
Astronaut: wait... It's just a bunch of noise on the sphere? Sebastian Lague: Always has been...
Me: L
Wait, it's all just perlin noise? Always has been...
@@lucasoliveirasaintrain4298 OpenSimplexNoise ftw
That's all life is ... and until now we were looking for "meaning"?
This man could easily start another show, called "The Joy of Coding". Also he's like Bob Ross of programming
yes, yes, yes!
I definitely needed this.
Priceless observation!
Why Bob Ross?
@@astrocatsoft Soothing voice ....
Whenever I feel like a competent programmer, I come here to keep my ego in check.
bruh saame Im now deprrreeessed hahaha
You feel like a competent programmer sometimes?
Your very lucky either way. I don’t know a single thing about code, I couldn’t even figure out how to use GAMEMAKER💀💀🌝
Oh boy .. his work is amazing. If he continues his work he will have a release even before star citizen.
@@crptic9925 Ah,I recommend trying to understand how computer work cuz that helped me,im learning python after python then java from java to c++. But you can go with c++,but it will be harder. I recommend python or java first I dont know java and c++ yet cuz i didnt master python.
"Collaborated with Stack Overflow" is the programming quote of the century.
read that as he said it lol
@@johannesk.5039 to answer that,we need to talk about *P A R A L L E L U N I V E R S E S*
I for one have gone from a pure coder to a coder that copies and pastes a lot of code from stack overflow. Sure i can keep reinventing wheels but that is inefficient. now i am more of a code assembler
@@TheBelrick That's fair, programming seems like a job where it's a good idea to work efficiently, not hard
@@hazeltree7738 customers pay for end results. Not unique code that they never see
"Collaborated with Stack Overflow" xD
How do you collaborate with stack overflow
@@Hi_im_here"copy and paste"
@@thegoldenatlas753 That's plagiarism, not collaboration
@@Hi_im_herecommon joke that there is no plagiarism in coding. technically there is, but since coding is so insanely similar to pure math, gatekeeping an algorithm is like gatekeeping how to take a derivative. + not plagiarism if it's free use
15:41 "I then collaborated with Stack Overflow" - Every programmer ever
It's not stealing, it's collaborating
@@jammingend3781 I'm not arguing, i'm agreeing 😉
@@compugeniusprograms It's not your code, it's our code. 😉
@@Error_042 r/suddenlycommunism
I was just about to comment the exact same thing 😂
Alternative title: Sebastian makes an Outer Wilds prototype. The fact that a single person can make something like this is still absolutely crazy to me.
Reminds me on Outer Wilds too. Beautiful game ^^
@@Ahris_aus_der_8._Dimension i see that, but i thought of 'no man's sky' when i watched this video
yea, i think he used the outer wilds hud for in the ship lol
@@sichacha9718 i mean, aside from the ui, "the two twin planets that orbit close to the sun" is clearly cut and dry
I was thinking the same god bamn thing
imagine this combined with the portals to create a stargate like space station
That's a dang good idea
Imagine bringing the boids for the oceans, the simulated ecosystem for the lands and the cloud simulation into this
@@bamfyu I'm 99% sure he'll bring the clouds in.
@@russellbloxwich693 I'm almost certain he won't.... or not in the form as he showed in the cloud video. It was incredibly heavy on performance and to have _just clouds_ take up so much processing power isn't really sensible for a star system simulation. If it was something like an airship simulator or whatever then there might be a case for performance-heavy clouds as it'd be important for the game, but not like this
@@russellbloxwich693 @Tomáš Karlík Yes he'll have to go through a ton of optimization, and I'm not sure he wants to, as it's not supposed to be the focus of the series.
"I then collaborated with StackOverflow ..." Ah yes, a classic move in computer science ;)
i absolutely love how you are visually showing the concepts behind how you are using your code. I suspect that you are making a whole generation of kids fall in love with math. Thank you
@TheNerdThatCodes same man. But I already love math.
I absolutely agree. Because I'm one!
And im still over here like "LOOK MOM, I MADE IT SAY HELLO WORLD!"
Im still getting there myself, the last peak i had was "Look brother, i forgot to disable movement of the ai when they die so theyre just wandering corpses"
Why do I feel like eventually Coding Adventures is going to combine a lot of the features from the older Adventures, like the rabbits and foxes, from the ecosystem, e.t.c
Imagine if everything he has done is actually for one game and he combines everything like:Ok guys today I recreated real life in unity lmao
@@lietajucemaciatko383 we can see here the rabbits have developed space travel, and are about to fly to the fox planet
@@MartianSantas It seems like foxes aren't very happy about it and immediately slaughter them. Rabbits will have to find another planet to solve their overpopulation because of exponential growth
Probably because that's exactly what he's done in this video - I recognize stuff that was covered in more detail in several previous videos (Perlin noise, how to make meshes of spheres, colouring terrain etc.), and I think he even said explicitly this project was going to be an excuse to combine things learned in previous projects. Now I'm imagining a collaboration with ThinMatrix to put complex ecosystems and procedurally generated towns on the planets...
Put the Boids! In the water!
What is says: "Coding Adventure" What is really means: "No Man's Sky 2 - Devlog"
Lol
Universim
Or "Kerbal Space Program 2 - Devlog"
Thats just what I was thinking when I finished the video xD
People will be looking at this ten years from now, seeing how it all began... one guy just loves his math and code and actually did something with it
obviously, the main thing the planets need is atmospheric refraction. it's super weird looking out at a perfectly black sky in the middle of the day from the surface of a planet. EDIT: oh, apparently you agreed.
MY favorite line out of this "Here is my code for this, which is many times longer and more convoluted than it needs to be, so nothing unusual there." Every programmer's life story! Great video
20:35 "It's all noise?" Seb with finger on del button : "Always has been"
Varad Mahashabde this deserves top comment.
Underrated comment
an atmosphere would probably make some of the planets look a lot better from the surface. This is by far my favourite series can't wait to see what you make of it
Yes that's definitely something that could make things a lot more impressive than it already is, and this could probably be done with some post-processing magic
Yes this, plus the clouds from a former coding adventure.
An atmosphere is what I was going to suggest to.
And increasing radius. Mountains don't extend into space lol
I was thinking about that when I saw this comment...
The Outer Wilds-esque spaceflight primed my brain to anticipate the sun going supernova at the end, would've totally made my day if it actually did. Still mighty impressive stuff tho
if it were to go supernova it would be red, since i dont think yellow dwarfs can supernova yet.
@@s1nblitz I don’t think yellow dwarfs can supernova at all, unless provoked by a certain space station in low orbit around the sun.
@@s1nblitz (it didn’t work)
This guy: creates something incredible Also this guy: "it could be better...."
Damn. Now you can add the ecosystem, boids and even the clouds you made. With optimization, and probably cutting some high performing cost details, this could contains so much of your past work! Well done, inspiring as always.
Thanks! Yeah will definitely need to figure out some good optimizations, but there's a lot of cool possibilities :)
@@SebastianLague *arc-cos*: Is this like a personal attack or something? xD
@@SebastianLague for the planet heightmaps you could dispatch vertices on x and y compute axes and craterCount on z axis. If you convert a float to a unorm 32 with a min and a max, you could do atomic operations on them. This means your cache is way more coherent since every xy will read from the same crater until the z changes. And there won't be a for loop anymore. But since this is a one time thing it's probably not worth it (unless you generate with lots of verts and craters). Triplanar mapping is normally the heaviest part (especially with multiple textures like diffuse, metallic, roughness, etc.). But I haven't found a good way to get around this, except for introducing a seam or using procedural 3d textures. Or by reducing texture bandwidth and samples (like using rg32f instead of rgba8 albedo, r16f metallic, r16f roughness seperately. This does require manual unpacking and interpolation tho). This is an interesting series, keep up the great work
Make a fund me for a huge computer to do it all
@@SebastianLague BRO WHY DONT YOU COLLAB WITH NASA THAT WOULD HELP THEM A LOT(I AM JOKING BUT CAN YOU ADJUST PLANET PARAMETERS THAT IT SHOULD MIMIC SOME PLANET YOU CAN MAKE AN EUROPA(WILL TAKE MONTHS TO MAKE SOMETHING THAT CUSTOMIZE PLANET GENERATION TO MATCH EUROPA CAN JUST USE SOME CHUNKS OF LAND MAYBE 2*2 KM WIDE ) AND THEN CAN YOU (WILL TAKE YEARS) MAKE SOMETHING THAT SIMULATES DNA AND THEN YOU WILL PREDICT WHAT KINDS OF CREATURES WOULD BE THERE(CREATURE MODELS DONT NEED TO BE REALLY ACCURATE AND GOOD LOOKING JUST TO GIVE US IDEA WHAT WOULD LIVE THERE)(THEY CAN EVEN BE SQUARES AND DNA CAN BE LIKE A RANDOM CHANCE FOR LONG LEG, ONE MORE PAIR OF LEG, BIPEDIAL POSTURE, BIG MOUTH, BIG SIZE, BIG TAIL, BIG TAIL FIN AND THEN YOU CAN JUST MAKE A 2D AND MAKE AN ANIMAL PLANET DOCUMENTARY
at this point I'm expecting a "Coding Adventure: Conscious Artificial Lifeforms" soon
Ngl thst would be terryfying
"Coding Adventure: Creating The Matrix"
Hes generating planets, this technology has already been used a million times before, it is complex but its not new.
1:27 That's how they did it in No Man's Sky. Amazing!
Wait... What if our universe is just some guy on KZhead messing around with code for a really long time?
@Frederick Kellett heh
*reads internet comment sections* “Yes, hello? I’d like to file a bug report...”
well it is actually more likely than any other theory
Ah - but we are bigthink.com/mind-brain/are-we-living-in-a-simulation?rebelltitem=4#rebelltitem4
It’s like that Star Trek NG episode when they trapped their enemies in a simulation but then realized they couldn’t prove they weren’t in a simulation themselves
These videos are actually several years old and it's just a documentation of how No Man's Sky was made.
Outer Wilds, actually
Haha I literally had to look up the creators of Outer Wilds (Mobius Digital) to see if Sebastian Lague was on the team! Turns out he's not, but Hiro from the TV show "Heroes" is the founder of the company?! Man... I learn so much cool stuff from this channel.
@@mewion6774 this is better than no mans sky
@@hunterbuns at the beginning the lock on the planet is the same as the one in Outer Wilds!
"It's hard to get terribly excited about exploring a bunch of coloured spheres though" No Man's Sky players: Is that a personal attack or something?
Spore players: You have no claim, we were here long before you.
@@abbyalphonse499 lmaooo I remember spore, it was fun
Elite Dangerous 8 years ago: Height maps and different colours would be boring to explore so we shouldn't do that for planets Elite Dangerous currently: Nobody explores planets because it's just a height map and a colour
no you dont get it, sometimes they are shiny and have hexagons on them and other times they arent even the color they are supposed to be
6:53 very interesting that your crater definition process has an emergent property matching the natural ones, that is, the mound in the middle.
"Hard to be too terribly excited over a few colored spheres" oh really? I've been more excited watching this series than I've ever been in my life, keep up the good work and i absolutely love this even with only colored spheres
Sebastian, we all know you're making Spore 2. And we have one thing to say: Please do.
30 th like
You beat me to it! I'm so ready for Spore 2
Yes pleeeaaaseeee
Yeah, he should work for revolutionary games, he'd be a great help there, developing features for thrive
Thrive is already doing that, and already started on the cell stage which is pretty playable
Me at first: “yeah, coding makes sense and seems really fun!” Me now: “... well frick”
Same
Simple young grasshopper take time and make a simpler solution. Simple is just a matter of perspective
Sometimes, reading code is a lot harder than to write it. This is one of those times: you're seeing this quickly in a 20 minute video when it took the guy several hours or days. Also, keep in mind he's been using the time-honored tradition of copying and pasting code from other sources (such as the noise code). You don't have to understand a piece of code to be able to use it effectively.
And he probably has an IQ above 150. Great thing is that his humbleness hasn't eroded.
@@MartinToernby He's obviously really smart, but lets not pretend that he's some genius because of these videos (not saying he can't possibly be one). This just takes a lot of dedication and creativity, anyone who with some coding experience can learn it if they want
This is exactly like the game I dreamt of making when I was younger. That's so cool
funny to find u there
@@wouhou1626 howdy
@@nextProgram i didnt understood im french but ill take that as a compliment
@@nextProgram btw i do rly like ur videos
@@wouhou1626 Haha it just means hi. Thanks, I appreciate that!
Im an aspiring software developer, and I hope to someday understand this as well as you do. Can't wait to get my feet under me and take a look at all those juicy articles you mentioned!
2 years from now your titles are gonna be like "Coding Adventure: How I simulated the universe by accident again"
"What to do when your simulated organisms try to escape"
@@hoboshoe alt F4
Polski Obywatel *terminates the universe*
ad a pandemic to distract them!
@@balticpagan1495 Rewire the psychology of their main scientist who pointed it out during the pandemic, and now he is refuting his own logic
"Do you think the world is simulated and the moon and planets are just procedurally generated?" "Impossible."
🙏🙏
4:46
That mess at 8:46 was actually perfect texture for the moon
As someone who loves planet exploration games; you've probably made one of the best planetary games in existence up with astroneer and no mans sky.
Austronaut 1: wait. Its all coded? Austronaut 2: always has been *takes up gun*
No let it die pleaseee
engliksh good
ERROR: GUNS HAVE NOT BEEN IMPLEMENTED YET
australia nots
*Codes gun*
Sebastian in 2 years: Coding Adventure: Recreating Spore
please yes
Sebastian today: Recreating No Man's Sky
@@Evoleo kerbal space program?
Won't be that hard to make it better too :P
Recreating: the last of us part 2 ... in vr my guy
This is absolutely fantastic! Thank you for making these videos!
this guy: making some really good planets and explaining it me (has no idea what's going on): MAGIC MAN MAKE PLANET WITH WORDS
God 13 billion years ago "Coding Adventure: Light"
Also he has foil on his head (4:52)
You really believe a sky man went "hey this exists now" every day for a week and the universe was created
@@froo5667 yeah
@@froo5667 That's not how all Christians see the creation. A lot of people don't think it was an actual "day", and I personally think god used science to create us, he isn't magic.
@@monkeylicker638 the alchemist in the sky clumped rocks and dirt and water together and then stuck his finger in the water so the bacteria could swim away and evolve
"I collaborated with StackOverflow." I'm so stealing that.
Your content has me in awe! I am at the beginning of my coding journey and your content makes me excited to keep learning and discovering more and more possibilities. Thanks!
I can't express how much I love your videos! Thank you so much for them!
IDEAS: 1. Clouds/ Atmosphere 2. Rivers 3. Vegetation 4. Wildlife 5. FRICTION 6. Comets W/ tails! 7. Asteroid Belt 8. Lagrange points 9. Sun Radiation (closer = hotter) 10. Planet Rings 11. Different Types of Sun/Star 12. Foot Prints
**Stolen**
More Ideas: Volcanoes Spaceship Building using Unlocked Parts (Like KSP) Normal Radiation Biomes Gas Giants (could use the super cool warped noise) Going inside Gas Giants and having your spaceship be flung around and crushed Alien Civilisations (With different personalities and body types ranging from "human but it's feathery and a bird" to "something out of microbiology") Little Fragments Of Storytelling (A flag left on a barren moon, the remains of a spaceship in an asteroid belt, ruined cities) Megastructures AI Spaceships Space Animals (Like Nebula Whales from CGP Monsters) Space Combat Obligatory Portal 2 Easter Egg Spaceports Grey Goo Death Robots Space Book Of Space Things (Similar to the PVZ Almanac or the ETG Ammonomicon or the Spore Sporepedia/Collections Tab) Totally Not Spore Creature Editors Floaty Space Gas Cloud Stuff Black, White, and Brown Dwarfs Black Holes of DOOM! Unbreathable Atmospheres Tornadoes/Hurricanes/Cyclones Lava Oceans Sandworms Satellites (As in the metal cubes full of stuff) A- Aurora Borealis??? Distant Galaxies Oort Cloud Knockoff FTL Travel (Have to unlock the drive first) Cities And Colonies On Planets (Explodable) Rover Robots Planet Rotation Forward Facing Sprite Grass The Pulsar Gang Binary Systems Protoplanetary Disks Missions Cool Star Effects (Sunspots and Prominences) Boid Fish and Food Chains Protostars Solar flares that can murder you
@@Bacony_Cakes lol. I can only like.
@@Goferek5 indeed a beautiful game named reality :)
@@paolo8339Or, Star Citizen.
These videos are amazing. Can't wait for the next installment in the space series! Keep up the incredible work.
I love the coding adventure series so much keep it up!
As a developer with like 7 years of experience, I really hope I'll get on your level someday. You're absolutely genius, thank you for these videos!
As a CS student this reassures me a lot haha
good luck with that ,
Was thinking the same thing. Playing around with game engines is what got me in programming in the first place. But, now that I have a career as a developer, I'm just in awe with Seb's videos. It's insane.
@@ghriankashtagelenski6577 i was thinking the same before i knew he's onyl 22 y.o ... he is a hard working passionate , i think he was learning and working with unity at least each week for the 7 years on youtube and every time he tried to do something he learn a lot i would love to hear how he did it so i can mimic or do more , but to think you can reach his level easly it's not going to be possible
@@otmanemj7453 You'd be suprised what you can be capable of when you put your mind to it ;)
"I collaborated with StackOverflow" Definitely going to say this any time I show someone my finished projects because it sounds wayy cooler than "I looked up an algorithm for how to do that"
Everything you do always looks so simple. So cool.
This is beautiful! Thanks for the amazing video!
Soon, the beings inside these planets would start thinking..."are we living in a simulation?"
And then someone starts coding space games on that planet, And upload videos to their internet... And someone comments on the video "Soon, the beings inside these planets would start thinking..."are we living in a simulation?"" and then someone replies with "And then...
@@knownas2017 Demn
I started watching this video like: "I'm gonna watch just a few secs and close this tab", and now I'm fascinated by this channel
I mean I don't understand half of the video but I still watching until the end
I'm a programmer, I know how to deal with things I don't understand, I do this everyday, in the end I always master what I need/want
you're welcome to the club pal
I know nothing of programming, but am in love with everything this channel does.
Same!,,
Amazing. Thanks for sharing this knowledge.
I love how my brain's recognition of the outer wild style ui was immediate. Honestly thought it was some beta version or mod for a sec.
Sebastian: There's still some room for improvement for the moons Me: *Struggles do the same in Blender*
Find or create a noise and a crater heightmap and simply sculpt the 2 onto a multiresed square that was casted to a sphere
That's amazing. At the end all I was thinking of was Spore's planets!
Thank you :)
Same.
Ah, memories
Same! I've been playing SPORE a lot recently, and was struck by the suggestion of creatures wandering around the planets! Wondering if reverse kinematics and the procedural texturing in the video could do plausible procedural critters.
@@SebastianLague Sebastian Please notice me I want to ask you a question: for the procedural terrain generation, did you end the series, or are you planning on making more videos? I would only like you too make 1 more if possible, and that is procedural object placement.
This is actually beautiful. I actually brought snacks to watch this because this is literal art. Fantastic content I love everything you post
I've re watched this video countless times, it never gets old!
This looks stunning, I am speechless. Keep up the good work!
Thanks!
YES FINNALY PART 2 I HAVE WAITED FOR SO LONG THANK YOU CODING GOD
Man you are getting me crazy omg all the work you do is astonishing. I’ll take inspiration from you, thank you
holy shit. its finally here 😢
I seriously want to know. How long does this actually take Sebastion to code it and research? I mean this looks so overwhelming, I guess I couldn't even come up with a solution for how to code it and I'm always like watching with my mouth open
He should make a livestream or something that shows his real-time process of doing an experiment like this.
Yeah, that must have taken some looong time.. I tried to do exactly what he just did couple months ago, and gave up after realizing how much time and effort it would take. I just waited for his video. And I feel satisfied.
I'm hoping we can get a reply from him?
Yesterday evening i had the idea of watching this video to relax and learn a bit about the topic. Quickly started to notice that the content will blow my mind and if i continue watching i wouldn't sleep but think of the code all the time and do researches myself. This is such high-class, just genius!
There's 2 months between first and second video. Plus take into account work/life balance, free time, his video editing skills, he might also work on something else...also his project is probs more advanced than he shows, he waits for enough content to make a video. Still pretty fast with all this in mind, not sure I would achieve the same result even with the 2 months *fulltime* :p
Now just imagine how much effort a No Man's Sky developers has put into the game making their planetary generation model
How have I not heard of ur channel till now, ur amazing
Someone has been really enjoying outer wilds haven't they :)
please don't call it THE ... people are already confused between Outer Wilds and The Outer Worlds
@@NinjarioPicmin yep he confused me lmao
@@NinjarioPicmin fixed
some things you could add: * ambient light along with atmosphere on your planets * varied gravity by size * you could make your water bodies glow on certain colors to simulate lava or something radioactive etc * add a rudimentary chemical system, temperature, light and biome data and then run some evolutionary simulations on it to try and get some wacky life forms to inhabit the planet as flora or fauna (or somehow a combination of the two)
And then hopefully release that as a game because that sounds incredible.
You adventures are just AMAZING - I love the clear logical path you take and the results are stunning
Thank you for this. Love the code explanation
KSP planet artists: Exists Sebastian: Ima bout to end this man's career.
well... lets not forget KSP is providing fairly similar visuals on a *much* more massive scale, which is pretty ridiculous considering how smoothly the game runs with all of that.
@The Lavian 1992 called - they want their "year called" joke back
i feel like this game is going to eventually incorporate everything learned in the series so far
we learned almost nothing. It is more like a showcase
@@joepeters8746 Look at older vids, there are many cool tutorials
@@joepeters8746 perhaps Sorley De Cesare meant everything Sebastian learned in the series.
15:00 getting a strong Kerbal Space Program vibe here :)
Amazing. This brings tears to my eyes, tears of joy. Such beauty.
And there will still be people saying, they won't ever need math in real life.
And since 99.99% of people will never program anything, how are they wrong?
Well, is that real and daily life if it is not your job?
or do you need math for virtual life :D
fr, I underestimated the amount of math that went into these programs. I guess I never thought about it that hard before, but it's really exciting
Well, maybe they will, but I doubt they can remember everything.
Next time... Coding Adventure: Creating life Coding Adventure: Sentient AI
you need an atmosphere (out now) for life
@@serphon5784 This is the next video
Underrated Comment 👀
Dude this is straight up like outer wilds! Great work. Very nice to see.
Watching you make this was actually insane and super inspiring.
I feel like there needs to be some atmospheric Rayleigh scattering so the backs of mountains aren’t so dark. Magical though.
I'd love to see some atmospheric shaders, generating a sky for each planet when you land. Another thing you could do to help your colors be a little less ugly and a little more realistic is perhaps randomly select the planets composition out of real world common molecules (iron, silica, limestone, copper, carbon, h2o) and generate colors and specularity based off the composition of a planet. Obviously that's a lot of up front research to get that data and a way to represent it, but I think once you've done the ground work it'll result in much more realistic and familiar planetary colors. these are just suggestions of course, love your work and super excited to see where you take it next.
But 8 years later players will be looking up spectrum analyses for silicon to find the best planet to harvest for their galaxy conquering robot army.
Well you called it
This is amazing, really nice work
"Wake up sheeple, that's no moon!" /Brilliant./
Dyson sphere?
"Collaborated with StackOverflow" ah yes, as every good programmer should
A tip for the specular highlights: Every model of specular highlights is at its core simply the dot product between the half vector (vector to the eye + vector to the light, normalized) and the surface normal. Fancy variations of this, like GGX, just remap this curve using some polynomial. Unity has all their shader math on github, which is a great reference: github.com/UnityTechnologies/ScriptableRenderPipeline/blob/64b9e6dd41a16e0a984afb682dfd430b8cbc9c5b/com.unity.render-pipelines.lightweight/LWRP/ShaderLibrary/Lighting.hlsl#L270 Regarding the mountains, and terrain noise in general, i recommend that you look into Inigo Quilez' method of using noise derivatives to simulate erosion (which is what No Man's Sky used): www.iquilezles.org/www/articles/morenoise/morenoise.htm
This is the level of excellence I should strive for. Great work.
Bloody love your videos! I used to program turbo pascal and machine code in the late 80’s so i have no idea how to do what you do but i can see the logic in it. Your voice is so great and the subjects so interesting, love your vids!!!
Maybe the next thing to add is an atmosphere to the planets, the lighting in the planets could be improved a lot, the sky should be {color} (more room to play with (: imagine an orange sky with green sunlight or something), also the planets need to be scaled much much more but that needs optimization. and one last thing to say, if you intend to make this a real game with a gameplay loop and all, may I suggest making it a strategy exploration game, we have ton loads of first-person exploration games, but just imagine if you could create a colony or something, control all of you species, gather resources, build, manage, fight ... etc and perhaps instead of being an infinite game loop, maybe the goal is to build a giant ship to escape the solar system and go back home, and to build it you need to harness the sun power, which needs a lot of work, I don't know man it's just the endless possibilities and I have to only watch but you will have to do all the work (: cheers man as always amazing content
Great ideas, I could definitely see this become a badass strategy game, involving various gameplay elements such as technological advancement, resource gathering, and working to cohabit the various ecosystems in your world without destroying them. Could make it really difficult to sustainably develop your planetary system without destroying your planets, for realism, of course.
yeah great idea, it would be cool to if the game has a bad or good ending, which the players will chose, the good ending was to adapt to ecosystems and live in a sustainable way, or the bad ending, where to build the ship the player chooses to use all resources without caring about the planet, making it uninhabitable, and escaping to another planet with the resources, until he builds the ship
@@l0k048 I didn't think of it that way (duh humans) but that really gives it more depth, greate point of view
"a strategy exploration game" Sounds like the kind of game that Spore's Space Stage should have been.
15:50 _"I then collaborated with stackoverflow"_ What a lovely way to say you got stuck, asked for help and some nice person told you the answer. :)
The stack overflow community is surprisingly toxic
Amazing! Congrats for this great job.
Wow! This is amazing! I finally have time to get a bit into gamedev and im used to the math from my degree but seeing the applications here is so fun to see and really inspiring! Its especially nice to see since my experience with "coding as work" was a assembly line process ripped of any creative problem solving where all you had to do is making pre existing frameworks like each other and copy paste boilerplate code.
Sebastian: "That's pointless" Me: "Actually there are an infinite number of poi-" Sebastian: "d i d I a s k"
what
@@noob_ukko2771 Grats on having the most irritating name on KZhead.
@@noob_ukko2771 lmao ur name goes off the right hand side of my screen
@@danrayson thanks
The simplest way to fix the seams is to generate a "skirt" for each patch, simply a ring of polygons around the edge extruded down towards the center with the UV's and normals copied
remove the skirt
no
Like ... many little pyramids overlapping near the base?
This guy never ceases to blow my mind! Mad skills bro!
The amount of work that you put into your videos is astounding, every second is brimming with detail and polish. Most importantly, your videos are fun. I think you are the best content creator on KZhead, truly.
For anyone that finds this even mildly interesting you just HAVE to check out Outer Wilds. It is one of the best games to come out last year if not the best, and Sebastian Lague was obviously highly inspired by it for this video series.
🙏🙏🙏🙏
These planets orbiting around each other close to the sun, and one called the fiery twin... I see no resemblance here.
Imagine this guy being the creator of No Man's Sky:But cooler
This would have to go a looong way to be cooler than No Man's Sky
@@eitantour8059 Not really. NMS is cheating. What you see from space has nothing to do with what the planet up close is like. You're not "seemlessly" close in. There is basically a fancy loading screen inbetween. The Matrix-ish shimmering is arguably worse than a little cut ould be. In Elite, Space Engine, even in cheap indie games Emyprion and Space Engineer that is much more elegant. The tiny crater you see from space at any distance is the very crater you can land in. Seemless in the first two, a bit less seemless in the other 2 games. I always felt this part of NMS, it's most famous feature actually, got WAY more praise then it deserves. Even at the time and certainly nowadays.
Actually No Mans Sky is good now.
@@ChrisNinjaEagle Is it? :D When did it became good?
@@NFSCsapat It happened awhile ago, they updated the game more, the usual. Basically they released the game 3 years too early
This is very interesting to watch and it makes me want to learn procedural generation, that was always my favorite mechanic in games.
really amazing! I dont understand most of it but I enjoy watching it all to the end! :) thank you!
Beautiful work Mate, After adding so many layers, we finally made the Onion :D Can't wait to try it myself, specially that "using noise as an offset for noise" technique, That almost simulated the Jupiter surface for me.
Thanks! Yeah I thought about trying to do some sort of gas giant with the warp noise, but to make it animate nicely I think it's probably necessary to do a fluid simulation. Maybe there's some tricks I haven't thought of for faking it nicely though. Would like to experiment with this at some point!
Also called Domain Warping!