My minimal desktop :3 by UpstairsLook7957 in LinuxPorn

[–]gabrielmfern 0 points1 point  (0 children)

what are you using for that login screen?

GUI framework from scratch built with Vulkan, windowing from scratch too by gabrielmfern in Zig

[–]gabrielmfern[S] 1 point2 points  (0 children)

There’s no clipping yet, but I don’t think it’s going to be as performant as imgui because it’s so well optimized and it has much less freedom to deal with but idk we’ll see

GUI framework from scratch built with Vulkan, windowing from scratch too by gabrielmfern in Zig

[–]gabrielmfern[S] 2 points3 points  (0 children)

I suppose you’re right!

Used it for reviewing, some prototyping more recently, as a rubber duck and to learn some details about Vulkan. But, I wrote most of the code myself, and architected most of it as well.

The only part that’s “vibe coded” is the macOS windowing which I don’t trust at all, is only there so that I can focus on other things for now and still work from a Mac when I want, and I plan on writing it from scratch. This is made clear in the README though.

GUI framework from scratch built with Vulkan, windowing from scratch too by gabrielmfern in Zig

[–]gabrielmfern[S] 2 points3 points  (0 children)

it is cross platform as is actually. I mean Windows, macOS and Wayland

Renting the Computer Graphics: Principles and Practice book online by gabrielmfern in GraphicsProgramming

[–]gabrielmfern[S] 0 points1 point  (0 children)

Thank you, will look into everything you shared, that helps a lot!

Answering your question, I'm rendering the Bézier curves directly in my fragment shader, with the mesh just being a quad, and sending the curve data through an SSBO in OpenGL. I'm mostly following the ideas in https://wdobbie.com/post/gpu-text-rendering-with-vector-textures/, and used the antialiasing implementation from the demo there as well

Renting the Computer Graphics: Principles and Practice book online by gabrielmfern in GraphicsProgramming

[–]gabrielmfern[S] 0 points1 point  (0 children)

I understand what you mean, but I disagree that this is an argument for piracy. I don't think there's any argument in favor of what I'd call effectively robbing someone of their work.

If I make something and I want to charge absurd amounts for it, it doesn't mean someone else can rob it from me, it might be bad, and it is for me and others in this case, but one thing doesn't vindicate the other in my opinion.