Тёмный

Why and How To Use ImGui For Your Coding Projects | Tutorial & Case Study 

Code, Tech, and Tutorials
Подписаться 24 тыс.
Просмотров 100 тыс.
50% 1

pt2: • IMGUI PT2
ImGui continues to stand the test of time as one of the best graphical interfaces to use in any ongoing project. Not many examples or explanations will tell you why that is. In this episode we explore why that is the case and make a sample setup project.
This main content will always be free. Consider supporting this channel on Patreon (or use the YT Join button) to help keep CTT afloat.
-- Chapters --
0:00 Intro
0:45 Is ImGui for you?
3:53 Other Good Starting Points
8:25 Sample C++ CMake Project From Scratch
42:00 Conclusion & Outro
Tutorial Source: github.com/codetechandtutoria...
-- References --
▶ github.com/ocornut/imgui
▶ • Introduction to the Im...
▶ caseymuratori.com/blog_0001
▶ blog.conan.io/2019/06/26/An-i...
▶ www.radgametools.com/granny.html
-- Code, Tech, and Tutorials Links --
▶ Patreon: / codetechtuts
▶ CTT Discord: / discord
▶ Channel Repos: github.com/codetechandtutorials
-- Other CTT Playlists You Might Like --
▶ CMake: • CMake Tutorial EP 1 | ...
▶ Beginner Cpp: • Beginner C++ Episode 0...
▶ Blender Video Editing: • How To Edit Video with...
▶ Matrix Math: • Matrix Math - Basic Co...
▶ OpenAL: • OPENAL TUTORIAL
▶ OpenGL: • OpenGL Part 1 - NEW PR...
Please let me know if any of these links are broken! Thanks!
Other ways to support me, Matt, the creator and maintainer of this channel:
▶ Follow/Sub to my Twitch Stream: / overridetheprogram
Other One Time Support Options:
▶ Use RU-vid Thanks _support:
☕ www.patreon.com/codetechtuts?...
Patrons help this channel go round and keep creating. If you don't like patreon but still would like to support regularly, you can do a similar subscription via the RU-vid Join, or through Github's sponsor button.
🕮github.com/codetechandtutorials
This is were I most the majority of the code seen on the channel.
✍ / discord
We have a Discord! We welcome all various code and tech chatter.
☯ / bytepro17124
I stream code and/or gaming every Thursday! I also randomly stream a time or two throughout most weeks.

Наука

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@kiloutre9432
@kiloutre9432 Год назад
Thank you so much for this tutorial! Had so much trouble getting imgui setup, especially with the dependencies and various SDKs to download, but this tutorial makes it so much easy, thanks a lot!
@alphac0d3r3d3
@alphac0d3r3d3 2 года назад
Thank you, this really helped me get going and have a nice foundation for my project.
@clintonreisig
@clintonreisig 2 года назад
After following your CMake and rendering tutorials, this is easy for me to understand. It is also helping me to understand cpp better and where the opportunities are for extending functionality or even trying examples for the fun of it 🙃
@OT-tn7ci
@OT-tn7ci Год назад
hey man, im also starting out coding in c++ and want to do rendering stuff, which tutorials are you referring to.
@awildted3265
@awildted3265 2 года назад
I definitely had some problems to solve, but I managed to overcome them and get it running! Thank you for spending the time to help out.
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
Nice work!
@dr.benway1892
@dr.benway1892 Год назад
Thanks for the tutorial. Helped me a lot!
@architjaiswal5952
@architjaiswal5952 2 года назад
Can't thank you enough for this! 😀 It would be great if you can make a video about how to use Cmake in Visual Studio for people who have no programming experience and just downloaded visual studio on windows. Also, please cover things like including multiple projects(dependencies) in the visual studio and using it seamlessly.
@maverikmiller6746
@maverikmiller6746 2 года назад
Great tutorial. Thanks.
@mikeck6600
@mikeck6600 Год назад
Thanks so much! You added the following lines without explaining: glClearColor(0.45f, 0.55f, 0.60f, 1.00f); glClear(GL_COLOR_BUFFER_BIT); Without them, frames were stuck on the window while resizing
@CodeTechandTutorials
@CodeTechandTutorials Год назад
Yeah, that's just an OpenGL thing to clear the screen for the next render.
@wangarooi
@wangarooi 2 года назад
Love it ...think I can learn a lot from you...
@maveasna2096
@maveasna2096 2 года назад
Really love your setup . it's easy to follow .
@Gandagorn
@Gandagorn 23 дня назад
saved me bro, this is awesome
@CohenSu
@CohenSu 4 месяца назад
Wow the vcpkg part is a life saver, the official imgui does not say much about the project setup.
@sevilnatas
@sevilnatas 11 месяцев назад
My quick and dirty touchstone for determining if a GUI framework is up to snuff is checking if it does image buttons. If a framework can't either use an image as a button or allow buttons to have a transparent background, so it can be placed over an image (the former being the preferred but the later be a minimal hack work around), either tells you the framework has gone beyond the basics. IMO
@GRSG_tech
@GRSG_tech 7 дней назад
This make me remember OLD CS:GO osiris menu
@yazzindev
@yazzindev Год назад
12:20 The popup was not appearing even with vcpkg installed and new project created. I really wish to go on with this tutorial but I cannot generate the needed files somehow.. How could it come that the dependencies in the vcpkg.json File are not downloaded?
@joeswagson
@joeswagson 10 месяцев назад
i am gooey
@TheExileFox
@TheExileFox Год назад
Please consider doing a video on Nuklear, it's similar to Dear-imgui but has a different style out-of-the-box.
@LiEnby
@LiEnby Год назад
so if im understanding correctly, right - imgui will render over any existing stuff ?
@IsaacCode95
@IsaacCode95 Год назад
it runs 17 fps, that pretty bad, how do i improve the FPS ? if you have a problem with the vcpkg folder not generating, try deleting the CMakeSetting.json, same the CMakeLists.txt, and configure again. that did the trick for me also, thank you so much for your tutorials, i've been following along since i found you a week ago, and you have some really helpful c++ tutorials!
@adheesh2secondsago630
@adheesh2secondsago630 2 года назад
Bro you are inspiring.
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
No you're inspiring!
@dogsec3949
@dogsec3949 2 года назад
@@CodeTechandTutorials Jesus teaching coding is more inspiring lol
@abovethemist1412
@abovethemist1412 Год назад
turns out you cant use capital letters in the "name" line in vcpkg json file
@jakegerard1870
@jakegerard1870 Год назад
This GUI makes me want to play the original Starcraft again.
@ahmedifhaam7266
@ahmedifhaam7266 2 года назад
what is the background music name? great video.
@kubakluzniak4744
@kubakluzniak4744 Год назад
where is video where he shows how to do binding in conan ?
@MFRSIAM
@MFRSIAM 2 года назад
why for me after i add vcpkg.json and populate the file with the required dependencies i dont see running vcpkg install in my output tab, thus there is no vcpkg install dir in the out >build>x64-debug folder and my intellisence wasent working and i dont see the output errors you see in 12:30 ? Do you have anything done with your cmake vcpkg settings ? it seems like for me it is not detecting the vcpkg.json file and running the install automatically.
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
It sounds like you need to delete your out folder and let it regenerate
@MFRSIAM
@MFRSIAM 2 года назад
@@CodeTechandTutorials oh thanks man deleting the out folder from explorer worked like a charm.
@cerulity32k
@cerulity32k 2 года назад
CMake says that the glad package could not be found. What exactly does this mean, and how can I fix it?
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
Check out cmake episode 12, I believe it is explained there
@shulehr
@shulehr Год назад
cmake rulez. im glad you decided to include this
@ParaParaPartyCrow
@ParaParaPartyCrow 5 месяцев назад
I'm not getting this generate button, vcpkg is installed though
@mr.raider744
@mr.raider744 5 месяцев назад
just inform me if you actually found out, Im also looking for it
@ivanmihailichenko9158
@ivanmihailichenko9158 Месяц назад
Liked this video. But heh, mgui technology. I'm use Qt + Cpp, and maked some scientific GUI app with math-model and modern interface, and it's need max 16 MB of RAM, but there it's 56 + MB for simple example, it's really cpp?)
@YuWang-b9x
@YuWang-b9x Месяц назад
There are no subtitles. It looks a little difficult.
@DJenriqez
@DJenriqez Год назад
You are like c++ version of bob ross :D
@HiImKyle
@HiImKyle 2 года назад
I just get the following error when generating the CMake cache, put the output on pastebin, id is 0ARUnh0m - dont want to link since youtube might flag it. This is even happening on a cloned version of your repo with the code. This is why I hate C++...
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
Looking at it and pushing a few updates. What compiler and IDE are you using?
@HiImKyle
@HiImKyle 2 года назад
@@CodeTechandTutorials Visual Studio 2022 CMake 3.8, comes bundled with VS
@manco828
@manco828 2 года назад
Can you do Gilfoyle?
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
Like for Halloween?
@manco828
@manco828 2 года назад
@@CodeTechandTutorials Sure, but it'd help if you exude his constant arrogance.
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
I'm gonna need a Dinesh to play off of.
@manco828
@manco828 2 года назад
@@CodeTechandTutorials that's going to be tough
@pascalklaen7618
@pascalklaen7618 2 года назад
Bro I saw the first frame and my head was like "Gilfoyle"
@echoptic775
@echoptic775 6 месяцев назад
Maybe im spoiled by rust, but i just couldnt be bothered to fk with cmake files every time and do all this bpilerplate before making every project. This all reminds me of makefiles and c hell. You would think that after all these years and being a mainstream language c++ would make some things easier but this all looks to me like c
@dagmawiesayas
@dagmawiesayas 2 года назад
Gillfoil??
@luke51353
@luke51353 Год назад
LMAO he looks like him
@user-ze7nw9ud7m
@user-ze7nw9ud7m 9 месяцев назад
I like it but I can't find any useful documentation.
@kevincolgan6651
@kevincolgan6651 2 года назад
get on with it
@SamSpade2010
@SamSpade2010 2 года назад
Half the video is just fiddling with packages.
@FREAKBAlT
@FREAKBAlT Месяц назад
Then get a cookbook
@ysjp9221
@ysjp9221 2 года назад
this is why no one starts coding, because tutorials always expect you to have some weird programs preinstalled like what the hell even is vcpkg
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
It is easier to just have some hardware and start from there. Then all you have to do is figure out how all those parts work, such as how the data and caching goes, figure out if you need to use working memory or permanent storage, figure out how to use the cores on your CPU and sequence all that properly (be sure not to accidently flush the memory you are still using!), figure out the boot loader, program up an OS that can be further programmed with an abstracted coding language and compiler, and go from there. Also don't forget to figure out a peripheral system otherwise you'll have to manually charge transistors to get them into the state you want. This way, no need to preinstall anything! Hurray, EZ Mode!
@ysjp9221
@ysjp9221 2 года назад
@@CodeTechandTutorials i still have no idea what vcpkg is and tutorials arent helping
@CodeTechandTutorials
@CodeTechandTutorials 2 года назад
@@ysjp9221 It's a library manager. Most programming languages have them. If you have no idea, look it up. I don't have enough to spoonfeed everyone.
@knufyeinundzwanzig2004
@knufyeinundzwanzig2004 2 года назад
exactly it‘s so sad. I actually really enjoy programming itself but setting libraries up is an immense pain, the more (build) tools the worse this gets. thought you‘d just download some files, include them and you‘re set… sigh
@lilyvmax6642
@lilyvmax6642 Год назад
You know what Google is lol?
@triodit
@triodit Год назад
God why the music over the talking! So bad!!!!!
@rickfuzzy
@rickfuzzy 16 дней назад
Background sound is not helpful
@manda3dprojects966
@manda3dprojects966 10 месяцев назад
The name ImGui is very weird, it sounds like "I'm guy".
@Mukna132
@Mukna132 Месяц назад
It's pronounced eye-em-gooey
@drygordspellweaver8761
@drygordspellweaver8761 Год назад
IMGUI in a class? lol the whole point of IMGUI is to not do that kind of thing. hence the word 'immediate'
@benw-l7k
@benw-l7k Год назад
Thats not what immediate mode means in this context at all. You should look up the differences between "Retained" and "Immediate" GUIs
@drygordspellweaver8761
@drygordspellweaver8761 Год назад
@@benw-l7k No. You should watch Casey Muratori's videos on IMGUI - the guy who literally invented the term IMGUI. Until then I'm not interested in your wrong opinion.
@jumbledfox2098
@jumbledfox2098 4 месяца назад
I totally agree haha
@MarcelBariou
@MarcelBariou Год назад
We are looking for tuto not music ! Thanks for tuto but please remove the music, bad idea ! Counter productive for attention
@anthonysteinerv
@anthonysteinerv 5 месяцев назад
damn cmake is garbo
@rtdietrich
@rtdietrich 2 года назад
Video review: Super voice, that in advance. - Is ImGUI for you? ==>> Almost only unnecessary chatter. Waste of time! The important could have been said in 4 sentences - Other good Startingpoints. ==>> Much too much drawn out and partly unnecessary info. - Main Part. ==>> Useful material. Gladly further in such a way.
Далее
Immediate UI for My Game in C++
1:24:30
Просмотров 20 тыс.
Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023
1:29:16
Immediate-Mode Graphical User Interfaces - 2005
40:12
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 900 тыс.
I HAD to fix this immediately // Code Review
31:47
Просмотров 29 тыс.
Cross Platform Graphical User Interfaces in C++
44:49
Просмотров 863 тыс.
UI Libraries Are Dying, Here's Why
13:28
Просмотров 290 тыс.
3D in TypeScript using Ray Casting
3:14:03
Просмотров 38 тыс.
Ускоряем ваш TV🚀
0:44
Просмотров 284 тыс.
Чем нельзя протирать экран?
0:44