|
Omar
@
ocornut
Paris (..London.. Kyoto)
|
|
dear imgui github.com/ocornut/imgui / prev: the dragon’s trap @lizardcube, dreams, tearaway, pixeljunk shooter, soul bubbles, meka (he/him)
|
|
|
21.993
Tweetovi
|
170
Pratim
|
7.453
Osobe koje vas prate
|
| Tweetovi |
|
Omar
@ocornut
|
23 h |
|
I once used a tool to backup/restore icon position which worked ok (I forgot which tool to the point where I'm sure there's one on my computer but I don't know where it is nor how its called... but googling showed a few e.g. midiox.com/index.htm?http…)
|
||
|
|
||
| Omar proslijedio/la je tweet | ||
|
Doug Binks
@dougbinks
|
2. velj |
|
I've posted a Tutorial on using Runtime Compiled C++ with Dear ImGui and DirectX11 on enkisoftware.com/devlogpost-202…
Comes with full source code on Github, with branches for each stage of the tutorial along with videos.
|
||
|
|
||
| Omar proslijedio/la je tweet | ||
|
Sean Barrett
@nothings
|
24 h |
|
Updated following stb libraries:
stb.h
stb_divide.h
stb_ds.h
stb_dxt.h
stb_easy_font.h
stb_image.h
stb_image_resize.h
stb_image_write.h
stb_include.h
stb_leakcheck.h
stb_perlin.h
stb_sprintf.h
stb_truetype.h
stb_vorbis.c
stb_voxel_render.h
stretchy_buffer.h
|
||
|
|
||
|
Omar
@ocornut
|
1. velj |
|
I think ffmpeg can take a file containing list the files it would use for input. The format is something like “file: some_filename.png” on each line so you may be able to use a simple dir /b listing + followed by search & replace
|
||
|
|
||
|
Omar
@ocornut
|
1. velj |
|
The open source ones are listed here: github.com/ocornut/imgui/… also see thread github.com/ocornut/imgui/…
|
||
|
|
||
|
Omar
@ocornut
|
31. sij |
|
I don’t even remember, probably a product of us three Dave, you and I at the time!
|
||
|
|
||
|
Omar
@ocornut
|
31. sij |
|
France stands united with you youtu.be/w98OsTBp5Wc
|
||
|
|
||
|
Omar
@ocornut
|
30. sij |
|
That delay would not be necessary for the keyboard path, especially if we remove the background dimming/whitening which ihmo would be a little off putting when doing quick CTRL+Tab. I'll cleanup that stuff eventually.
|
||
|
|
||
|
Omar
@ocornut
|
30. sij |
|
@sssmcgrath Ah, I now recall why CTRL+TAB has a delay in visual feedback. Code origined from Gamepad controls which uses Square Tap for menu-toggle and Square Hold+L/R etc for window selection, so a delay is necessary in this path. dearimgui.org/controls_sheet…
|
||
|
|
||
|
Omar
@ocornut
|
30. sij |
|
(Joking btw, please don't pay! Mostly focusing on studios and large businesses now, while keeping the library free for all)
|
||
|
|
||
|
Omar
@ocornut
|
30. sij |
|
I am pretty sure I can help relieving that heavy feeling away from you ;)
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
I don’t have a perfect solution for that right now but will work on incremental atlas to facilitate it eventually. If you are sticking to latin character building a few intermediate sizes and relying on bilinear you can get away with it although clearly not ideal.
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
TL;DR: single dpi is easy to implement, multi dpi is quite complex for hundreds of small reasons (to be fair even Windows doesn’t handle it very well) but possible to reach good enough with some work.
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
This will be made easier over time but it works with those steps, the main constraint those steps introduce is if you want to mid-frame changes of style size to be applied over multiple viewports (then you can’t just reset + rescale style).
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
For multi-dpi (multiple viewports over multiple monitor with varying dpi scale) you currently need to maintain a set of font atlas for each dpi, hook Platform_OnChangedViewport and on dpi change swap atlases, remap font and reapply style size.
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
For single dpi (1 viewport) on dpi change you can rebuild font atlas with new size, reset + rescale style. Make sure all sizes in code are multiple of font or style sizes (almost always the case, but we need to introduce more standardized constants to help)
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
Thank you !
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
FYI Google and in particular Romain's team (Filament) have been kind helpful sponsors of Dear ImGui since mid last year!
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
I don't. To avoid excessive draw call it would mean that regular shapes are drawn with the same shader (if e.g you were thinking SDF shader). Current work is getting us more toward facilitating dynamic font atlas and multi-font atlas (e.g. one per unique DPI scale).
|
||
|
|
||
|
Omar
@ocornut
|
29. sij |
|
Lors des balbutiement du projet il me semble que l'intention entre autres était d'honorer les personnes, et donc ne pas mentioner le nom des équipes de dev n'est pas vraiment le symbole idéal pour ça. Merci!
|
||
|
|
||