Skip to content

WolfViewer — Happy Dog

Choose a tag to compare

@intelligentwolf intelligentwolf released this 21 Sep 05:36
· 1932 commits to wolfviewer since this release

WolfViewer — Happy Dog (7.2.4 w43)

Teleport crash fixed (w42 withdrawn)

Batty Beaver (w42) crashed about one second after arriving on a different region. Its large-region fix read a region pointer that attachments and moving linksets keep from the region they were created in; once the region you left was deleted, the next rebuild of an attachment followed that stale pointer. Happy Dog checks that the region is still live and leaves attachments on the stock path. Verified with repeated cross-region teleports.

Flicker on very large regions is fixed (carried over from w42)

On a 200x200 region (51 km on a side) buildings, roads and the ground shimmered and flickered whenever the camera moved, and got worse the further you were from the region's south-west corner. Three things in the renderer carried region-scale coordinates in single-precision floats, where a vertex 40 km out can only be placed to the nearest 4 mm and a 20 km draw translation changes its rounding with every camera turn:

  • Agent space follows you. The viewer's working frame used to be pinned to the region's origin. On regions wider than 2048 m it now re-centres itself near your camera every kilometre or so, using the same machinery a region crossing uses. Ordinary regions and grids are untouched.
  • Static objects are built around their own neighbourhood. Buildings, roads and every other prim that does not move are stored and drawn relative to the small block of space they sit in, instead of the region's corner.
  • Terrain is built per patch. Each terrain patch is stored around its own origin and drawn with its own exact position; texturing, terrain paint and caustics are unchanged.

Everything the simulator needs in region coordinates — where you touch an object, where sounds play, where a rezzed object lands, your camera position, SLURLs and the location bar — is converted explicitly, so the re-centred frame is invisible to the grid.