Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated. Read this first before publishing or installing.
Component heroes land on a bad camera angle (nothing poses them)
Problem
Component heroes keep landing on a bad camera angle. It is not one page — it is the ongoing pattern across component/board pages. On adom/probing-workcell-load-cell-board the hero is a near-top-down three-quarter view where the board reads as a flat green rectangle: the WAGO terminal and the connector stack are the tallest, most recognisable features and they are all foreshortened away, while the 3D tab right beside it (same model, posed camera) looks great.
Why it happens
I dug into the actual file rather than guessing:
- The hero is
screenshots/hero.pngcommitted in the page repo — 1600x1000, correct 16:10, so it passes the dimension checks. - It carries no hero-studio provenance chunk, so it never went through Hero Studio.
- That is legitimate today:
lib/hero-provenance.jsrequires studio provenance only on new app/skill heroes. Components are exempt.
So nothing poses a component hero. It is whatever the publishing pipeline's headless renderer emitted at its default camera, and a default camera is right only by luck — which is exactly why it looks wrong "everywhere" rather than on one page.
The frustrating part: the good angle already exists on the same page. lib/viewers/viewer-3d.js accepts an explicit camera (alpha, beta, radiusScale), and the 3D tab uses it. The information needed to pose a hero is right there; the hero just is not using it.
Ask
Give component heroes the same posing step app/skill heroes get. Options, roughly in order of effort:
- Render the hero from the page's own GLB at a chosen camera — reuse the
alpha/beta/radiusScalethe 3D viewer already takes, so the hero and the 3D tab agree instead of diverging. - Extend Hero Studio to components so a human poses it once and the gate covers components too (see
adom/hero-studio, which owns the posing UI). - At minimum, a better default camera in whatever renders component heroes — a three-quarter view with enough elevation that connectors and tall parts stay readable, rather than near-top-down.
A related note already on file: heroes rendered headlessly look markedly worse than the wiki's own Babylon viewer output (no proper lighting/materials/AA), so "screenshot the real viewer" may solve angle and quality in one move.
Reported by Ray, seen across component pages.