Тёмный
No video :(

CppCon 2016: Nicolas Guillemot “Dear imgui," 

CppCon
Подписаться 151 тыс.
Просмотров 77 тыс.
50% 1

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

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@holdenmcgroin8917
@holdenmcgroin8917 5 лет назад
Very efficient and to.the point, just like the library itself. Thanks
@tresuvesdobles
@tresuvesdobles 2 года назад
IMGUI does is NOT inefficient, since it does not do immediate mode rendering. From IMGUI Github's: "A common misunderstanding is to mistake immediate mode gui for immediate mode rendering, which usually implies hammering your driver/GPU with a bunch of inefficient draw calls and state changes as the gui functions are called. This is NOT what Dear ImGui does. Dear ImGui outputs vertex buffers and a small list of draw calls batches. It never touches your GPU directly. The draw call batches are decently optimal and you can render them later, in your app or even remotely."
@ongamex
@ongamex 7 лет назад
@1:10 it really does not regenerate the entire GUi it store a lot (and i mean a lot) of state internally. So technically the library emulates immediate mode.
@nlguillemot
@nlguillemot 7 лет назад
that's the imgui performance secret sauce. immediate mode interface, retained mode implementation. Some imgui implementations make that more explicit, where you actually have to manually mark widgets as "dirty" and etc.
@TheLeontheking
@TheLeontheking 4 года назад
@@nlguillemot would probably not have been a bad idea to mention that in the presentation. To not have performance-freaks immediately leave the room ;)
@AhmedSam
@AhmedSam 3 года назад
@@TheLeontheking Indeed. I was about to leave the room until I checked the lib my self. Drawing every single widget every is nuts even for just prototyping.
@sahilgoyal3083
@sahilgoyal3083 Год назад
Even after so many years, it still has no documentation.
@luk3dcode
@luk3dcode 11 месяцев назад
kkkkkkkkkk True I don't know why they are expecting everyone to know how "easy" it is to use it just by following examples
@turdle2767
@turdle2767 11 месяцев назад
@luk3dcode its open source. If you want to learn how it works, you are expected to go inspect it yourself. Makes sense though right? There aren't youtube tutorials for everything in the world.
@ColtonPhillips
@ColtonPhillips Год назад
The way immediate mode code is written cleanly, to create ui, reminds me of the HTML markup language, in a way.
@ancientapparition1638
@ancientapparition1638 7 лет назад
I just wrote a crappy GUI myself only to find this. God damn it
@FPSAnarchy
@FPSAnarchy 7 лет назад
No...don't use imgui. I spent about 7 months making mine and i like it more tahn imgui because i understand the code.
@ancientapparition1638
@ancientapparition1638 7 лет назад
Right now I have a bit of a mix in my program. IMGUI is pretty solid for creating quick tools rather than a final GUI.
@hightoxicity9819
@hightoxicity9819 5 лет назад
@@ancientapparition1638 I agree with him about writing your own if you aren't strapped for time, I used Dear imGui (or rather, the C# fork of it) when I was building the game engine that my team never ended up using (but I'm still updating it slowly for future) and it got messy because I didn't really know exactly what it was doing behind the scenes. Slowly but surely started converting the tools to our own library and it's so much cleaner.
@szaszm_
@szaszm_ 2 года назад
@@FPSAnarchy This actually sounds like a point for imgui, not against. If you've spent 1 month understanding imgui instead of 7 months writing your own, you might have gotten your job done faster.
@adheesh2secondsago630
@adheesh2secondsago630 2 года назад
@@szaszm_ can you recommend me where to learn abt imgui, like it does not have even proper docs :( I m very curious to learn it. The tuts I see just start by copy pasting the code from imgui examples and not explaining even single like.
@xanri7673
@xanri7673 Год назад
Many many misconceptions. Immediate mode GUIs do not inherently poll; they can react to events and only redraw when necessary. This point frustrates me especially because """performance""" is held on a golden pedestal and has stopped many people from using immediate mode GUIs. While the code may appear to always rebuild the UI, lots of state is cached, up to the extreme of storing an entire retained mode GUI inside of the immediate mode library and diffing it (in reality most real-world libraries are somewhere in the middle and cache some layouts, eg for top-level windows and panels). Also he says widget wrong.
@Ignas_
@Ignas_ Год назад
It's funny that "performance" is the problem called out about ImGUI, and not when excessive object hierarchies cause UI to run like a turtle in molasses.
@drygordspellweaver8761
@drygordspellweaver8761 Год назад
@@Ignas_ exactly. Those who know, know.
@redrevyol
@redrevyol 6 месяцев назад
The GPU is always being called regardless what's happening. Just don't draw white forever. There are always going to be misconceptions like multithreading and pointers.
@Sakari_369
@Sakari_369 7 лет назад
Nice presentation, eager to test out dear imgui :)
@yamlcase230
@yamlcase230 2 года назад
Oh no! I've been pronouncing widget wrong all these years.
@docdaneeka3424
@docdaneeka3424 Год назад
So has this guy...
@elegantdice
@elegantdice 7 лет назад
Must try this out one day
@cankarkadev9281
@cankarkadev9281 4 года назад
The problem I see with Imgui is that the frametime gets doubled. So I am gonna use it temporarily while the program is in development, but good video tho
@clankill3r
@clankill3r 7 лет назад
Great talk, only really short :(
@ColtonPhillips
@ColtonPhillips Год назад
I think it's a little fucked up that I googled "immediate mode gui vs retained" and the 2nd response is probably the best and most concise answer to my question, answered by one of my best friends. How am I this blessed.
@machocoding7858
@machocoding7858 6 лет назад
where is the full presentation?
@Rokannon
@Rokannon 7 лет назад
Hi. I was wondering if there's any convenient way of integrating ImGUI with SDL2. I know about demos on ImGUI github page but it seems that such approach cancels out ability to you SDL's SDL_Renderer objects.
@ongamex
@ongamex 7 лет назад
Yea, see the samples/examples on github
@ongamex
@ongamex 7 лет назад
Actually the library is api agnostic, meaning you can implement the rendering yourself however you like.
@Rokannon
@Rokannon 7 лет назад
I know about these samples/examples but as I said I want to know how to preserve SDL_Renderer functionality. Because currently in these examples it just won't work as expected after ImGUI::render() call.
@FPSAnarchy
@FPSAnarchy 7 лет назад
only indians use imgui
@rvoros
@rvoros Год назад
I'd like to see this in std namespace
Далее
Immediate-Mode Graphical User Interfaces - 2005
40:12
OBLADAET - BARMAN
03:06
Просмотров 236 тыс.
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 906 тыс.
The 3 Laws of Writing Readable Code
5:28
Просмотров 487 тыс.
Immediate UI for My Game in C++
1:24:30
Просмотров 21 тыс.
ImGui | Game Engine series
27:57
Просмотров 114 тыс.
15 Years Writing C++ - Advice for new programmers
4:04
CppCon 2016: Ben Deane “Using Types Effectively"
55:20
Compilers, How They Work, And Writing Them From Scratch
23:53
OBLADAET - BARMAN
03:06
Просмотров 236 тыс.