How to do Rendering using C++ - From installing the tools to implementation

  Рет қаралды 20,690

Pezzza's Work

Pezzza's Work

Күн бұрын

Пікірлер: 166
@paskaziemia5347
@paskaziemia5347 2 ай бұрын
0:26 using edge only to find Firefox
@PezzzasWork
@PezzzasWork 2 ай бұрын
I was sure someone would notice :)
@IdoN_Tlikethis
@IdoN_Tlikethis 2 ай бұрын
this is the way
@mghemke
@mghemke 2 ай бұрын
Also, install visual studio, but not visual studio, then install cmake and git and write your code with clion. In other words, how to develop on windows without developing on windows ;-)
@makeandbreakgames1791
@makeandbreakgames1791 2 ай бұрын
As someone who just switched from chrome to Firefox, i approve!
@himanshubakshi5680
@himanshubakshi5680 2 ай бұрын
Pezza, bro this was all I was struglling on and you helped me out, I cant be more appreciative
@PezzzasWork
@PezzzasWork 2 ай бұрын
You're welcome :)
@segganew
@segganew 2 ай бұрын
*Opens Edge* *Installs Firefox*
@nikkosstorychannel
@nikkosstorychannel 2 ай бұрын
Babe wake up, pezza just uploaded
@naezith
@naezith 2 ай бұрын
I made and released the game "Remnants of Naezith" using SFML, between 2014 - 2018 so this is incredibly nostalgic for me ♥
@PezzzasWork
@PezzzasWork 2 ай бұрын
I didn't know about your game, I just checked the Steam page and it truly looks amazing! Very impressive work
@naezith
@naezith 2 ай бұрын
@@PezzzasWork Thank you, I watched nearly all your videos, super inspiring stuff
@PezzzasWork
@PezzzasWork 2 ай бұрын
Thank you :) !
@PatrickHoodDaniel
@PatrickHoodDaniel Ай бұрын
Sucha wonderful tutorial. Thank you for sharing!! Your (and Sebastial Lague's) videos are the ones I get really excited about when they appear on my feed. Love the ending.
@TunedThrust
@TunedThrust 2 ай бұрын
This is what i have been waiting for from you!!
@scienceboy908
@scienceboy908 2 ай бұрын
Same
@Kynatosh
@Kynatosh 2 ай бұрын
Wow you do really try to explain everything, I thought this would be more about SFML but you show the whole IDE and compiler installation process, this is awesome for beginners
@nolram
@nolram 2 ай бұрын
As far as I am aware, the C++/CLI option isn‘t about commend line tools - those are always installed with the compiler - but rather a mode of interop with the .NET framework called C++/CLI (common language interface)
@shailist
@shailist 2 ай бұрын
You are correct. It also says that when hovering over the option. Ticking the extra option is unnecessary. The Developer Command Prompt is installed automatically when you install the C++ Desktop Development workload.
@Rumplestiltzchen
@Rumplestiltzchen 2 ай бұрын
I love that you get a clean machine and literally the first thing you do is install firefox
@nyzss
@nyzss 2 ай бұрын
got a bit burnt out of cpp due to a school project (which is making a webserver in cpp std++98 lol) and i've been coding again for 3 hours since initially watching this video. finally got back my will to code, thank you
@kajij
@kajij 2 ай бұрын
That is insane. I was always wondering what to use for physics simulation rendering and did my research to decide for SFML. Very convenient to have a guide here!
@ro0n655
@ro0n655 2 ай бұрын
the fact that you used an virtual machine just to make it easier to follow along is awesome.
@EduCoderPL
@EduCoderPL 29 күн бұрын
22:06 Bro, let me tell you that we very appreciate your creativity in ending screens that have always reference to project taht you do :)
@Lombardio
@Lombardio 2 ай бұрын
I get excited every time I see your channel in my notifications. Keep'em coming!
@martonadi85
@martonadi85 2 ай бұрын
I usually don't comment on anything, but in this case I have to say that this channel is one of the best and I can't wait for a video to be uploaded. All the best and keep up with the awesome projects. Thank you!
@Seedx
@Seedx 2 ай бұрын
Perfect Timing, was just learning SFML for a school project and this vid showed up 🙏
@PezzzasWork
@PezzzasWork 2 ай бұрын
I hope it will help :)
@Seedx
@Seedx 2 ай бұрын
@PezzzasWork it did, finished coding minesweeper for my final project, thank you 👍
@2_Elliot
@2_Elliot 2 ай бұрын
Wow! This is one of the best tutorials I’ve found so far. Definitely keep making them!
@codedeus
@codedeus 2 ай бұрын
Can't wait for the GUI video!
@joe-rios
@joe-rios 2 ай бұрын
This kind of videos, where you show "how to", are so useful. Thank you very much!
@codedeus
@codedeus 2 ай бұрын
Again such quality, even as this is not your usual kind of video
@ike__
@ike__ 2 ай бұрын
even though i dont need this, i do appreciate you starting from a clean vm. amazing stuff.
@StevenJAckerman
@StevenJAckerman 2 ай бұрын
Very nice. Thank you for taking the time to document this process and for sharing !
@honda_lawnmower_69420
@honda_lawnmower_69420 2 ай бұрын
Je savais pas que t'étais français, j'adore tes vidéos, elle m'ont toujours donnés pleins d'idées de projet perso pendant mes études, merci beaucoup ❤️
@hennadiikolesnikov5266
@hennadiikolesnikov5266 2 ай бұрын
Well that is just a masterpiece. Never seen such easy-to-watch tutorial. Watched it not cause need it, but just enjoyed my time
@redoxee
@redoxee 2 ай бұрын
This is a stellar introduction to a bunch of topics!
@totoooenf5
@totoooenf5 2 ай бұрын
- Starts from a blank VM - First thing he does is to install firefox Based
@nin3_
@nin3_ 2 ай бұрын
Im so excited about the graphical interfaces, i really cant wait!
@CatwaiiYT
@CatwaiiYT 2 ай бұрын
Amazing work. Please keep sfml videos coming!
@lukasf9887
@lukasf9887 2 ай бұрын
great video, looking foreward for your Graphical User Interfaces Video :D I realy love projects where you can see visual whats happening in simulations, like charts graphs and the simulation itself
@higgsboson6274
@higgsboson6274 2 ай бұрын
amazed of how you optimized the code using vertex array . Also i like the your looping method where you initialized the variable using curly bracket instead of =
@_MrNoob
@_MrNoob 2 ай бұрын
Amazing! I've been wondering the process you go through since the Predator Vs. Prey experiment, and it's nice to get an answer. Thank you for the video.
@larryfromspace
@larryfromspace 7 күн бұрын
idk how, but this helped me do the cloth simulation project. thanks! :)
@tobisdev
@tobisdev 2 ай бұрын
I love your videos! You made my c++ journey much easier❤
@monke2220
@monke2220 2 ай бұрын
great video as always
@Console.Log01
@Console.Log01 2 ай бұрын
I'm been using SFML for almost a year now and I love it. I'm currently working on a terraria remake with online multiplayer and (maybe) lua moddability.
@CatwaiiYT
@CatwaiiYT 2 ай бұрын
Woah that sounds sick! Will it be open source?
@Console.Log01
@Console.Log01 2 ай бұрын
@@CatwaiiYT probably not, but I'm hoping the lua modding will make it customizable enough. My code is bad enough that I don't think anyone should use it as an example/base.
@CatwaiiYT
@CatwaiiYT 2 ай бұрын
@@Console.Log01 ah, it's okay. Well, good luck with your project! Reply to this comment if you ever release it so I get to play it!
@TheRainHarvester
@TheRainHarvester 2 ай бұрын
Why use sfml instead of openGL or DirectX? Just curious
@CatwaiiYT
@CatwaiiYT 2 ай бұрын
@@TheRainHarvester maybe cause sfml provides some goodies like input handling and stuff, but idk I haven't dipped my toes in it
@VoidKnightGames
@VoidKnightGames 2 ай бұрын
I'm currently working on a bullethell sfml game and that method of optimization for drawing lots of objects is huge
@thatprogramer
@thatprogramer 2 ай бұрын
Thank you so much Pezzza! I have really wanted to make games and songs a lot better!
@simonciott
@simonciott 2 ай бұрын
great video! can't wait to see the next tutorials
@mcmontagesrekatron4229
@mcmontagesrekatron4229 2 ай бұрын
Such a good video! Commenting just for the algorithmus 😊
@PezzzasWork
@PezzzasWork 2 ай бұрын
Thank you :)
@nuybbyun2686
@nuybbyun2686 Ай бұрын
Really great explanations, please do those next videos (also more videos in general D:)
@luke.perkin.inventor
@luke.perkin.inventor 2 ай бұрын
Nice. You'd only see the little cross on the stars if you're using a reflecting telescope that creates diffraction spikes from the struts!
@octaveplaz9876
@octaveplaz9876 2 ай бұрын
That's exactly what i needed, thanks a lot!
@vishwa_randunu
@vishwa_randunu 2 ай бұрын
Amazing.... I hope next video soon....
@Mateusz-yp3wq
@Mateusz-yp3wq 2 ай бұрын
you're magician, bro
@DeadStorm19
@DeadStorm19 2 ай бұрын
très cool hâte de voir la suite
@HiHi-iu8gf
@HiHi-iu8gf 6 күн бұрын
really sweet tutorial, cheers
@PezzzasWork
@PezzzasWork 5 күн бұрын
Thanks :)
@luigidabro
@luigidabro 2 ай бұрын
I would really like to see how you render these fancy lines from your previous video!
@zarkha_
@zarkha_ 2 ай бұрын
Très très bonne idée de vidéo !
@Kynatosh
@Kynatosh 2 ай бұрын
Woohoo I was waiting for this one
@sahlikh1829
@sahlikh1829 2 ай бұрын
Thank you Mr Pezzza
@MooImABunny
@MooImABunny 13 күн бұрын
of course YT didn't bother showing me this video T_T btw a small nitpick about the final visuals - the crossing streaks you get when photographic a star are a result of the optical apparatus, and they don't shrink with distance, only fade. Once a star is close enough though, when it's actual size takes up more than a pixel on your screen, then the streaks become a convolution of the 1 pixel streaks and the star's on-screen shape. Now at that point the project becomes a bit of a nightmare, so you could just decide that the stars are never close enough for that to happen, which is really quite reasonable
@AmineGM73
@AmineGM73 2 ай бұрын
Thank you very much, I always get lost when I try to visualize somethings in c++, even when installing the modules
@pik910
@pik910 2 ай бұрын
raylib is a good alternative. Its focus is on ease of use. It probably does batch drawing automagically.
@preguica_net
@preguica_net Ай бұрын
I am working with Unity Hub, it is C#. I haven't used Windows for several years. I thought about developing animations in Qt, but I'd have to do everything from scratch with OpenGL, so I gave up. At the moment perfomace isn't my problem, but since Unity is C# I hope I can delve into performance with ease with C++.
@tiloiam
@tiloiam 2 ай бұрын
Also, git and cmake are both available in the Visual Studio installer
@code_871
@code_871 2 ай бұрын
I really love the video. keep it up bro... 💖💖💖
@cloudy772
@cloudy772 2 ай бұрын
Cool stuff, you ever thought about digging into graphics programming with a GPU API such as OpenGL/DX11?
@simexpo
@simexpo 2 ай бұрын
Very cool! Just wondering, would you ever consider moving to Rust & Bevy?
@MathsSciencePhilosophy
@MathsSciencePhilosophy 2 ай бұрын
I used python to make animated videos but from now onwards, I will also use c++
@Home-ro6cu
@Home-ro6cu 2 ай бұрын
wish i had this when i just started out
@__8120
@__8120 2 ай бұрын
I've been using SFML for years and I somehow never knew there was a "window.setFramerate" function lol. I'd just been using a timer and checking it inside the while loop
@MagePure
@MagePure 2 ай бұрын
Amazing! 💡
@cewla3348
@cewla3348 2 ай бұрын
so this is how you develop in windows. No `sudo pacman -S visual-studio-code-bin git gcc`, you have to run installers and open a browser.
@cemmy410
@cemmy410 Ай бұрын
It's barbaric, isn't it? My current job requires using visual studio on windows and I hate it 😩
@EduCoderPL
@EduCoderPL 29 күн бұрын
I can`t believe that I screwed up recreating yout simulations in C++ only because I tried to do this using CodeBlocks instead of Visual Studio :D
@konstantin2296
@konstantin2296 2 ай бұрын
15:00 isnt it easier to setup a projection matrix with perspective and enable depth testing?
@Pyrografpl
@Pyrografpl 2 ай бұрын
Thank you😊
@emblink27
@emblink27 2 ай бұрын
Super!
@TannerJ07
@TannerJ07 2 ай бұрын
Now I have an excuse to learn c++
@goutgueule9197
@goutgueule9197 2 ай бұрын
I think you're talking about me at the start of the video
@abuk95
@abuk95 2 ай бұрын
Isn't SDL better than SFML? I truly don't know, just wondering. Have you tried SDL?
@Lordlose123
@Lordlose123 12 күн бұрын
Don't you destroy your z ordering by drawing with a single vertex array? Is there a way to tell sfml to draw the vertices with respect to the z coordinate?
@doolee5704
@doolee5704 2 ай бұрын
more please
@aleksszukovskis2074
@aleksszukovskis2074 2 ай бұрын
i think there are too few videos on motionblur. i would hope to see that specifically
@TheRainHarvester
@TheRainHarvester 2 ай бұрын
Just wondering...if you want different OS support, why not use openGL instead of sfml?
@PezzzasWork
@PezzzasWork 2 ай бұрын
SFML is already multi platform and overall makes things much easier. You can draw things within minutes with it, which is not the same with OpenGL for example.
@TheRainHarvester
@TheRainHarvester 2 ай бұрын
@@PezzzasWork does it have lots of fonts/text support?
@PezzzasWork
@PezzzasWork 2 ай бұрын
It uses Freetype so it supports a lot of things
@monoastro
@monoastro 2 ай бұрын
shouldn't the i variable start from count - 1 at 15:11 ?
@PezzzasWork
@PezzzasWork 2 ай бұрын
It is not needed because the next instruction "i--" will directly decrease it.
@monoastro
@monoastro 2 ай бұрын
@@PezzzasWork I had not encountered such a way of iterating down in my uni courses so far. Thank you.
@nxthingbutv0id958
@nxthingbutv0id958 Ай бұрын
4:52 I already have CLion installed yet I do not have the option "Open folder as CLion Project" Is there a setting in CLion to enable that feature?
@PezzzasWork
@PezzzasWork 29 күн бұрын
It is an option to enable during the installation process, if you didn’t do it you can still add an entry to the contextual menu through the register on windows
@manuelsuarez7521
@manuelsuarez7521 2 ай бұрын
cool video
@TORMENTUMM
@TORMENTUMM 2 ай бұрын
Can I do it in vscode instead of visual studio?
@moonyl5341
@moonyl5341 Ай бұрын
yes
@suborbitalmelon8822
@suborbitalmelon8822 2 ай бұрын
Yay
@GuildOfCalamity
@GuildOfCalamity 2 ай бұрын
This is a fantastic tutorial! However, starting with VS and then switching to a paid-for IDE was not great IMO.
@lucbloom
@lucbloom 2 ай бұрын
Engagement comment
@spenceabeen
@spenceabeen 2 ай бұрын
Gonk :]
@motbus3
@motbus3 2 ай бұрын
I was quite surprised to find you only used sfml for that. The visuals are amazing. (They quite don't work on Mac because of resolution shenanigans but I didn't have time to check and try to fix yet)
@PezzzasWork
@PezzzasWork 2 ай бұрын
Thank you! On Mac I think the fullscreen mode makes the program crash, but it should work windowed.
@motbus3
@motbus3 2 ай бұрын
@@PezzzasWork I haven't tried with this current code but I tried the balancing one sometime ago. When windows it got too big. I was able to work around changing fee variables but I didn't do the proper work to find the values automatically 😅 sorry about that.
@DendeZepek
@DendeZepek 2 ай бұрын
omg finally
@Surfingnet
@Surfingnet 2 ай бұрын
Bravo
@StarFury2
@StarFury2 2 ай бұрын
MSI afterburner resource monitoring and affinity for 144Hz framerates? I Love when awesome programmer is also a gamer 😀
@youtubehandlesux
@youtubehandlesux 2 ай бұрын
Afterburner more like bluescreenburner Real gamers use throttlestop
@anmjubin5107
@anmjubin5107 2 ай бұрын
5:12AM!!
@SLURPZZZ4461
@SLURPZZZ4461 Ай бұрын
is sfml better than raylib for this
@Zakzinon.m
@Zakzinon.m 5 күн бұрын
100 video 🎉
@DavidRutten
@DavidRutten 2 ай бұрын
Anyone who looks at these steps and isn't revolted at the state of programming in 2024 is part of the problem. This is not a critique of Pezza, he's just showing what one needs to do... But for crying out loud Microsoft; get your shit together and make it painless for people to start programming on Windows in Visual Studio.
@moonyl5341
@moonyl5341 Ай бұрын
i understand what you mean but why not use something else
@DavidRutten
@DavidRutten Ай бұрын
@@moonyl5341 It should not be my job as a user to figure out what I need to install, or what community to join, or what system to adopt. The operating system should make programming as easy as creating a new text file.
@Landee
@Landee 2 ай бұрын
Le boss
@noxabellus
@noxabellus 2 ай бұрын
I wouldn't call using sfml "from scratch" but good video anyhow
@iamdozerq
@iamdozerq 2 ай бұрын
Using opengl, vulkan or directx in this case will lead to make something like sfml and will generate a Great Ton Of Boilerplate anyways.
@monsieuralexandergulbu3678
@monsieuralexandergulbu3678 2 ай бұрын
It hurts me, why not just install msys....
@mr.hashundredsofprivatepla3711
@mr.hashundredsofprivatepla3711 2 ай бұрын
> “how do rendering using C++ from ZERO” > uses SFML
@BalazsFuleki
@BalazsFuleki 2 ай бұрын
It's like pygame but faster
@mghemke
@mghemke 2 ай бұрын
SDL is pygame but faster (Pygame is just a python wrapper of SDL)
@joemama8516
@joemama8516 2 ай бұрын
Pezza have you ever looked at raylib for c++ graphics if you have what are your thoughts
@monoastro
@monoastro 2 ай бұрын
it's pronounced clion? i always called it klyon
@Cantcancelmelol
@Cantcancelmelol 25 күн бұрын
🎎🎎🎎🎎🎎🎎🎎🎎
@teenspirit1
@teenspirit1 2 ай бұрын
Wow sfml? Considering the user interfaces you've programmed so far, the visual clues led me to think that you've used imgui and raylib.
@dot32
@dot32 2 ай бұрын
His user interfaces look nothing like imgui
@iamdozerq
@iamdozerq 2 ай бұрын
And raylib is kinda will do nothing special in this case.
How to train simple AIs to balance a double pendulum
24:59
Pezzza's Work
Рет қаралды 269 М.
How a Microcontroller starts
28:49
Artful Bytes
Рет қаралды 25 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,9 МЛН
Colorful Pasta Painting for Fun Times! 🍝 🎨
00:29
La La Learn
Рет қаралды 308 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Creating a Space Invaders clone using my C++ engine and SFML
11:58
Pezzza's Work
Рет қаралды 38 М.
AIs learn to WALK
20:21
Pezzza's Work
Рет қаралды 59 М.
How I animate 3Blue1Brown | A Manim demo with Ben Sparks
53:41
3Blue1Brown
Рет қаралды 964 М.
I Made a Drawing Software From Scratch (C++ & OpenGL)
11:05
IamWassim
Рет қаралды 37 М.
The Vim Experience
45:19
Bog
Рет қаралды 153 М.
How do Video Game Graphics Work?
21:00
Branch Education
Рет қаралды 3,9 МЛН
Teaching myself C so I can build a particle simulation
11:52
Gradience
Рет қаралды 297 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,9 МЛН