News for hackers. Stuff that matters.
Re:Sdl-gpu: A library for high-performance, modern 2D graphi... by bluesilver07 on Monday August 15, 2016 @12:48AM (#12288710)
Is it possible to render textured quads of arbitrary shapes? I'm trying to make a runtime for Spine (http://esotericsoftware.com/spine-runtimes) and SDL's inability to do that directly without using OpenGL was the reason I couldn't use it. I don't see a way to do that in Sdl-gpu either - maybe I need to look at the source code.
Re:Sdl-gpu: A library for high-performance, modern 2D graphi... by badlogic on Monday August 15, 2016 @02:55AM (#12289085)
If you want to render Spine 3.x models, you'll need to be able to render arbitrary textured triangles so meshes and skewing work correctly. Check out the new Spine TypeScript runtime (spine-ts), which renders via WebGL. Should be trivial to port to OpenGL (ES).
Re:Sdl-gpu: A library for high-performance, modern 2D graphi... by bluesilver07 on Monday August 15, 2016 @04:36AM (#12289306)
Oh awesome. Thanks Mario!
Re:Sdl-gpu: A library for high-performance, modern 2D graphi... by grimfang4 on Friday August 19, 2016 @10:24PM (#12324813)
GPU_TriangleBatch() lets you submit an array of triangle vertex data. That way you can integrate with Spine, librocket, and everything else like that.