Skip to content

v0.2.0

Choose a tag to compare

@sheehanmunim sheehanmunim released this 05 Oct 18:54
· 119 commits to main since this release

Added

  • Vehicle catalogue in munim-maps/vehicles: 48 detailed models (13 cars including EV, off-roader, supercar, pickup, taxi and police; vans, trucks, fire engine and buses; bikes, scooters and motorcycles; tram and high-speed train; boats; airliners, business jet, prop plane, F-16, F-22, F-35, YF-23, helicopter, hot air balloon; Starship, Falcon 9, Saturn V and the Space Shuttle), generated by scripts/vehicles/make-vehicles.swift.
  • tint: recolours a model's paint (materials named paint…) at runtime.
  • Avatar models: image draws a round picture that always faces the camera, with imageBorder and a badge pill (such as 5F), sized in points by screenSize.
  • stem: a line from the ground up to a floating model, with a dot on the ground, for people on upper floors.
  • lift: raises a model by a number of points at any zoom, to float an avatar over a vehicle.
  • label: a text pill floating above any model.
  • gem shape, for power-ups.
  • zones: circles or polygons drawn as see-through walls with solid top and bottom edges.
  • Example: friends on Chicago skyscrapers, the vehicle catalogue with tints, power-ups and zones, an Orbit toggle, and a lag test (munimmapsexample://lagtest).

Fixed

  • Models trailed the map by a frame or more while it moved, and stayed slightly off once it stopped. SceneKit's transaction is now flushed before each frame, and frames are presented straight from the GPU. Mid-animation the models now stay within 0.2 px of MapKit's own overlays.
  • Screen-size models no longer redraw every frame while the map is still.
  • Badge pills stay readable on light rings.