Open schell opened 1 year ago
what server does the discord link point to? Without the server invite, I cannot reach that message :(
@coderedart The server is "Graphics Programming" 318590007881236480
. Here is the invite.
@coderedart and thanks for following along :)
There is a rudimentary renderling_ui
that allows for creating text and paths. It doesn't yet support images without some mucking about with the underlying renderling
types.
The link is wrong. https://crates.io/crates/renderling_ui
And docs.rs failed to build :( https://docs.rs/crate/renderling_ui/latest
Should all be up and running now @coderedart :)
Similar to how 3d scenes are "GPU-driven" (in that the textures, geometry, entities - the whole lot - are stored on the GPU in buffers), I'd like to do the same for 2d scenes.
(Answers from the future are annotated with ๐ฎ.).
Complaints about the current landscape
A recent blog post has had a lot of attention lately that describes some of the pain points of picking a Rust GUI library.
The post kinda boils down to:
winit::ControlFlow::Poll
, you can waitAdjacent work
The Zed team has been working on "GPUI" which seems to be a similar idea to what
renderling
could be.I like the idea of using SDFs for drawing primitives. (๐ฎ SDFs are hard because there is no great abstraction for all of them apart from using a texture)
What to do here
At the very least we could provide a "GPU-driven" 2d render graph. This would allow downstream libraries to build well performing GUIs on top.
Requirements / Obstacles
FontyFruity
.~UiText
and then stored in theAtlas
. After that it's a BAUHybrid<Renderlet>
setup.GpuVertex
.~https://discord.com/channels/318590007881236480/318590007881236480/1108469439168532540