Skip to content

v0.2

Latest

Choose a tag to compare

@EthanAlmloff EthanAlmloff released this 01 Jun 22:27
· 9 commits to main since this release

What's new?

  • Text support using parley
  • Animation support
  • Drawable mixing
  • Pixel Based Positioning
  • Optional increased render area for reflections (so that there aren't parts of the reflections that are reflecting offscreen)
  • Caching textures (Increases performance by ~3x)
  • Instancing textures (before identical draw objects with different transforms were O(n), now the fixed cost is only paid once so it is near O(1))
  • Optional reflection blurring (scaled based on distance squared)
  • Improved debug messages
  • split draw into 4 different draw calls to prevent context switching (~4x increase in performance)

In total, there should be about a ~12x increase in performance over v0.1, depending on what it's being used for.
Note: These are just estimates for the performance, I did limited benchmarks which I used to test performance for these estimates.

Various bug fixes

  • Rotations were previously broken in v0.1 transforms
  • Various scaling issues
  • Refactored the draw_all function which was previously not very easily readable