- 9
- 126 540
Zipped
Canada
เข้าร่วมเมื่อ 25 ก.ค. 2021
C++ CUDA Tutorial: Theory & Setup
Part 2: [WILL BE UPLOADED AUG 12TH, 2023 AT 9AM, OR IF THIS VIDEO REACHES THE LIKE GOAL]
This tutorial guides you through the CUDA execution architecture and setup for running a basic CUDA program. I explain the differences between CPU and GPU processing, delve into CUDA's execution model, and discuss indexing conventions. You'll be walked through the setup process using Visual Studio 2022 and the CUDA Toolkit. We end by running a test program, preparing you for Part 2 where we'll explore the Mandelbrot set using these fundamentals.
Links:
Visual Studio 2022: visualstudio.microsoft.com/vs/
CUDA Toolkit: developer.nvidia.com/cuda-downloads
Contacts: IG: @xzips, Discord: @mr_io
This tutorial guides you through the CUDA execution architecture and setup for running a basic CUDA program. I explain the differences between CPU and GPU processing, delve into CUDA's execution model, and discuss indexing conventions. You'll be walked through the setup process using Visual Studio 2022 and the CUDA Toolkit. We end by running a test program, preparing you for Part 2 where we'll explore the Mandelbrot set using these fundamentals.
Links:
Visual Studio 2022: visualstudio.microsoft.com/vs/
CUDA Toolkit: developer.nvidia.com/cuda-downloads
Contacts: IG: @xzips, Discord: @mr_io
มุมมอง: 6 721
วีดีโอ
C++: Perlin Noise Tutorial
มุมมอง 15Kปีที่แล้ว
In this video, we dive into Perlin noise, a gradient noise function primarily used in computer graphics for producing natural-looking procedural content like terrains and textures. We break down its layered structure, explore the importance of octaves, and guide you through the algorithm and its C implementation. Finally, we sample the noise function and display a preview using SFML (SFML Visua...
C++: Orbital Gravity Simulation Tutorial [Part 3: Colors!]
มุมมอง 3.6Kปีที่แล้ว
In this video we add some more particles, as well as nice colors to our gravity simulation. I apologize for the unreal delay in making this video, expect more, higher quality content soon. Code the video began with: pastebin.com/Vgkmx1LD Final code in case you get lost along the way: pastebin.com/qZNaMdYh Please let me know if anything was unclear or I made a mistake, thank you so much! Contact...
C++: Orbital Gravity Simulation Tutorial [Part 2: Math & Physics Breakdown]
มุมมอง 13K2 ปีที่แล้ว
In this video we explore the mathematics and physics behind an accurate orbital gravity simulation, as well as an implementation in C . Code the video began with: pastebin.com/djRk9StF Final code in case you get lost along the way: pastebin.com/Vgkmx1LD Please let me know if anything was unclear or I made a mistake, thank you so much!
C++ SFML: Orbital Gravity Simulation Tutorial [Part 1: Setup]
มุมมอง 10K2 ปีที่แล้ว
In this video we set up our classes and get an idea of where the series is going, stay tuned for the next episode! Initial boilerplate code: pastebin.com/wTcmQ9nJ Final code: pastebin.com/chMfJUB9 Thanks for watching, and see you all in the next one :)
C++ SFML Beginner Tutorial EP3: Drawing Text
มุมมอง 12K2 ปีที่แล้ว
This video is the third part to my C SFML beginner tutorial series. In this video we learn how to create text with a specific font, and customize its attributes such as content, color, and position. Timestamps 0:00 Intro 0:20 Boilerplate Code 1:10 Loading Fonts 2:54 Text Object 3:58 Customizing Text 5:31 Final Words / Outro End Timestamps Boilerplate (Starting) Code: pastebin.com/0Gh0s49w SFML ...
Use C++ to FORCE BLUESCREEN any Windows PC!
มุมมอง 2.7K3 ปีที่แล้ว
In this video we explore one method to artificially create a "blue screen of death" using C and some officially undocumented functions from "ntdll.dll" I do not recommend running this code yourself, since I cannot guarantee its safety to your hardware and system. However, if you absolutely want to, the source code can be downloaded from pastebin at the link below. Code: pastebin.com/esi0UGUc Un...
C++ SFML Beginner Tutorial EP2: Drawing & Moving Shapes
มุมมอง 35K3 ปีที่แล้ว
This video is the second part to my C SFML beginner tutorial series. In this video we create a square that bounces off the sides of the window. Timestamps 0:00 Intro 0:16 Creating a Window 1:13 Main Event Loop 3:08 Checking for Events 4:34 Creating a Shape 6:43 Drawing a Shape 8:26 Moving a Shape 10:02 Basic Edge Collision 12:15 Outro End Timestamps Final Code: pastebin.com/EKqABDJ5
C++ SFML Tutorial: Installation
มุมมอง 28K3 ปีที่แล้ว
This video explains how to install and set up simple and fast 2d graphics library by the name of "SFML" for use in Visual Studio 2019. Future videos will go into depth as to how it all works. Follow me on Instagram: @xzips Timestamps 0:00 Intro 0:30 Download 1:55 Visual Studio 2:20 Project Setup 4:46 Test Program End Timestamps SFML download link: www.sfml-dev.org/download/sfml/2.5.1/ Linker "A...
thank you so much
Great Video, Great Explanation, Waiting for part 2 😢.
Visual Studio 2022: If you're still running into LNK2001 errors, try deleting every "-d" in the Additional Dependencies in the description. Not sure why, but it worked for me
Thanks for the good explanation 👍 very clear and down to business
when i execute the program, I am getting the green circle.... what do I have to do?
very good explanation wow🥰🤩
ngl this explanation is underrated
Elegant explanation. Seriously.
Can you do it for python and without using noise module? Your video is very good but i can only code python not cpp👍👍
Good tutorial. Would be nice to make the window full screen and use a sprite. Would make a great screensaver then. I am going to have a go at that. Not done sprites yet. PS. I did the same tutorial with a circle. Strangely I had to change the x, y bounds to be different for the x and y for it to bounce of the edges. Now I want to work out how to make it full screen. For some reason though there is a little jitter in the movement. Not as smooth as I would like.
I hope you are well. Waiting for your next video
To clarify for newbies watching "sf::Keyboard::isKeyPressed(button)" is designed to check input in real time This form can also be outside the "pollEvent" loop, anywhere Especially for the "(poll/wait)Event" loop: if (event.type == sf::Event::KeyPressed) if(event.key.scancode == sf::Keyboard::Scancode::(needed_key)) { //action }
BRO WHERE IS THE SECOND VIDEOOO????😭😭😭😭😭😭
Thank you so much! It helps me.
This goes into my 3d terrain generator
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
dude it's awesome, as a complete beginner to c++ and sfml i started my journey from your channel . please keep it up
5TH time that i find a cool channel that no longer uploads videos 😪
What a great video
The 64bit download worked for me...THANKS !!
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.
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.
winmm.lib and gdi32.lib are not in the lib folder. how is the linker supposed to link them?
thx ! <3
Amazing tutorial, straight and simple.
oh, man, thank you so much!! Finally a tutorial that really works!! All other tutorials have more than ten min and simply dont work. You won one more sub!
Am I the only one who always calls all objects blocks?
Thank you this tutorial actually works
Great explanation.
can i save the code as a batch file or sm?
you can just save the compiled .exe output and run that to initiate the code
Wtf you been
When part 2..?
sorry how can i save the configuration of the cpp file so i dont need to set up that again for new projects
Best explanation of Perlin Noise so far.
pastebin be like: 🔥🎆
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.
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.
Bro: for (GravitySource &gs : sources) { //.... } That's if you don't need an index.
I have 'EXPLORER' but i do not have a solution explorer where i can right click and get these extensive options, i have no idea how to navigate to the properties.
cannot open include file: "SFML/graphics.hpp error, when trying to dynamic link i did eveything you sayed it doesent work pls help
make sure "Graphics.hpp" has a capital G, if that doesn't fix it, make sure you have "x86" selected at the top of the editor near the run button, if that doesn't fix it reply again and I'll see if I can help
@@zipped1214 wooooooow x86 fixed the error thax you omg.(sorry for the late answear )
This is the best video among others, been searching for hours and finally something simple and clean and best quality ✨
For those having problems, download the 64-bit version of SFML instead. Thank you for the video! Still working today in 2023.
Omi gosh. Tank you so much for the help. I was ripping my loins because it was rofling so hard. I swear i was this close to KOBEING MYSELF INTO AN ONCOMING Helicopter like Kobe did. Thank you so much for the help. TLDR: Yeah if it doesn't work use the 64 bit version.
Thank you very much, I couldn't understand why the tutorial wasn't working for me and changing to 64 bit fixed it. Btw, do you know why this is?
Is there a way to set it up if you have a project in github and put it in the project itself, to then link it from there, essentially dinamically, because other people can't run the program
BRO ITS SHOWING PACMAN.EXE ANOT FOUND
I'm a bit late, but is there a way to make the setup episode's config the default for any new project made?
thank u very much!! great tutorial
nice, thanks. i was wondering why my object does not move. turns out i have to setPosition on the shape, not just any other item
0:10 I like your TaskBar. Tip: You can remove those two Lines before the Icons in the Middle. Just "Right-Click" on TaskBar and Choose "Lock The TaskBar".
absolute legend, the comment I did know I needed, thank you 😄
Nice and clear. Well done.