3 ms·
A while ago I wanted to make some vector-based toy games for fun. I surveyed the available options and basically couldn't find any. If an engine supports vect
by Waterluvian 4y ago
A while ago I wanted to make some vector-based toy games for fun. I surveyed the available options and basically couldn't find any. If an engine supports vector graphics, it wants to rasterize them ASAP. If I asked online, the general answer was, "GPUs are for rasters, it gets rasterized one way or another. So just do that."
I dunno. I'm not that bright. I don't fully understand it all. But I feel like it should be easy to say, "here's some SVG files for my toy 2D game. I expect they'll scale infinitely well when I zoom the viewport" but alas it was such a migraine with PhaserJS/PixiJs, Godot, and Unity3D.
I'm excited about any sort of project to get you vector graphics as close to the metal as possible before being rasterized (ideally upon draw to the graphics buffer)
- zozbot234 4y ago> I'm excited about any sort of project to get you vector graphics as close to the metal as possible before being rasterized Get a NeXT workstation and use Display Postscript?
- Waterluvian 4y agoDon’t suggest such brilliantly horrible ideas during the beginning of my three week holiday… must resist urge to wander eBay.
- paul_manias 4y agoI work on a project that builds an SVG compliant vector scene graph and allows for detailed interaction via its API. Writing client code that can plug into the rendering pipeline or just altering the existing code is also fairly easy - comparatively at least. It's at https://github.com/parasol-framework/parasol https://github.com/parasol-framework/parasol but fair warning though, it is in alpha right now and going through an overhaul.