Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@wkjarosz wkjarosz released this 28 Dec 22:45
· 12 commits to master since this release
1e8188f

Try the latest version in your browser, or download the precompiled binaries for macOS or Windows below.

What's Changed

User-facing changes:

  • Several improvements to the emscripten/browser/mobile device version:
    • fixed a bug that prevented Samplin' Safari from running properly on iPhone in the browser (previously had an all-black screen)
    • zooming, via a pinch gesture, now works on touchscreen-enabled devices (previously zoom only worked via scroll if a mouse/touchpad was connected)
    • on small screens, automatically chooses a mobile-friendly portrait or landscape layout based on screen orientation
  • switched from GL_LINES-based grids, to beautifully antialiased shader-based grids
  • switched from GL_POINTS to instanced billboard-based point rendering
    • points now have a consistent world-space size (instead of having a fixed screen-space size)
  • subtle 3D shading on points using simple hardcoded SH lighting
  • keyboard shortcut documentation in about/help screen
  • improved handling on FPS idling
  • fixed a bug where points and grid were being drawn at wrong depth in the 2D projections view, making zooming not work

Behind-the-scenes changes:

  • updating to latest fmt and galois++ libraries
  • udating hello_imgui to latest version, linux builds now default to using system-installed glfw packages
  • enforcing webGL2.0 in emscripten, allowing GLSL #version 300 es and simplifying compatibility with #version 330 core
  • added support for instanced drawing and attribute offsets to Shader class
  • assets are now re-copied during build if there are any changes to e.g. shaders, instead of requiring a manual cmake reconfigure

Full Changelog: v2.0.0...v2.1.0