VIEWER(3VRMFIG)Pyon manual · the pictures of the VRM write-up (tools/vrm-figures.py, Python)VIEWER(3VRMFIG)

NAME

VIEWER — the viewer page that draws a .vrm with the real VRM loader

SYNOPSIS

view.html?f=FILE.vrm&w=800&h=800&yaw=0&d=1.9&ty=.3&cy=.08&ex=blink:1&pose=legs&wire=1&skel=1&weights=1&plain=1&turn=80&at=7

DESCRIPTION

A page, written into the work folder, that loads one .vrm with three.js and pixiv's three-vrm and draws it as its address says: the camera's turn (yaw, degrees), distance (d), the height looked at (ty) and the camera's height above it (cy); expressions (ex) by name and weight; a pose (legs: a stub foot up, the head and spine tilted); a wireframe over the model (wire); the skeleton with a red dot at each bone (skel); each vertex coloured by its bones mixed by their weights (weights); plain materials instead of toon (plain); or a quick turn of the model, photographed mid-turn at frame at, so that the spring bones show their lag (turn). It sets window.done when the picture is ready.

NOTES

The bones' colours in the weights view: hips #e4572e, spine #f3a712, chest #a8c686, neck #669bbc, head #3f88c5, leftFoot #9b5de5, rightFoot #f15bb5, tail1 #00bbf9, tail2 #00f5d4, tail3 #8ac926, ear_L #ff595e, ear_R #ffca3a.

SEE ALSO

shoot(3vrmfig), setup(3vrmfig)

SOURCE

tools/vrm-figures.py, line 37

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0