Omar
@ocornut.bsky.social
3.3K followers 66 following 370 posts
programmer of things and stuff. dear imgui / the dragon’s trap / dreams / tearaway / pixeljunk shooter / soul bubbles / meka Paris, France https://www.miracleworld.net
Posts Media Videos Starter Packs
ocornut.bsky.social
Emscripten users: are you generally/often up to date, or is your app/product occasionally stuck on older versions, for whichever reason?
ocornut.bsky.social
Surely anything that doesn't feel back into gameplay should ideally be stopped + some warmup simulation running when it appears? I'm just assuming that's happening because the later is somehow misconfigured.
ocornut.bsky.social
(
shots:
- Lua extension mod in @beamng.com drive.
- Fiatlight: automates UI generation for functions and structured data for Python pthom.github.io/fiatlight_do...
- Corepto: Proofread MusicXML scores using 100+ editorial rules corepto.io
- osx port of wallpaper engine
)
Fiatlight — Fiatlight
pthom.github.io
ocornut.bsky.social
dear imgui 1.92.4 released!
github.com/ocornut/imgu...

Bonus links:
- list of extensions github.com/ocornut/imgu...
- debug tools github.com/ocornut/imgu...
- error recovery github.com/ocornut/imgu...
- getting started github.com/ocornut/imgu...
- bindings & backends github.com/ocornut/imgu...
ocornut.bsky.social
Thanks! also check github.com/ocornut/imgu... for other tools. And you be interested in error recovery features too: github.com/ocornut/imgu...
ocornut.bsky.social
I'm not sure the later design are public, they are just adhoc stuff, but the smsreader is based on a public design by MIke Gordon, which charles redesigned for USB
ocornut.bsky.social
A mix of things. Usually an USB SMS Reader plugged directly on PC w/ custom adapters from for SG/SC/GG/MyCards. In this photos, using a custom card running on the SMS from the extension slot, that connects to a PC via USB, reading data from the main slot. Most of it was built by Charles MacDonald.
ocornut.bsky.social
Retro software dumping day.
Reposted by Omar
wildsheepstudio.bsky.social
🚀We're super happy to announce that the demo for Adorable Adventures is now live on Steam 🙌

steampowered.com/app/4006020/

Have a look, play, and let us know what you think of our adorable hero Boris 🐗. If you like it, help us out with a wishlist: steampowered.com/app/3840230/
ocornut.bsky.social
People are using native WebGPU for debugging web engine I presume.
ocornut.bsky.social
Thanks I will check them out. The maintenance of that backend has been daunting partly because there’s no easy setup for Dawn, eg if we want to provide a build script that relies on it.
ocornut.bsky.social
Perhaps it is a failure of my part that I haven't grown this project to be a 10 people thing. I'm clearly an opinionated bottleneck, that comes with pros and cons. But I've learned to be meticulous about details. It pains me to see pull request full of lack of attention but its hard to blame people.
ocornut.bsky.social
I suppose bounties would work on larger funded project + well-defined technical tasks. But much of my work is _designing_ things, meaning many iterations until it's right. Hard & maybe dangerous for quality if those tasks are precisely scoped. It mostly needs time involvement + caring about details.
ocornut.bsky.social
I don't believe in it very much in term of community dynamics. It's not like I'm over funded to head into becoming a manager. Also in my experience people work on the tip of the iceberg, require heap of feedback from me & then I get to maintain it for 5+ years. I think bounties would augment this.
ocornut.bsky.social
I once paid a recurring contributor and he pretty much lowered his general involvement from that moment. It's quite tricky to deal with that the right way.
ocornut.bsky.social
In theory I would happily pay people for specific/occasional quality work on topics I'm not good at, but it's not easy to find the right people and get them involved. Also it is simultaneously right but dangerous if I advertise paid work, in terms of how it might bias other contributions.
ocornut.bsky.social
wgpu-native provides binaries but Dawn (Google's WebGPU implementation) doesn't, and it's one of those projects that drags 100k+ files and gigabytes to compile while also constantly evolving.

What's people general sentiment on using wgpu-native vs Dawn on desktop? May Dawn be ditched?
ocornut.bsky.social
It will eventually settle, but right now whenever I spend 2 hours dealing with a PR for either Vulkan either WebGPU, it kinda feels like I've just lost a week worth of energy :(
ocornut.bsky.social
I used to dislike maintaining the Vulkan backend because most requests/PR were confusing to me.
But it turns out that WebGPU - which used to feel nice - is such a fast moving platform w/ WGPU, Dawn, Emscripten vs Native support, no binaries for Dawn, etc. that it's currently taking the crown.
ocornut.bsky.social
And then you can call DockBuilderDockWindow() in the same block so you don't necessarily need to carry the ID around.

Embarrassingly those API are not public because they suck and I never spent the time to do better but eventually I will.
ocornut.bsky.social
Replace first_time by ImGui::DockBuilderGetNode(id) == NULL before the DockSpace submission.
ocornut.bsky.social
People of the future, rejoice! There is now dear imgui renderer for this fangled new graphics API... *cough*... DirectX7!
github.com/AndenDev/D3D...
GitHub - AndenDev/D3D7Imgui
Contribute to AndenDev/D3D7Imgui development by creating an account on GitHub.
github.com
ocornut.bsky.social
and you can use dl->PathArcTo(center, radius, angle_min, angle-max); dl->PathStroke(col, 0, thickness);