5 releases

0.1.4 Nov 20, 2023
0.1.3 Nov 5, 2023
0.1.2 Oct 28, 2023
0.1.1 Oct 20, 2023
0.1.0 Oct 15, 2023

#402 in Graphics APIs

MIT license

14KB
322 lines

Glowmesh

This is a thin mesh abstraction for glow. Its very ooga booga style: simply implemented per common vertex type. For now XYZRGBA. The _build2d module is for 2d rendering, providing functionality for triangle, quad and polygon rendering (more to come like lines etc).

examples/triangle may serve as a starting point for OpenGL application development

Todo

  • todo fix resizing on wayland if thats even possible lmao
  • todo recycling handles
  • todo rotozoom triangle with projection matrix... in accompanying matrix library xD
  • add texture or think about what ive done wrt uvquad0. maybe gets a buffer as a texture or something like
  • texture thing can bind screen buffers and shit

ISSUE - texture comes in as all 0. fix that then we can move on eg to gball but plus this will be ready

see if using old image loading code works...

Dependencies

~3.5–5MB
~112K SLoC