How I like to program Smoke

  Рет қаралды 40,733

Pezzza's Work

Pezzza's Work

Күн бұрын

Пікірлер: 109
@thefollower1345
@thefollower1345 3 жыл бұрын
This channel truly never disappoints.
@phreshmints
@phreshmints 3 жыл бұрын
beautiful, i love how you show the development step by step
@gimmethedata4256
@gimmethedata4256 3 жыл бұрын
yeah I do too, it really does show how to break down such a problem.
@Brigtzen
@Brigtzen 3 жыл бұрын
1:42 wait so these are actually just rotating boxes underneath the textures?! My mind is *smoked*
@Anvilshock
@Anvilshock Жыл бұрын
Always has been. *_points gun_*
@niceguy6384
@niceguy6384 Жыл бұрын
​@@Anvilshock 🤣🤣🤣
@IlSharmouta
@IlSharmouta 3 жыл бұрын
Looks like the colors are multiplying. Making color overlays additive would make it look real nice, especially for the explosions. Awesome stuff. Kids these days take particle systems and all their parameters for granted (myself included)
@bubbleboy821
@bubbleboy821 Жыл бұрын
I was thinking collision but that may be a simpler solution
@unknown-re9vv
@unknown-re9vv 3 жыл бұрын
Great video, I like how you kept it simple and clear. I’m still a beginner at programming so it’s helpful to see how to approach a problem and break it down into smaller steps. Keep going man!
@Brigtzen
@Brigtzen 3 жыл бұрын
0:04 Smoke 0:17 Motion 0:55 Transformations 2:16 Create explosions 2:43 Examples 3:38 Thanks for watcing! (A little firework/smoke show)
@Grgrqr
@Grgrqr 3 жыл бұрын
Thanks
@Brigtzen
@Brigtzen 3 жыл бұрын
@@Grgrqr ヽ(✿゚▽゚)ノ
@jesper9622
@jesper9622 2 жыл бұрын
Such an underrated video. Simply explained and beautiful visuals.
@UmzGames
@UmzGames 3 жыл бұрын
Incredible! This is really brilliant, such a simple explanation, we can apply this to any language and any engine.
@Tarou9000
@Tarou9000 2 жыл бұрын
Yes, i did it on scratch, lua is next
@alystair
@alystair 3 жыл бұрын
Could make things more dynamic by having an ambient temperature value and the a second value for the particle stream to change the stream's added vertical motion. Also wonder if allowing particles to 'push' each other in a limited way could make it feel more 'real'. Neat!
@frosty7674
@frosty7674 3 жыл бұрын
Wow man, you theoretically made a tutorial I love it!! I was wondering of making a particle system, this helps :)
@crazyguys7923
@crazyguys7923 2 жыл бұрын
Absolutely brilliant way to name the video, this isn't necessarily "the correct way," it's just the way I like to do it
@rashid.harvey
@rashid.harvey Жыл бұрын
Absolutely amazing work. Brought the idea perfectly to the point by splitting it up into the individual relevant pieces
@user-gq7sv9tf1m
@user-gq7sv9tf1m 3 жыл бұрын
Amazing video! I like how you abstracted away from the code
@starship9874
@starship9874 3 жыл бұрын
Awesome, I really hope you do more videos where you explain stuff!
@Khether0001
@Khether0001 3 жыл бұрын
These are looking VERY good!!! I think there is a sweet spot when you are scaling each particle at a certain speed compared with the speed they are moving, imagine you have a sphere on each of the planes of a given particle, the ones on the side facing outside are resisting the atmosphere whereas the ones facing the inner side are expanding but also being "left behind" (like if you throw a ball forwards and another backwards on a moving car), so the particles may be moving too fast in the beginning and the scaling seems a little to slow for that (I think that may be it)... but that's such minute tweaking, this is looking VERY GOOD, and thanks for sharing your process!
@nemooverdrive760
@nemooverdrive760 3 жыл бұрын
The break down of the whole process was interesting. I didn't know you could program smoke so cleverly
@TheDroidsb
@TheDroidsb 2 жыл бұрын
I ended up using this technique to implement smoke in a project of mine! It looked super good! Thanks for the tutorial :D
@PezzzasWork
@PezzzasWork 2 жыл бұрын
I'm glad it helped!
@cvdbdo9471
@cvdbdo9471 3 жыл бұрын
Your work and step by step process is always inspiring
@ТимурШульга-ц4ф
@ТимурШульга-ц4ф 3 жыл бұрын
Yo man watching you mb an half of year, cool stuff
@sergodobro2569
@sergodobro2569 2 жыл бұрын
I liked it, it shows how the idea and result is born!
@yell9140
@yell9140 3 жыл бұрын
Keep up the good work Pezzza.
@axlvc509
@axlvc509 3 жыл бұрын
This looks great!
@______373
@______373 2 жыл бұрын
I expected this. If I was going to make some smoke I would do exactly this. But anyways looks very cool. Add collisions and it will be perfect for a game.
@deltha_the_1st
@deltha_the_1st Жыл бұрын
Salut Pezzza, je voudrais te dire que ton travail m'impressionne, et sachant qye je souhaite me lancer dans la programation,tu me donne toutes les bonnes clés,merci!
@FriedMonkey362
@FriedMonkey362 Жыл бұрын
My mind is blown, you keep amazing me
@Piokoxer
@Piokoxer Жыл бұрын
you make it look so simple!
@frosty7674
@frosty7674 3 жыл бұрын
We need more like this
@MourningRyze
@MourningRyze 3 жыл бұрын
Another great video as always :)
@yahia1355
@yahia1355 3 жыл бұрын
this is so beautiful !
@dimarichmain
@dimarichmain 3 жыл бұрын
I like how it feels like a true gas simulations while it's not.
@truyerroe
@truyerroe Жыл бұрын
thx for the idea! i have coded it in scratch now :))
@RickoCraft
@RickoCraft 3 жыл бұрын
Best "universal" tutorial ever
@dandymcgee
@dandymcgee 3 жыл бұрын
particle systems are always fun
@mayrhofermanuel6332
@mayrhofermanuel6332 3 жыл бұрын
Amazing! Nicely done!
@pyroblasted
@pyroblasted 3 жыл бұрын
This. Is. Amazing!
@Grgrqr
@Grgrqr 3 жыл бұрын
I had no idea how these things worked before haha I just thought they were very small particles
@bigmistqke
@bigmistqke 2 жыл бұрын
Very satisfying
@niloytesla
@niloytesla Жыл бұрын
beautiful!
@niccy266
@niccy266 3 жыл бұрын
That was beautiful
@dydierripe5611
@dydierripe5611 3 жыл бұрын
poggers
@vvcaw
@vvcaw 3 жыл бұрын
Awesome stuff!
@grieljis4172
@grieljis4172 3 жыл бұрын
Wow very nice ! But how did you add this texture, its so smooth and beautifull when added
@TreeFrogOnATree
@TreeFrogOnATree 3 жыл бұрын
Ahh, good ol' SFML :D
@rang3r0wnin
@rang3r0wnin 3 жыл бұрын
This looks amazing, but i need much more ant war in my life!
@ChrisFotosMusic
@ChrisFotosMusic Жыл бұрын
I read the title "I like to program how I smoke"
@davidmurphy563
@davidmurphy563 Жыл бұрын
Lovely, I take it "add texture" was an image. I find code a nice perlin works well if you combine it with a voronoi.
@dradex9562
@dradex9562 2 жыл бұрын
Thank you, this helped me out in creating my own custom particle emitter and it looks way better than the default one. Can you make a video on creating explosions? Like actual real-looking ones?
@kg3217
@kg3217 3 жыл бұрын
That felt like Holi + Diwali 😁
@dhg7089
@dhg7089 3 жыл бұрын
Man i love it
@turdle69420
@turdle69420 3 жыл бұрын
ay yo pizza, are ur ants gonna be grenadiers soon?
@DogeisCut
@DogeisCut 2 жыл бұрын
This is really cool but how did you make the texture?
@shanewalsch
@shanewalsch 3 жыл бұрын
Really cool
@tyrendel
@tyrendel Жыл бұрын
Thanks a lot for sharing, the result is really nice! Have you tried making the particles rotate depending on their position from the output? It could give a rocket exhaust effect
@pikzerz
@pikzerz 2 жыл бұрын
you should make it so the particles slightly collide with each other
@match_mc114
@match_mc114 3 жыл бұрын
That "add texture" step was like 99% of the work... I wish that was explained.
@PezzzasWork
@PezzzasWork 3 жыл бұрын
It indeed does a lot but there is nothing special to explain, I just swapped the white rectangles for static textured sprites
@match_mc114
@match_mc114 3 жыл бұрын
@@PezzzasWork Are they still rectangles? The whole step by step process was awesome, it just seemed like that last one carried the team.
@Djellowman
@Djellowman Жыл бұрын
cool!
@MrBajaJunky
@MrBajaJunky 2 жыл бұрын
What does it mean to add texture?
@OlegTikhiy
@OlegTikhiy 3 жыл бұрын
Wow thanks!
@HarryplaysOMG4
@HarryplaysOMG4 2 ай бұрын
This is great work! What’s the music tho? Cant seem to find it + its great music
@chifodic6758
@chifodic6758 Жыл бұрын
this impressive shit
@SCPokSecondaccound
@SCPokSecondaccound Жыл бұрын
Now make it more like mustard😏
@whermanntx
@whermanntx 2 жыл бұрын
One more step on your smoke, add physics so smoke can push other smoke, like a fluid would.
@suaeb175
@suaeb175 3 жыл бұрын
Nice
@angelo.strand
@angelo.strand 2 жыл бұрын
Is this the smoke used in your drone video?
@PezzzasWork
@PezzzasWork 2 жыл бұрын
Yes, it’s exactly the same process
@angelo.strand
@angelo.strand 2 жыл бұрын
@@PezzzasWork ooo that’s really cool
@AlienLogic775
@AlienLogic775 3 жыл бұрын
Why not white noise for the texture? For performance reasons?
@masynchin
@masynchin 3 жыл бұрын
Where do you found background sound?
@MYP.3UK
@MYP.3UK 3 жыл бұрын
really beautiful, but is it possible to do the same in 3D?
@alpers.2123
@alpers.2123 3 жыл бұрын
polyhedrons with transparent texture?
@Gutagi
@Gutagi 3 жыл бұрын
@@alpers.2123 or flat planes with different angles, might work even better
@h989l
@h989l Жыл бұрын
are you adding friction to diffused those particles?
@puppergump4117
@puppergump4117 2 жыл бұрын
At first I thought it would be complicated, but all you did was throw some sprites around and change them up. I guess I should stop trying to break problems down from what they look like, and instead just find out how they act.
@niccy266
@niccy266 3 жыл бұрын
7th. Love your work!
@nicolaicushnir9328
@nicolaicushnir9328 3 жыл бұрын
It would be great, dude, if you make a Christmas tree in C ++ that flashes with different colors like in real life. As for the video, it is not bad, there is something to work on. At the end I want to say I liked this video.
@jacobweinstein9136
@jacobweinstein9136 3 жыл бұрын
Who else is watching this while smoking
@trinityy-7
@trinityy-7 3 жыл бұрын
read as “how i smoke”
@lagadeno965
@lagadeno965 3 жыл бұрын
Bro can u tell me what library did u use to code this and where can I learn this stuff
@theamorphousblob
@theamorphousblob 4 ай бұрын
pretty sure he does it all himself. never underestimate this man.
@vinvic1578
@vinvic1578 3 жыл бұрын
What's SFML?
@ariseyhun2085
@ariseyhun2085 3 жыл бұрын
Is nice, I like
@khatharrmalkavian3306
@khatharrmalkavian3306 3 жыл бұрын
Most of this could be offloaded to a shader. I mean, not in SFML, but...
@d3vz0ne
@d3vz0ne 3 жыл бұрын
How did you texture the smoke?
@PezzzasWork
@PezzzasWork 3 жыл бұрын
Texturing step is just swap white rectangles with static smoke sprite
@d3vz0ne
@d3vz0ne 3 жыл бұрын
@@PezzzasWork Thank you! Do you have a link for the sprite?
@alpers.2123
@alpers.2123 3 жыл бұрын
Add turbulence
@DsiakMondala
@DsiakMondala 3 жыл бұрын
bruh
@eigentensor
@eigentensor 3 жыл бұрын
Cool video! I don't think that's what amortised means though.
@Mspalebluedot-id2if
@Mspalebluedot-id2if 6 ай бұрын
Actually is it possible to do in C?
@PezzzasWork
@PezzzasWork 6 ай бұрын
Yes sure! Why not?
@Mspalebluedot-id2if
@Mspalebluedot-id2if 6 ай бұрын
Okay,
@Mspalebluedot-id2if
@Mspalebluedot-id2if 6 ай бұрын
I am actually thinking of implementing small simulation of ur codes in cuda,
@itsdogpaw
@itsdogpaw 3 жыл бұрын
what am i doing here
@yourfutureself4327
@yourfutureself4327 Жыл бұрын
🤍💨
@JehanSaren
@JehanSaren Жыл бұрын
fake smoke😅
@FahrurRoziqin
@FahrurRoziqin 2 жыл бұрын
why its sounds horror
C++ Ants Simulation 6, Editor
7:38
Pezzza's Work
Рет қаралды 210 М.
Turning bugs into Art
7:43
Pezzza's Work
Рет қаралды 196 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 28 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 5 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 34 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 44 МЛН
Writing a Physics Engine from scratch
9:24
Pezzza's Work
Рет қаралды 211 М.
I Made an Entire Game from Particle Physics
9:01
Gonkee
Рет қаралды 458 М.
How Particle Life emerges from simplicity
10:16
Tom Mohr
Рет қаралды 364 М.
Designing a Physics Engine in 5 minutes
7:37
Winterdev
Рет қаралды 157 М.
6 Months of Voxel Physics Engine Optimizations
8:17
Grant Kot
Рет қаралды 48 М.
Real time Fire Simulation
7:23
Pezzza's Work
Рет қаралды 158 М.
Realtime 2D Gravity Simulation
12:31
Brendan Galea
Рет қаралды 419 М.
AIs learn to WALK
20:21
Pezzza's Work
Рет қаралды 60 М.
Building a Physics Engine with C++ and Simulating Machines
11:23
AngeTheGreat
Рет қаралды 714 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 28 МЛН