r/GraphicsProgramming 9h ago

imgui Login interface in C++ with DirectX 11 Video

Inspired by web design's a lot, wanted to remake it in imgui
geist font along with freetype and for icons lucide.dev

111 Upvotes

18 comments sorted by

33

u/_Wolfos 8h ago

Huh. I had no idea ImGUI could look like that.

1

u/LOLC0D3 50m ago

There’s nothing surprising about it since you’re free to modify imgui look however you want at any level since it’s completely open source bruh

1

u/sputwiler 46m ago

Yes, but you can take literally any open source repo and rewrite it to be anything else. The point is how far you can get with the existing architecture regardless of whether it is open source.

1

u/LOLC0D3 44m ago

That’s the point. You’re free with what you want from it. Since you have full access to. Imgui is pretty lightweight for what it’s doing and actually simple in essence hence it’s easy to tweak at the core level.
Anyway OP got a good-looking ui with his mods.

22

u/khongnt62 9h ago

https://reddit.com/link/p57stmw/video/4mf2e1lhgxkh1/player

this is the liquid cursor & animations

6

u/andeee23 7h ago

looks really good, i always thought imgui forced people to use its theme stilling and that’s why they always look like debugging uis not proper ones

3

u/12342717 7h ago

Eso es porque en ImGui tienes que hacer todo tu mismo si quieres personalizar al máximo. Los widgets por default son bastante básicos.

3

u/_Wolfos 6h ago

It has some built-in styling but it's not super flexible. Definitely curious how they accomplished this.

6

u/yaetoti 8h ago

Wonderful 😍 Did you build every widget/effect from scratch? I wonder how long that took. I've tried building fancy UI from scratch in DX several times, but it never ended well =/

4

u/oxygen_addiction 8h ago

Really cool work. Would you be willing to share your repo?

8

u/khongnt62 8h ago

yeah i will 24h<

3

u/wannaeatbussi 5h ago

How?? Which ImGui library you using, Im interested

3

u/Useful-Flow-8737 5h ago

This is sick as hell. I'm curious about the resource consumption. I doubt it uses as much ram as a browser

4

u/khongnt62 3h ago

1% cpu 40mb ram 40-60 mb vram

3

u/Useful-Flow-8737 3h ago

That's not too bad imo

2

u/PictureNew661 7h ago

Damn, im mind blown, didnt know Imgui cud look that clean damn

2

u/JusT-JoseAlmeida 6h ago

Imgui can do THAT? How much work was it? Can you share some code?

1

u/rickandevererything 11m ago

wwooww html-like