C++: Perlin Noise Tutorial

  Рет қаралды 16,069

Zipped

Zipped

Күн бұрын

Пікірлер: 29
@ridhamsharma618
@ridhamsharma618 4 ай бұрын
ngl this explanation is underrated
@drag0nblight
@drag0nblight 10 ай бұрын
Best explanation of Perlin Noise so far.
@tigerding8418
@tigerding8418 4 ай бұрын
Elegant explanation. Seriously.
@rafa_br34
@rafa_br34 8 ай бұрын
I can't deny I loved the time and dedication you put into this video, and I found it underrated even (honestly we need more quick videos like that guide through the theory and the implementation). Some improvements could be made, for instance, when describing how octaves work you could have shown all the images used to create the final result (maybe even a legend with the parameters used), but that's just my opinion. Also (not that I have anything against SFML, in fact I myself have used it) but it might be interesting to mention other (considerably easy) ways of encoding images for people with less C++ experience (PPM, some single header PNG encoder, etc). Again, that's just my opinion on the changes that could be made, your explanation of how the algorithm works was basically perfect. I will definitely be looking forward to more content of yours.
@arthursmalle2276
@arthursmalle2276 2 ай бұрын
Thanks for the good explanation 👍 very clear and down to business
@ahmedhamed-of8xw
@ahmedhamed-of8xw 3 ай бұрын
very good explanation wow🥰🤩
@KS-qe9yu
@KS-qe9yu Жыл бұрын
This is an excellent video. Thanks a lot.
@Juss_Chillin
@Juss_Chillin Жыл бұрын
Great explanation, great animations, great video!
@Y.Albasel
@Y.Albasel 6 ай бұрын
This goes into my 3d terrain generator
@Astro_retired
@Astro_retired 9 ай бұрын
Amazing tutorial, straight and simple.
@gustafbstrom
@gustafbstrom Жыл бұрын
Nice and clear. Well done.
@MrPartzz
@MrPartzz 9 ай бұрын
Great explanation.
@hellfire0332
@hellfire0332 Жыл бұрын
Great video. If you wanted to wrap the noise on the left and right edges so that they flow smoothly (such as in a terrain generated world map), what modifications would you need to make to this code?
@vladmunteanu5864
@vladmunteanu5864 Жыл бұрын
You'd probably have to take the module of your x and y coordinates depending on the size of the texture you want
@yugsolanki4766
@yugsolanki4766 Жыл бұрын
Great video
@Mochu_s_Junkyard
@Mochu_s_Junkyard 7 ай бұрын
What a great video
@kilianvounckx9904
@kilianvounckx9904 Жыл бұрын
Awesome video, learned a lot! One question: in the main function, you create the pixel array with new, but never use delete. Does this mean it is leaked?
@zipped1214
@zipped1214 Жыл бұрын
Thank you, glad it helped! That's an excellent question and you're totally correct, that's a mistake and I should have called delete on it before ending the program. The program memory will still be freed once it closes, so the memory isn't really leaked, but if we had a longer program or called the main function in a loop for some reason, then yes that could become a problem. Nicely done on spotting that!
@kilianvounckx9904
@kilianvounckx9904 Жыл бұрын
@@zipped1214 Since I only learned c++ last year, I was told to always use a std::array, never raw arrays. It will take care of this automatically with RAII
@varshneydevansh
@varshneydevansh Жыл бұрын
amazing
@athuldas44
@athuldas44 6 ай бұрын
i have a doubt interpolation is something that runs in a loop but you run it only once here like what this actually gets you anyone
@delqyrus2619
@delqyrus2619 7 ай бұрын
0:43 Because you fade it in and out there is no real visual difference between the two. A sharp edge bewtween them would visually show the difference more.
@flixtocicgaming3576
@flixtocicgaming3576 18 күн бұрын
Lmao what😅
@arthurklause5251
@arthurklause5251 9 ай бұрын
thx !
@Tarlecinia
@Tarlecinia 5 ай бұрын
Can you do it for python and without using noise module? Your video is very good but i can only code python not cpp👍👍
@oliverpetrovic3689
@oliverpetrovic3689 Жыл бұрын
❤❤
@SomeGamerDoesGaming
@SomeGamerDoesGaming Жыл бұрын
🥵🥵🥵
@pshr2447
@pshr2447 11 ай бұрын
Random Gradient function should've been explained in detail, saying that it's out of scope of the video just feels wrong. That part feels like an interesting aspect don't suppose it's out of scope, unless this video is just supposed to explain only the Math and not the code in which case it is incorrectly titled. I'm not a hater.
@Astro_retired
@Astro_retired 9 ай бұрын
It's just a deterministic function to avoid precalculating random vectors. You can easily replace it by creating a two-dimensional array with percalculated vectors and use it instead of calculating those vectors every time. Probably that's the reason why he didn't explain this function, it's not necessarily a part of generating perlin noise.
Programming Perlin-like Noise (C++)
27:54
javidx9
Рет қаралды 105 М.
How to turn a few Numbers into Worlds (Fractal Perlin Noise)
15:24
The Taylor Series
Рет қаралды 198 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing
22:44
Rendering 2D objects - Software from scratch
1:45:23
Muukid
Рет қаралды 27 М.
Better Mountain Generators That Aren't Perlin Noise or Erosion
18:09
Josh's Channel
Рет қаралды 432 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 159 М.
Emulating a CPU in C++ (6502)
52:28
Dave Poo
Рет қаралды 1 МЛН
Minecraft terrain generation in a nutshell
25:49
Henrik Kniberg
Рет қаралды 163 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 160 М.
My Adventure with 3D Perlin Noise
4:28
Nova840
Рет қаралды 480 М.
I.7 : What is OpenSimplex Noise?
17:46
The Coding Train
Рет қаралды 112 М.
Value Noise Explained!
16:21
The Art of Code
Рет қаралды 35 М.