Zipped
Zipped
  • 9
  • 126 540
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
มุมมอง: 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...

ความคิดเห็น

  • @AungAung-ow5sx
    @AungAung-ow5sx 7 วันที่ผ่านมา

    thank you so much

  • @sachinthranv6865
    @sachinthranv6865 13 วันที่ผ่านมา

    Great Video, Great Explanation, Waiting for part 2 😢.

  • @tiagooliveira5613
    @tiagooliveira5613 14 วันที่ผ่านมา

    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

  • @arthursmalle2276
    @arthursmalle2276 หลายเดือนก่อน

    Thanks for the good explanation 👍 very clear and down to business

  • @dynastyadiboss790
    @dynastyadiboss790 2 หลายเดือนก่อน

    when i execute the program, I am getting the green circle.... what do I have to do?

  • @ahmedhamed-of8xw
    @ahmedhamed-of8xw 2 หลายเดือนก่อน

    very good explanation wow🥰🤩

  • @ridhamsharma618
    @ridhamsharma618 3 หลายเดือนก่อน

    ngl this explanation is underrated

  • @tigerding8418
    @tigerding8418 3 หลายเดือนก่อน

    Elegant explanation. Seriously.

  • @Tarlecinia
    @Tarlecinia 3 หลายเดือนก่อน

    Can you do it for python and without using noise module? Your video is very good but i can only code python not cpp👍👍

  • @TheTimeProphet
    @TheTimeProphet 4 หลายเดือนก่อน

    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.

  • @irfanjames6551
    @irfanjames6551 4 หลายเดือนก่อน

    I hope you are well. Waiting for your next video

  • @sleepyNovember_project
    @sleepyNovember_project 4 หลายเดือนก่อน

    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 }

  • @lulworthcove4577
    @lulworthcove4577 5 หลายเดือนก่อน

    BRO WHERE IS THE SECOND VIDEOOO????😭😭😭😭😭😭

  • @蔡易達-e3p
    @蔡易達-e3p 5 หลายเดือนก่อน

    Thank you so much! It helps me.

  • @Y.Albasel
    @Y.Albasel 5 หลายเดือนก่อน

    This goes into my 3d terrain generator

  • @athuldas44
    @athuldas44 5 หลายเดือนก่อน

    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

  • @rupdeepsarkar1627
    @rupdeepsarkar1627 5 หลายเดือนก่อน

    dude it's awesome, as a complete beginner to c++ and sfml i started my journey from your channel . please keep it up

  • @legui444532
    @legui444532 6 หลายเดือนก่อน

    5TH time that i find a cool channel that no longer uploads videos 😪

  • @Mochu_s_Junkyard
    @Mochu_s_Junkyard 6 หลายเดือนก่อน

    What a great video

  • @sapy4124
    @sapy4124 6 หลายเดือนก่อน

    The 64bit download worked for me...THANKS !!

  • @delqyrus2619
    @delqyrus2619 6 หลายเดือนก่อน

    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.

  • @rafa_br34
    @rafa_br34 6 หลายเดือนก่อน

    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.

  • @emmettdja
    @emmettdja 7 หลายเดือนก่อน

    winmm.lib and gdi32.lib are not in the lib folder. how is the linker supposed to link them?

  • @arthurklause5251
    @arthurklause5251 8 หลายเดือนก่อน

    thx ! <3

  • @Astro_retired
    @Astro_retired 8 หลายเดือนก่อน

    Amazing tutorial, straight and simple.

  • @soaresdiego333
    @soaresdiego333 8 หลายเดือนก่อน

    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!

  • @cross45809
    @cross45809 8 หลายเดือนก่อน

    Am I the only one who always calls all objects blocks?

  • @alexter2o2
    @alexter2o2 8 หลายเดือนก่อน

    Thank you this tutorial actually works

  • @MrPartzz
    @MrPartzz 8 หลายเดือนก่อน

    Great explanation.

  • @APNPOGBA6GOD
    @APNPOGBA6GOD 9 หลายเดือนก่อน

    can i save the code as a batch file or sm?

    • @zipped1214
      @zipped1214 9 หลายเดือนก่อน

      you can just save the compiled .exe output and run that to initiate the code

  • @49shivangtiwari52
    @49shivangtiwari52 9 หลายเดือนก่อน

    Wtf you been

  • @MerrickKing
    @MerrickKing 9 หลายเดือนก่อน

    When part 2..?

  • @alessandrograzzi3646
    @alessandrograzzi3646 9 หลายเดือนก่อน

    sorry how can i save the configuration of the cpp file so i dont need to set up that again for new projects

  • @drag0nblight
    @drag0nblight 9 หลายเดือนก่อน

    Best explanation of Perlin Noise so far.

  • @mworld
    @mworld 9 หลายเดือนก่อน

    pastebin be like: 🔥🎆

  • @pshr2447
    @pshr2447 10 หลายเดือนก่อน

    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 8 หลายเดือนก่อน

      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.

  • @mworld
    @mworld 10 หลายเดือนก่อน

    Bro: for (GravitySource &gs : sources) { //.... } That's if you don't need an index.

  • @yoyoyo-on3uf
    @yoyoyo-on3uf 10 หลายเดือนก่อน

    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.

  • @User-qc7gn
    @User-qc7gn ปีที่แล้ว

    cannot open include file: "SFML/graphics.hpp error, when trying to dynamic link i did eveything you sayed it doesent work pls help

    • @zipped1214
      @zipped1214 ปีที่แล้ว

      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

    • @User-qc7gn
      @User-qc7gn 11 หลายเดือนก่อน

      @@zipped1214 wooooooow x86 fixed the error thax you omg.(sorry for the late answear )

  • @sbsarkavri5436
    @sbsarkavri5436 ปีที่แล้ว

    This is the best video among others, been searching for hours and finally something simple and clean and best quality ✨

  • @railey5184
    @railey5184 ปีที่แล้ว

    For those having problems, download the 64-bit version of SFML instead. Thank you for the video! Still working today in 2023.

    • @lolsterf4147
      @lolsterf4147 ปีที่แล้ว

      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.

    • @luisqwerty1
      @luisqwerty1 6 หลายเดือนก่อน

      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?

  • @МартинБелчев-л2ч
    @МартинБелчев-л2ч ปีที่แล้ว

    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

  • @aniketsubudhi2872
    @aniketsubudhi2872 ปีที่แล้ว

    BRO ITS SHOWING PACMAN.EXE ANOT FOUND

  • @AustinNeverMisses
    @AustinNeverMisses ปีที่แล้ว

    I'm a bit late, but is there a way to make the setup episode's config the default for any new project made?

  • @julianaskuratovsky8701
    @julianaskuratovsky8701 ปีที่แล้ว

    thank u very much!! great tutorial

  • @DavisTibbz
    @DavisTibbz ปีที่แล้ว

    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

  • @irfanjames6551
    @irfanjames6551 ปีที่แล้ว

    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".

    • @zipped1214
      @zipped1214 ปีที่แล้ว

      absolute legend, the comment I did know I needed, thank you 😄

  • @gustafbstrom
    @gustafbstrom ปีที่แล้ว

    Nice and clear. Well done.