Hacker News new | ask | show | jobs
by Const-me 1744 days ago
How are you rendering these vectors on Linux?

I'm asking because AFAIK unlike Windows with Direct2D, Linux doesn't have GPU-targeted vector graphics libraries. I have once made my own one when I needed something similar: https://github.com/Const-me/Vrmac#vector-graphics-engine

1 comments

I'm using 3D graphics APIs, OpenGL on Linux currently, but Vulkan will be an option later. I'm converting everything to triangles on the CPU and send to OpenGL.

Note that the animation app actually needs to show 3D graphics for a 2D+time visualization which is part of the innovation in my research.

> I'm converting everything to triangles on the CPU and send to OpenGL

Thanks, that’s what I thought. The library I have linked does the same thing. Only it’s either D3D12, or GLES 3.1 underneath.

Wow, your library actually looks impressive! Yeah, I'm pretty much implementing all the same things.