Releases: scalableminds/ocean-viewer
Release list
v1.2.0
Minor Changes
-
#4
0340046Thanks @hotzenklotz! - Added:oceanZoomDamping, a per-dimension exponent in[0, 1]
that makes a dimension'srelativeDisplayScalesfactor track the shared
cross-section zoom —0zooms with the map (unchanged behaviour),1holds the
axis still on screen. Intended for the elevation axis, whose range is tiny next to
lon/lat, so zooming the map no longer lurches the XZ/YZ sections.relativeDisplayScalesitself is now re-asserted by dimension name after
Neuroglancer re-derives the coordinate space, which previously dropped it.
v1.1.0
Minor Changes
-
#2
ae73c3fThanks @hotzenklotz! - Added:↺/↻buttons in the top-right corner of the XY panel, turning the data
15° per press within the viewing plane. They match the camera buttons on the 3D panel,
and they are now the only way to rotate a cross-section — the gestures that used to do
it by accident (shift+ arrow keys,shift+ drag, two-finger twist) are gone.Rotating a cross-section turns the shared cross-section frame, so the XZ and YZ panels
cut obliquely afterwards. The 3D camera has its own orientation and stays put.
Patch Changes
-
d7188fdThanks @hotzenklotz! - Fixed: cross-section planes in the 3D panel no longer render as opaque black
rectangles. Neuroglancer textures each 2D panel's whole viewport onto its plane in the
projection view and paints everything the data doesn't cover with the cross-section
background colour, so the planes showed up as black sheets with the data inset in them.The viewer now defaults
hideCrossSectionBackground3Dtotrue, which discards those
texels instead of filling them. Land, below-seafloor and other no-data cells are
already emitted transparent, so they drop out of the 3D view as well. Send
hideCrossSectionBackground3D: falsein aCONFIGto get the previous appearance back. -
105e630Thanks @hotzenklotz! - Changed: the⌂button on the 3D panel now restores the zoom the latestCONFIG
asked for viaprojectionScale, instead of always recomputing Neuroglancer's
fit-the-data default. ACONFIGthat names noprojectionScalekeeps the old
behaviour, so hosts that never send one see no change.
v1.0.0
Major Changes
-
b110173Thanks @hotzenklotz! - Breaking: the viewer is now distributed as a versioned tarball attached to each
GitHub release, rather than something each host builds itself.What the host page has to change: point the iframe at a pinned release instead of a
self-built bundle. Either
npm i https://github.com/scalableminds/ocean-viewer/releases/download/v1.0.0/ocean-viewer-1.0.0.tgz,
or extract the same tarball onto a static host and servedist/. The README covers
both paths, plus the two hosting details that matter (application/wasmfor.wasm,
and no SPA catch-all rewrite).Nothing about the postMessage protocol changed, so existing
CONFIG/READY/
REPORT/CLICK/HOVERhandling keeps working as-is.Added:
dist/version.jsonreports the running build'sversion,commitand
builtAtat a fixed URL, so "which build is on this server?" is answerable without
devtools.