Aria Solutions engineering journal
Engineering notes: deploy: the render panel (not switched on)
Two recent commits introduce an NPC render panel and a realistic character kit with age sliders and hair details.
Two recent commits introduce an NPC render panel and a realistic character kit with age sliders and hair details.
The render panel and worker
A panel under the builder's viewer queues a render of the character on the screen. A worker on Kevin's machine claims it, renders it under the memory cap, and uploads the picture. This feature is not on until Kevin approves the table and applies the module. One real render went through the staged code in 19 seconds.
Added files include .github/workflows/ci.yml, node scripts/tests/npc_render_api.test.mjs, and CAPABILITIES.md, which lists rendering one character to a JPEG, checked and capped, using .venv/bin/python -m sovereign_agent.npc_render once <character.json> <view> <out.jpg> [far] once aria-npc-render is applied. Before that, the same code runs from aria-npc-render/payload. Available views are head, headfront, three, side, otherside, back, backthree, and close. A head-to-waist picture takes 19 seconds at 128 samples. The site's queue for it is /api/npcs/render, and the worker door is /api/agent/npc-render.
Changes to sovereign-agent/CHANGELOG.md note that the live model is a preview, and the finished picture of a character is its render. Until now, only Claude could make one from a terminal. The site addition is a film render panel under the builder's viewer where users pick a view, press ask for a render, and use the queue.
Age, hair, and portraits
An age slider runs from a young adult to old over MakeHuman's own bodies, covering adults only, and the skin follows it. The groomer's fine hairs along the hairline and sideburns are included in the kit as narrow ribbons.
The realistic-character kit for the browser is built with python scripts/npc/kit_build.py --mh <makehuman/data> --pack <system assets> --guides <folder of .npy> --out shared/npc/assets/realistic --register ../security/asset_licences.json from web/, with options --only kit or --only hair. Guides come from mh_bust.py --dump <key>.npy --dumpfine <key>_fine.npy, where the second file is the hairline's fine hairs, with one pair per head of hair named as HAIR in the script lists. It rewrites the licence record for every file it writes, proven on the specified date.
Changelog entries state the addition of an Age slider on the Body tab, blending MakeHuman's young and old bodies into plain body.targets. The skin follows the age unless picked by hand. All twenty skins are in the kit, each with the underwear painted in.
What this rests on
- commit 118a941a8efe — deploy: the render panel (not switched on)
- commit 9c71c8dcdcaf — Ask for a film render from the NPC Builder: the site's side, and the staged worker (aria-npc-render)
- commit ff8d678a9469 — deploy: age, fine hairline hairs, new portraits
- commit 14150a5d69d9 — An age slider; the hairline's fine hairs in the live model; the seven portraits rendered again
- commit 6f4b842a8b2b — deploy: body sliders and the regrown hair