Тёмный

Wave Function Collapse demo building a (very simple) level in Unity 

madeofdinosaurs
Подписаться 225
Просмотров 70 тыс.
50% 1

A small demo project I put together to try implementing the Wave Function Collapse algorithm. This is purely so I could explore the algorithm, it's not intended for anything further at this stage.
I procedurally generated the actual level tiles too, it seemed a better idea than trying to model them all - and also helped simplify the process of generating socket descriptions.
For more details on the algorithm, I highly recommend: • Superpositions, Sudoku...

Кино

Опубликовано:

 

19 фев 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@thomasrosebrough9062
@thomasrosebrough9062 2 года назад
A good way to make this more clear (without having to be an artist which I totally get) might be to add some simple colors, like beach sand and grass. That way the result can show off what cool stuff the algorithm is actually doing. Still very cool video though, one of the most succinct explanations of WFC I've ever seen
@growleryTube
@growleryTube 2 года назад
That's a nice suggestion, thanks for the considered reply.
@sendark001
@sendark001 Год назад
displaying all the possible tiles as candidates is a really cool idea
@V8sim
@V8sim 2 года назад
Very good approach to visualize the idea behind the code
@freyajean
@freyajean 2 года назад
Great work!
@j.hutchy
@j.hutchy 2 года назад
Very cool
@alboris8203
@alboris8203 2 года назад
Really nice explanation and visualization of a cool concept. Made it easy to understand what was taking place. Though, I do wonder how effective this is at making ‘good’ levels, since a valid layout does not guarantee that it will be interesting, organic, or whatever it is you’re going for. Maybe an idea for a follow up video? Really nice job
@smiley_1000
@smiley_1000 2 года назад
Straight and to the point
@darkdwarf007
@darkdwarf007 2 года назад
awesome!
@Ash_18037
@Ash_18037 2 года назад
You are either very easily awed, or an american.
@HandleDisliker
@HandleDisliker 2 года назад
I have absolutely no idea what is being said here, but I'll put this in my "learn this" playlist, and watch this later for when I have some idea for what the heck is going on lol. Will look forward to that time!
@growleryTube
@growleryTube 2 года назад
If you want really good explanation, I’d recommend this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2SuvO4Gi7uY.html
@ytka1870
@ytka1870 2 года назад
Cool
@Just_A_Simple_Time_Traveller
@Just_A_Simple_Time_Traveller 2 года назад
Nice
@loganismay5661
@loganismay5661 Год назад
Hey there, would it be possible to put this project somewhere for download? I am an aspiring solo game developer but am struggling to make something very similar to this for a procedurally generated, puzzle-based roguelike game I am currently working on. Would mean a lot :D
@growleryTube
@growleryTube Год назад
Hi - sure - I've popped all the files here: drive.google.com/drive/folders/1nVxV_KxNnf7dgswipSajlJtgRHaql3GC?usp=sharing It's currently setup for Unity 2021.3.1f1 I'm unable to offer any kind of technical support I'm afraid, it's very much a what you see is what you get. There are potentially simpler ways to do what you need. Worth looking for videos re. making of Spelunky for a similar/different approach that's proven to work.
@stickguy9109
@stickguy9109 2 года назад
Now make gta but generate los santos procedurally
@ibethmartinez8525
@ibethmartinez8525 Год назад
what program do you use for the 3d models
@growleryTube
@growleryTube Год назад
They’re made procedurally too. In Unity you can create your own mesh, it’s fairly simple to then build a small 2x2 grid of cubes.
@kauto3D
@kauto3D Год назад
Do you have a tutorial or could you make one on how to do this? I would really appreciate it.
@growleryTube
@growleryTube Год назад
I found this really helpful when trying to understand it myself: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2SuvO4Gi7uY.html
@Eurotool
@Eurotool 2 года назад
What's a wave function collapse?
@jussivalter
@jussivalter 2 года назад
it is related to quantum mechanics. Wave function describes the quantum state of particles. Collapse means that a particle that is in superposition, i.e. in all possible states, collapses and gets one particular state. Read about superposition and you will understand more.
@AlexPBenton
@AlexPBenton 2 года назад
There’s a great GDC video on it, (just search for GDC Wave Function collapse) but to put it simply, you start with each tile having all possible outcomes, then you resolve the first tile randomly, remove any options that are made invalid by that resolution from the other tiles, and continue the process with the tile that has the fewest possible options.
@kaleygoode1681
@kaleygoode1681 2 года назад
Sudoku Cells with finite states and simple rules limiting the possibly states of neighbouring cells.
@tawandagamedevs
@tawandagamedevs Год назад
Something your dead father wouldn't let you do coz he cared
@Virsho
@Virsho Год назад
I thought this was about quantum physics
@i-make-robots
@i-make-robots Год назад
"fits" *its*
@the.meepiest1171
@the.meepiest1171 2 года назад
I would like some free online custom program that you don't need to log in to use.
@fideys
@fideys Год назад
mainecreaft?!??
@growleryTube
@growleryTube Год назад
No, they're both procedural - but different approach. There's a lot of videos already out there re. how Minecraft works - just do a search for 'Minecraft Perlin Procedural'
@iLikeCoffee777
@iLikeCoffee777 2 года назад
Good but boring but quick. A good example brought low by the laziness of bad graphics. Can't fault you too much though since I did actively click on the video.
@growleryTube
@growleryTube 2 года назад
Thanks, I think! :) I wouldn't describe myself as an artist, & also the blocks are intended to be super-basic, not production assets - the intent was just to show how you can build things using the method. If I use the technique in a game I'll post again with hopefully more attractive visuals.
@YOOOOOOOOOOOOOOOOOOOOOOOOOOOO
@YOOOOOOOOOOOOOOOOOOOOOOOOOOOO 2 года назад
it's a demo of the algorithm... how is it brought down by the primitive assets, the point is to demonstrate the algorithm, not make a game from it. How is your comment even contructive u just said it's boring cause it looks bad even though obviously it is a demo as it says in the title. smh 🤦‍♂
@planetfixer
@planetfixer 2 года назад
@@growleryTube he's baiting. you're simply too nice for it to work
@generichuman_
@generichuman_ 2 года назад
"brought low by laziness", says the guy with no profile pic, and one video on his RU-vid channel from 6 years ago... Also, It's a video on an algorithm, not a video on graphics. People are good at different things. If you did anything at all besides sitting on your butt watching RU-vid videos, you would realize this.
@NoTengoIdeaGuey
@NoTengoIdeaGuey 2 года назад
** Builds a from-scratch reproduction of a fairly complex mathematical algorithm in one of the more difficult programming languages to procedurally generate 3D game levels on the fly** You: "this is what laziness looks like" 🤡🤡🤡
Далее
how to wave function collapse (part 1)
0:46
Просмотров 20 тыс.
TYLA DANCE TREND😭 | #shorts #emilydobson
00:12
Просмотров 2,6 млн
독창적 해결방안 영상 제작
0:14
NGT31 Quick Graphics Demo
0:51
Просмотров 19
Townscaper and the Design of Cities
6:45
Просмотров 627 тыс.
Tom & Jerry !! 😂😂
0:59
Просмотров 49 млн