I thought I was a loop black belt but a subtle "bug" in my logic for aligning this sentence's glyphs was pretty frustrating. Maybe I've been away from lisp too long but `x = foo then bar` clause had a difference between prefix and postfix application :/ Hooray for macroexpand

Nevertheless... I'm now rendering a string with cl-sdf's font metrics aligning to a baseline. I think I'll tackle scaling next before trying to integrate with medium-draw-text

#CommonLisp #McCLIM #OpenGL #Wayland

Just in case anyone else ever runs into this issue, I recently ran `hardlink` to quickly deduplicate my Downloads folder on my @fedora #linux system, but ran it in my home directory instead, not thinking it should cause me any problems.
After it ran, none of my GUI apps that use #OpenGL acceleration would load their interfaces (Steam, Gnome Software tool, even Thunderbird).
After using strace to figure out which files were 'wrong' now, I cleared the $HOME/.cache/mesa_shader* folders and voila!

Programando un simulador de parque de atracciones con OpenGL y C#

#programming #3d #fp #cfgs #csharp #opengl

It's been a while since I've felt like I had a win... I've had a bit less time but I've had a devil of a time working out text atlases in my McCLIM backend. I had a false start trying a `medium-copy-area` approach and then was seduced by trying SDFs. Finally, as of today, I at least have individual characters rendering from an SDF text atlas. ... Well in a sandbox canvas. The next mountain will be integration into `medium-draw-text`.

#CommonLisp #McCLIM #OpenGL #Wayland

Tired of rewriting the same matrix math for minimal dependencies in your OpenGL / GLES / GLSL applications?

I just found glm, a header-only C++ library, that has an existing Debian package that you can simply apt-get. No library dependencies to link, just include the headers, and you have projection, scale, translate, and rotate matrices and vectors. Super awesome, easy, and lightweight.

https://github.com/g-truc/glm

#opengl #graphics #programming #gles #3d #math

GitHub - g-truc/glm: OpenGL Mathematics (GLM)

OpenGL Mathematics (GLM). Contribute to g-truc/glm development by creating an account on GitHub.

GitHub

Still hoping for Chromium browsers to enable Vulkan on Wayland.

It's either X11 on Vulkan, or OpenGL on Wayland. Either way, not the best combinations for 2025.

#Linux #Chrome #Chromium #Browser #WebBrowser #Web #Internet #Blink #BlinkEngine #OpenGL #Wayland #X11 #Vulkan

I've begun my profile on Shadertoy as Nom, my first one is here <<https://www.shadertoy.com/view/WcKSzd >> There was a time when I had no idea how to plot the Mandelbrot set so it seems appropriate to start with it. #shadertoy #OpenGL #shaders #nomxd #Tech-talk🐾