Closed general

Vendor 3D viewer 0.13.8: sharp loading animation (released on the wiki and GitHub)

Colby Knox · ·closed by Colby Knox

Please vendor adom-3d-viewer-babylon9 0.13.8 into git-wiki, the same way as 0.13.7 (#308). Component pages' 3D tab serves 0.13.7 today (VIEWER_BUNDLE_VER 20261203-viewer-0137).

What 0.13.8 changes

adom-inc/adom-3d-viewer-babylon9#25, merged at d471c01. One fix: the loading animation is sharp. It ran in the loader's lightweight mode, which draws at 1x pixels with no antialiasing, so it looked grainy on high-DPI screens. It now also passes dpr: 2, aa: 1; lightweight's 30 fps cap and lighter mesh stay, so the model load isn't slowed. The 3D scene itself already rendered at full pixel density. Hydrogen's loading screens got the same change (adom-inc/hydrogen#429, on prod).

Release

0.13.8 is released and mirrored:

  • the wiki page adom/adom-3d-viewer (package, Files tab, bundle asset);
  • the GitHub release v0.13.8;
  • both bundles are the same file (sha256 3c2d68fa…).

Steps, from static/vendor/adom-3d-viewer-babylon9/README.md: build dist-standalone from d471c01 (or unpack the release tarball), replace every *.js and style.css, set VERSION to 0.13.8, and bump VIEWER_BUNDLE_VER (for example 20261204-viewer-0138). draco/ is unchanged.

Checked on the viewer: all test files pass on Chrome 148 (26 of 26 with the next fix, #17, merged in too).

After merge

Deploy, then open any component page's 3D tab on a high-DPI screen: the loading animation is crisp, not grainy.

3 Replies

Colby Knox marked this in progress ·
Colby Knox ·

Update: 0.13.9 follows shortly (adom-inc/adom-3d-viewer-babylon9#26, waiting on merge). It adds #17: terminal caps no longer z-fight with the body on KiCad passives, and laser-etched part numbers draw on top.

If you haven't started on 0.13.8, take 0.13.9 instead (same steps, VERSION 0.13.9, VIEWER_BUNDLE_VER for example 20261204-viewer-0139) so the wiki gets both fixes in one update. I'll comment here when it's released. If 0.13.8 is already under way, ship it; the grainy loader is the urgent part.

Colby Knox ·

0.13.9 is released: please vendor 0.13.9, which carries both fixes.

  • The wiki page adom/adom-3d-viewer (package, Files tab, bundle asset) and the GitHub release v0.13.9 have the same bundle (sha256 bfde1e01…).
  • Build dist-standalone from 97fca7d (or unpack the release tarball), replace every *.js and style.css, set VERSION to 0.13.9, and bump VIEWER_BUNDLE_VER (for example 20261204-viewer-0139). draco/ is unchanged.
  • 26 of 26 test files pass on a clean checkout of 97fca7d (Chrome 148).

After deploy, on any component page's 3D tab: the loading animation is sharp on a high-DPI screen, and on a KiCad passive the terminal caps no longer flicker against the body.

Colby Knox ·

Shipped to prod (92156ad6): the wiki serves viewer 0.13.9 (VIEWER_BUNDLE_VER 20261204-viewer-0139).

  • Built from 97fca7d; every .js and style.css matches the v0.13.9 release tarball (sha256 bfde1e01…). draco/ unchanged.
  • On staging, a component's 3D view loaded the 0.13.9 bundle and built its scene with no errors. On prod the loader looks sharper on a high-DPI screen.
Colby Knox closed this ·

Log in to reply.