Subagent: Model export and lens shot
agent (cont.)
+2:06Bashmkdir -p [redacted: private path]/scratchpad && cat > [redacted: private path]/scratchpad/peek.py <<'EOF'
command
mkdir -p [redacted: private path]/scratchpad && cat > [redacted: private path]/scratchpad/peek.py <<'EOF' import json, base64, struct, sys site, name = sys.argv[1], sys.argv[2] b = base64.b64decode(json.load(open(f"{site}/{name}.glb.json"))["glb"]) n = struct.unpack_from("<I", b, 12)[0] j = json.loads(b[20:20 + n]) print(len(b), {k: len(v) if isinstance(v, list) else v for k, v in j.items()}) for i, (nd) in enumerate(j["nodes"]): if "mesh" in nd: m = j["meshes"][nd["mesh"]]; p = m["primitives"][0]; mat = j["materials"][p["material"]] tri = j["accessors"][p["indices"]]["count"] // 3 print(nd["name"], nd.get("extras"), tri, list(p["attributes"]), json.dumps(mat)) print([ (a["name"], len(a["channels"])) for a in j.get("animations", [])]) print(j["nodes"][j["scenes"][0]["nodes"][0]]["name"], j["skins"][0]["skeleton"], j["nodes"][j["skins"][0]["skeleton"]]["name"]) cam = json.load(open(f"{site}/camera.json")) for c in cam["characters"]: print(c["name"], list(c["info"].keys())) if c["name"] == name: print(json.dumps(c["info"]["paint"])); print(json.dumps({k: v for k, v in c["info"]["roles"].items()})[:3000]) EOF python3 [redacted: private path]/scratchpad/peek.py review/out/whole-lens/site wren
result, 68 lines
4445036 {'asset': {'version': '2.0', 'generator': 'lowmarch export_skinned'}, 'scene': 0, 'scenes': 1, 'nodes': 165, 'meshes': 61, 'materials': 61, 'skins': 1, 'accessors': 401, 'bufferViews': 411, 'buffers': 1, 'samplers': 1, 'textures': 10, 'images': 10, 'animations': 3} body/N00_000_00_FaceMouth_00_FACE (Instance) {'group': 'body', 'role': 'mouth', 'material': 'N00_000_00_FaceMouth_00_FACE (Instance)'} 1696 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:mouth", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 0}}} body/N00_000_00_EyeIris_00_EYE (Instance) {'group': 'body', 'role': 'iris', 'material': 'N00_000_00_EyeIris_00_EYE (Instance)'} 435 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:iris", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 1}}, "alphaMode": "MASK", "alphaCutoff": 0.5} body/N00_000_00_EyeHighlight_00_EYE (Instance) {'group': 'body', 'role': 'highlight', 'material': 'N00_000_00_EyeHighlight_00_EYE (Instance)'} 145 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:highlight", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 2}}, "alphaMode": "MASK", "alphaCutoff": 0.5} body/N00_000_00_Face_00_SKIN (Instance) {'group': 'body', 'role': 'face', 'material': 'N00_000_00_Face_00_SKIN (Instance)'} 4232 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:face", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 3}}} body/N00_000_00_EyeWhite_00_EYE (Instance) {'group': 'body', 'role': 'white', 'material': 'N00_000_00_EyeWhite_00_EYE (Instance)'} 528 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:white", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 4}}} body/N00_000_00_FaceBrow_00_FACE (Instance) {'group': 'body', 'role': 'brow', 'material': 'N00_000_00_FaceBrow_00_FACE (Instance)'} 92 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:brow", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 5}}, "alphaMode": "MASK", "alphaCutoff": 0.5} body/N00_000_00_FaceEyelash_00_FACE (Instance) {'group': 'body', 'role': 'line', 'material': 'N00_000_00_FaceEyelash_00_FACE (Instance)'} 90 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:line", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 6}}, "alphaMode": "MASK", "alphaCutoff": 0.5} body/N00_000_00_FaceEyeline_00_FACE (Instance) {'group': 'body', 'role': 'line', 'material': 'N00_000_00_FaceEyeline_00_FACE (Instance)'} 220 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "body:line", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 7}}, "alphaMode": "MASK", "alphaCutoff": 0.5} body/N00_000_00_Body_00_SKIN (Instance) {'group': 'body', 'role': 'body', 'material': 'N00_000_00_Body_00_SKIN (Instance)'} 1580 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "body:body", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.984313725490196, 0.8509803921568627, 0.611764705882353, 1.0]}} hair/N00_000_Hair_00_HAIR lm {'group': 'hair', 'role': 'hair', 'material': 'N00_000_Hair_00_HAIR lm'} 28576 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "hair:hair", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 8}, "baseColorFactor": [0.6274509803921569, 0.35294117647058826, 0.22745098039215686, 1.0]}, "alphaMode": "MASK", "alphaCutoff": 0.5} hair/N00_000_00_HairBack_00_HAIR lm {'group': 'hair', 'role': 'hair', 'material': 'N00_000_00_HairBack_00_HAIR lm'} 1296 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0', 'TEXCOORD_0'] {"name": "hair:hair", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorTexture": {"index": 9}, "baseColorFactor": [0.6274509803921569, 0.35294117647058826, 0.22745098039215686, 1.0]}, "alphaMode": "MASK", "alphaCutoff": 0.5} dress/OUTFIT_bodice {'group': 'dress', 'role': 'signature', 'material': 'OUTFIT_bodice'} 3364 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "dress:signature", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.12156862745098039, 0.3764705882352941, 0.39215686274509803, 1.0]}} trousers/OUTFIT_tights {'group': 'trousers', 'role': 'doublet', 'material': 'OUTFIT_tights'} 9496 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "trousers:doublet", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.16470588235294117, 0.1803921568627451, 0.25882352941176473, 1.0]}} boots/OUTFIT_boots {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_boots'} 5472 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} gloves/OUTFIT_gloves {'group': 'gloves', 'role': 'metal', 'material': 'OUTFIT_gloves'} 2186 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "gloves:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_L {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_L'} 650 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_L_ridge0 {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_L_ridge0'} 132 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_L_ridge1 {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_L_ridge1'} 132 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_L_ridge2 {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_L_ridge2'} 132 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_R {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_R'} 650 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_R_ridge0 {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_R_ridge0'} 132 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_R_ridge1 {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_R_ridge1'} 132 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} boots/OUTFIT_sabaton_R_ridge2 {'group': 'boots', 'role': 'metal', 'material': 'OUTFIT_sabaton_R_ridge2'} 132 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "boots:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} dress/OUTFIT_collar {'group': 'dress', 'role': 'signature', 'material': 'OUTFIT_collar'} 956 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "dress:signature", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.12156862745098039, 0.3764705882352941, 0.39215686274509803, 1.0]}} dress/OUTFIT_collar_trim {'group': 'dress', 'role': 'gold', 'material': 'OUTFIT_collar_trim'} 468 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "dress:gold", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.8470588235294118, 0.6509803921568628, 0.25098039215686274, 1.0]}} plate/OUTFIT_breastplate {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_breastplate'} 1168 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_breastplate_roll0 {'group': 'plate', 'role': 'gold', 'material': 'OUTFIT_breastplate_roll0'} 456 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:gold", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.8470588235294118, 0.6509803921568628, 0.25098039215686274, 1.0]}} plate/OUTFIT_breastplate_roll1 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_breastplate_roll1'} 336 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} dress/OUTFIT_skirt {'group': 'dress', 'role': 'signature', 'material': 'OUTFIT_skirt'} 2128 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "dress:signature", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.12156862745098039, 0.3764705882352941, 0.39215686274509803, 1.0]}} dress/OUTFIT_skirt_hem {'group': 'dress', 'role': 'heraldry', 'material': 'OUTFIT_skirt_hem'} 112 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "dress:heraldry", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.8313725490196079, 0.8431372549019608, 0.8705882352941177, 1.0]}} dress/OUTFIT_waist_trim {'group': 'dress', 'role': 'gold', 'material': 'OUTFIT_waist_trim'} 672 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "dress:gold", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.8470588235294118, 0.6509803921568628, 0.25098039215686274, 1.0]}} plate/OUTFIT_spaulder_L0 {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_spaulder_L0'} 836 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_L1 {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_spaulder_L1'} 836 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_L0_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_spaulder_L0_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_L1_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_spaulder_L1_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_vambrace_L {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_vambrace_L'} 1676 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_vambrace_L_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_vambrace_L_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_vambrace_L_roll1 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_vambrace_L_roll1'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_couter_L_cap {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_couter_L_cap'} 500 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_couter_L_wing {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_couter_L_wing'} 788 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_greave_L {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_greave_L'} 1916 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_greave_L_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_greave_L_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_greave_L_roll1 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_greave_L_roll1'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_R0 {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_spaulder_R0'} 836 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_R1 {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_spaulder_R1'} 836 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_R0_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_spaulder_R0_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_spaulder_R1_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_spaulder_R1_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_vambrace_R {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_vambrace_R'} 1676 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_vambrace_R_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_vambrace_R_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_vambrace_R_roll1 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_vambrace_R_roll1'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_couter_R_cap {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_couter_R_cap'} 500 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_couter_R_wing {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_couter_R_wing'} 788 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_greave_R {'group': 'plate', 'role': 'steel', 'material': 'OUTFIT_greave_R'} 1916 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_greave_R_roll0 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_greave_R_roll0'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} plate/OUTFIT_greave_R_roll1 {'group': 'plate', 'role': 'metal', 'material': 'OUTFIT_greave_R_roll1'} 348 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "plate:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} sword/OUTFIT_grip {'group': 'sword', 'role': 'signature', 'material': 'OUTFIT_grip'} 32 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "sword:signature", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.12156862745098039, 0.3764705882352941, 0.39215686274509803, 1.0]}} sword/OUTFIT_pommel {'group': 'sword', 'role': 'gold', 'material': 'OUTFIT_pommel'} 196 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "sword:gold", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.8470588235294118, 0.6509803921568628, 0.25098039215686274, 1.0]}} sword/OUTFIT_guard {'group': 'sword', 'role': 'gold', 'material': 'OUTFIT_guard'} 12 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "sword:gold", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.8470588235294118, 0.6509803921568628, 0.25098039215686274, 1.0]}} sword/OUTFIT_blade {'group': 'sword', 'role': 'steel', 'material': 'OUTFIT_blade'} 88 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "sword:steel", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} sword/OUTFIT_fuller {'group': 'sword', 'role': 'metal', 'material': 'OUTFIT_fuller'} 18 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "sword:metal", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.6, "roughnessFactor": 0.35, "baseColorFactor": [0.6588235294117647, 0.6901960784313725, 0.7843137254901961, 1.0]}} body/SHADOW_nose {'group': 'body', 'role': 'shadow', 'material': 'SHADOW_nose'} 84 ['POSITION', 'NORMAL', 'JOINTS_0', 'WEIGHTS_0'] {"name": "body:shadow", "doubleSided": true, "pbrMetallicRoughness": {"metallicFactor": 0.0, "roughnessFactor": 0.9, "baseColorFactor": [0.9254901960784314, 0.6274509803921569, 0.403921568627451, 1.0]}} [('idle', 38), ('attack', 40), ('apose', 4)] character 0 Root wren ['roles', 'light', 'sun', 'capsules', 'cloth', 'face_marks', 'paint', 'mouth_curve', 'mouth_bone', 'ink', 'skin', 'depth_gap'] {"face": {"kind": "skin", "base": "#f8e1d5", "ramp": ["#f8e1d5", "#c6a296", "#7c5a53"]}, "body": {"kind": "skin", "base": "#f8e1d5", "ramp": ["#f8e1d5", "#c6a296", "#7c5a53"]}, "shadow": {"kind": "skin", "base": "#f8e1d5", "ramp": ["#f8e1d5", "#c6a296", "#7c5a53"], "shade": true}, "hair": {"kind": "hair", "base": "#7a3e26"}, "coat": {"kind": "cloth", "base": "#1d5b5e"}, "cape": {"kind": "cloth", "base": "#1d5b5e"}, "signature": {"kind": "cloth", "base": "#1d5b5e", "grain": 0.015}, "doublet": {"kind": "cloth", "base": "#1c2026"}, "cloth": {"kind": "cloth", "base": "#1c2026"}, "heraldry": {"kind": "cloth", "base": "#efe6d2"}, "leather": {"kind": "leather", "base": "#5a3d2b"}, "boot": {"kind": "leather", "base": "#4a3326"}, "glove": {"kind": "leather", "base": "#5a3d2b"}, "metal": {"kind": "steel", "base": "#c3c6cc"}, "steel": {"kind": "steel", "base": "#c3c6cc"}, "gold": {"kind": "gold", "base": "#c29a4a"}, "grass": {"kind": "world", "base": "#5a7a3a"}, "dirt": {"kind": "world", "base": "#6a4a32"}, "stone": {"kind": "world", "base": "#7c7a86"}, "motif": {"kind": "cloth", "base": "#3a44a0"}, "trim": {"kind": "cloth", "base": "#b08b3f"}} {"face": {"mode": "bands", "bands": [[0.8, "#fff6d8"], [0.62, "#fbd99c"], [0.38, "#eca067"], [-9, "#b06e4b"]]}, "body": {"mode": "bands", "bands": [[0.8, "#fff6d8"], [0.62, "#fbd99c"], [0.38, "#eca067"], [-9, "#b06e4b"]], "cap": "#fbd99c"}, "shadow": {"mode": "flat", "color": "#eca067"}, "hair": {"mode": "bands", "bands": [[0.86, "#c88a62"], [0.66, "#a05a3a"], [0.42, "#7a3e26"], [-9, "#52281a"]]}, "cloth": {"mode": "bands", "bands": [[0.85, "#4a9a96"], [0.6, "#1f6064"], [0.35, "#17474a"], [-9, "#0f2e2c"]]}, "line": {"mode": "flat", "color": "#2f1e3c"}, "brow": {"mode": "flat", "color": "#2e1610"}, "mouth": {"mode": "flat", "color": "#6e4247"}, "white": {"mode": "flat", "color": "#f4fbff"}, "highlight": {"mode": "flat", "color": "#f4fbff"}, "iris": {"mode": "iris", "colors": ["#3a2410", "#8a5a20", "#d8a050"], "cuts": [0.25, 0.5]}, "coat": {"mode": "bands", "bands": [[0.85, "#4a9a96"], [0.6, "#1f6064"], [0.35, "#17474a"], [-9, "#0f2e2c"]], "world": false}, "signature": {"mode": "bands", "bands": [[0.85, "#4a9a96"], [0.6, "#1f6064"], [0.35, "#17474a"], [-9, "#0f2e2c"]], "world": false}, "doublet": {"mode": "bands", "bands": [[0.85, "#41465e"], [0.6, "#2a2e42"], [0.35, "#1b1e2c"], [-9, "#0f111b"]], "world": false}, "heraldry": {"mode": "bands", "bands": [[0.85, "#f1f2f5"], [0.6, "#d4d7de"], [0.35, "#a4a8b4"], [-9, "#6a6e7c"]], "world": false}, "cape": {"mode": "bands", "bands": [[0.85, "#c86070"], [0.6, "#9a3a4a"], [0.35, "#6a2a3a"], [-9, "#3a1a2a"]], "world": false}, "metal": {"mode": "bands", "bands": [[0.975, "#eef2fa"], [0.86, "#a8b0c8"], [0.55, "#6a7090"], [-9, "#3a3e58"]], "world": false}, "gold": {"mode": "bands", "bands": [[0.8, "#fff0a0"], [0.45, "#d8a640"], [-9, "#8a5a1a"]], "world": false}, "leather": {"mode": "bands", "bands": [[0.75, "#b98351"], [0.4, "#83502f"], [-9, "#4b2b21"]], "world": false}, "boot": {"mode": "bands", "bands": [[0.8, "#b98351"], [0.45, "#83502f"], [-9, "#4b2b21"]], "world": false}, "glove": {"mode": "bands", "bands": [[0.75, "#b98351"], [0.4, "#83502f"], [-9, "#4b2b21"]], "world": false}, "steel": {"mode": "bands", "bands": [[0.9, "#eef2fa"], [0.7, "#a8b0c8"], [0.4, "#6a7090"], [-9, "#3a3e58"]], "world": false}, "grass": {"mode": "bands", "bands": [[0.9, "#93c257"], [0.7, "#58923a"], [0.4, "#36652c"], [-9, "#22401f"]], "world": true}, "dirt": {"mode": "bands", "bands": [[0.7, "#9c7450"], [0.35, "#6e4a30"], [-9, "#3e2a1e"]], "world": true}, "stone": {"mode": "bands", "bands": [[0.8, "#b2b2c0"], [0.45, "#76768a"], [-9, "#46465a"]], "world": true}} mob_soldier ['roles', 'light', 'sun', 'capsules', 'cloth', 'face_marks', 'paint', 'mouth_curve', 'mouth_bone', 'ink', 'skin', 'depth_gap']Bashcat > [redacted: private path]/scratchpad/tex.py <<'EOF'
command
cat > [redacted: private path]/scratchpad/tex.py <<'EOF' import json, base64, struct, sys, io import numpy as np from PIL import Image site, name, out = sys.argv[1:4] b = base64.b64decode(json.load(open(f"{site}/{name}.glb.json"))["glb"]) n = struct.unpack_from("<I", b, 12)[0] j = json.loads(b[20:20 + n]); binoff = 20 + n + 8 use = {} for m in j["materials"]: t = m["pbrMetallicRoughness"].get("baseColorTexture") if t: use.setdefault(t["index"], m["name"]) for i, im in enumerate(j["images"]): v = j["bufferViews"][im["bufferView"]] a = np.asarray(Image.open(io.BytesIO(b[binoff + v.get("byteOffset", 0): binoff + v.get("byteOffset", 0) + v["byteLength"]])).convert("RGBA")) op = a[a[..., 3] > 128][:, :3] print(i, use.get(i), a.shape, "opaque", round(len(op) / a[..., 0].size, 2), "median", np.median(op, 0) if len(op) else None, "mean lum", op.mean() if len(op) else None) Image.fromarray(a).save(f"{out}/tex{i}.png") EOF D=[redacted: private path]/scratchpad; python3 $D/tex.py review/out/whole-lens/site wren $D
result, 10 lines
0 body:mouth (512, 512, 4) opaque 1.0 median [204. 117. 120.] mean lum 179.45180002848306 1 body:iris (256, 512, 4) opaque 0.17 median [ 78. 109. 131.] mean lum 109.60314608710893 2 body:highlight (256, 512, 4) opaque 0.0 median [209. 211. 230.] mean lum 212.00678294573643 3 body:face (512, 512, 4) opaque 1.0 median [249. 231. 218.] mean lum 231.4294344584147 4 body:white (256, 512, 4) opaque 1.0 median [200. 186. 182.] mean lum 198.76238250732422 5 body:brow (128, 512, 4) opaque 0.08 median [115. 81. 82.] mean lum 94.12344294967613 6 body:line (128, 512, 4) opaque 0.07 median [36. 25. 33.] mean lum 31.34557945041816 7 body:line (128, 512, 4) opaque 0.13 median [47. 31. 37.] mean lum 45.973800505050505 8 hair:hair (512, 256, 4) opaque 1.0 median [51. 54. 78.] mean lum 61.337059020996094 9 hair:hair (512, 512, 4) opaque 0.44 median [54. 57. 79.] mean lum 63.755521843249404
BashD=[redacted: private path]/scratchpad; cd $D && python3 -c "
command
D=[redacted: private path]/scratchpad; cd $D && python3 -c " from PIL import Image ims=[Image.open(f'tex{i}.png').convert('RGBA') for i in range(10)] W=sum(256 for _ in ims); sheet=Image.new('RGBA',(256*5,256*2),(255,0,255,255)) for k,im in enumerate(ims): t=im.copy(); t.thumbnail((256,256)); bg=Image.new('RGBA',t.size,(255,0,255,255)); bg.alpha_composite(t); sheet.paste(bg,((k%5)*256,(k//5)*256)) sheet.save('texsheet.png')"result, 1 line
(Bash completed with no output)
Read[redacted: private path]/scratchpad/texsheet.png
input
{ "file_path": "[redacted: private path]/scratchpad/texsheet.png" }result
no output
BashD=[redacted: private path]/scratchpad; cd $D && python3 -c "
command
D=[redacted: private path]/scratchpad; cd $D && python3 -c " import numpy as np; from PIL import Image for i in (1,2,5,6,7,9): a=np.asarray(Image.open(f'tex{i}.png')); al=a[...,3]; print(i, al.max(), (al>0).mean().round(3), (al>=128).mean().round(3), np.percentile(al[al>0],[50,90]) if (al>0).any() else '') "; cd ~/Projects/lowmarch-fable52 && sed -n 100,136p review/vroid-02/build.pyresult, 41 lines
1 255 0.21 0.174 [255. 255.] 2 255 0.049 0.003 [ 9. 76.] 5 255 0.273 0.082 [ 42. 244.] 6 255 0.114 0.068 [215. 255.] 7 255 0.234 0.129 [169. 255.] 9 255 0.447 0.438 [255. 255.] extra.append(lambda fit: hair.beard(fit, style, length=length)) if not extra: return base return lambda fit: base(fit) + [pc for f in extra for pc in f(fit)] def model_path(name, c): """A VRoid model under LOWMARCH_VROID, or a converted MakeHuman or Quaternius body, or a reshaped VRoid one (tools/makehuman.py, tools/quaternius.py, tools/mass.py, tools/cage.py, run first with `python3 -I`: they read downloaded data).""" if c.get("mass"): import mass p = mass.path_for(name, c["mass"]) if not os.path.exists(p): raise SystemExit(f"{name}: no massed VRoid body; run python3 -I tools/mass.py first") return p if c.get("cage"): import cage p = cage.path_for(name, c["cage"]) if not os.path.exists(p): raise SystemExit(f"{name}: no cage body; run python3 -I tools/cage.py first") return p if c.get("qt"): import quaternius p = quaternius.path_for(name, c["qt"]) if not os.path.exists(p): raise SystemExit(f"{name}: no converted Quaternius body; run python3 -I tools/quaternius.py first") return p if not c.get("mh"): return os.path.join(VROID, c["model"]) import makehuman p = makehuman.path_for(name, c["mh"]) if not os.path.exists(p): raise SystemExit(f"{name}: no converted MakeHuman body; run python3 -I tools/makehuman.py first") return pBashls [redacted: private path]/vroid/samples_2_14 | head; f=$(ls [redacted: private path]/vroid/samples_2_14/*.vrm | head -1); python3 -c "error
command
ls [redacted: private path]/vroid/samples_2_14 | head; f=$(ls [redacted: private path]/vroid/samples_2_14/*.vrm | head -1); python3 -c " import json,struct,sys b=open(sys.argv[1],'rb').read(); n=struct.unpack_from('<I',b,12)[0]; j=json.loads(b[20:20+n]) ext=j.get('extensions',{}); print(list(ext)) hb=ext['VRM']['humanoid']['humanBones'] if 'VRM' in ext else ext['VRMC_vrm']['humanoid']['humanBones'] nodes=j['nodes'] if isinstance(hb,list): for h in hb: print(h['bone'], nodes[h['node']]['name']) else: for k,v in hb.items(): print(k, nodes[v['node']]['name']) print(json.dumps(ext['VRM']['meta'])[:600] if 'VRM' in ext else '') " "$f"
result, error, 15 lines
Exit code 1 avatarsample_a avatarsample_b avatarsample_c avatarsample_d avatarsample_e avatarsample_f avatarsample_g avatarsample_h avatarsample_i avatarsample_j ls: cannot access '[redacted: private path]/vroid/samples_2_14/*.vrm': No such file or directory Traceback (most recent call last): File "<string>", line 3, in <module> FileNotFoundError: [Errno 2] No such file or directory: ''Bashls [redacted: private path]/vroid/samples_2_14/avatarsample_a | head; f=$(find [redacted: private path]/vroid/samples_2_14/avatarsample_a -name "*.vrm" | head -1); echo "$f"; python3 -c "
command
ls [redacted: private path]/vroid/samples_2_14/avatarsample_a | head; f=$(find [redacted: private path]/vroid/samples_2_14/avatarsample_a -name "*.vrm" | head -1); echo "$f"; python3 -c " import json,struct,sys b=open(sys.argv[1],'rb').read(); n=struct.unpack_from('<I',b,12)[0]; j=json.loads(b[20:20+n]) ext=j.get('extensions',{}); print(list(ext)) hb=ext['VRM']['humanoid']['humanBones'] if 'VRM' in ext else ext['VRMC_vrm']['humanoid']['humanBones'] nodes=j['nodes'] out={} if isinstance(hb,list): for h in hb: out[h['bone']]=nodes[h['node']]['name'] else: for k,v in hb.items(): out[k]=nodes[v['node']]['name'] print(len(out), out) m=ext['VRM']['meta'] if 'VRM' in ext else ext['VRMC_vrm']['meta']; print({k:v for k,v in m.items() if k!='texture'}) " "$f"
result, 5 lines
AvatarSample_A.vrm [redacted: private path]/vroid/samples_2_14/avatarsample_a/AvatarSample_A.vrm ['VRM'] 54 {'hips': 'J_Bip_C_Hips', 'leftUpperLeg': 'J_Bip_L_UpperLeg', 'rightUpperLeg': 'J_Bip_R_UpperLeg', 'leftLowerLeg': 'J_Bip_L_LowerLeg', 'rightLowerLeg': 'J_Bip_R_LowerLeg', 'leftFoot': 'J_Bip_L_Foot', 'rightFoot': 'J_Bip_R_Foot', 'spine': 'J_Bip_C_Spine', 'chest': 'J_Bip_C_Chest', 'neck': 'J_Bip_C_Neck', 'head': 'J_Bip_C_Head', 'leftShoulder': 'J_Bip_L_Shoulder', 'rightShoulder': 'J_Bip_R_Shoulder', 'leftUpperArm': 'J_Bip_L_UpperArm', 'rightUpperArm': 'J_Bip_R_UpperArm', 'leftLowerArm': 'J_Bip_L_LowerArm', 'rightLowerArm': 'J_Bip_R_LowerArm', 'leftHand': 'J_Bip_L_Hand', 'rightHand': 'J_Bip_R_Hand', 'leftToes': 'J_Bip_L_ToeBase', 'rightToes': 'J_Bip_R_ToeBase', 'leftEye': 'J_Adj_L_FaceEye', 'rightEye': 'J_Adj_R_FaceEye', 'leftThumbProximal': 'J_Bip_L_Thumb1', 'leftThumbIntermediate': 'J_Bip_L_Thumb2', 'leftThumbDistal': 'J_Bip_L_Thumb3', 'leftIndexProximal': 'J_Bip_L_Index1', 'leftIndexIntermediate': 'J_Bip_L_Index2', 'leftIndexDistal': 'J_Bip_L_Index3', 'leftMiddleProximal': 'J_Bip_L_Middle1', 'leftMiddleIntermediate': 'J_Bip_L_Middle2', 'leftMiddleDistal': 'J_Bip_L_Middle3', 'leftRingProximal': 'J_Bip_L_Ring1', 'leftRingIntermediate': 'J_Bip_L_Ring2', 'leftRingDistal': 'J_Bip_L_Ring3', 'leftLittleProximal': 'J_Bip_L_Little1', 'leftLittleIntermediate': 'J_Bip_L_Little2', 'leftLittleDistal': 'J_Bip_L_Little3', 'rightThumbProximal': 'J_Bip_R_Thumb1', 'rightThumbIntermediate': 'J_Bip_R_Thumb2', 'rightThumbDistal': 'J_Bip_R_Thumb3', 'rightIndexProximal': 'J_Bip_R_Index1', 'rightIndexIntermediate': 'J_Bip_R_Index2', 'rightIndexDistal': 'J_Bip_R_Index3', 'rightMiddleProximal': 'J_Bip_R_Middle1', 'rightMiddleIntermediate': 'J_Bip_R_Middle2', 'rightMiddleDistal': 'J_Bip_R_Middle3', 'rightRingProximal': 'J_Bip_R_Ring1', 'rightRingIntermediate': 'J_Bip_R_Ring2', 'rightRingDistal': 'J_Bip_R_Ring3', 'rightLittleProximal': 'J_Bip_R_Little1', 'rightLittleIntermediate': 'J_Bip_R_Little2', 'rightLittleDistal': 'J_Bip_R_Little3', 'upperChest': 'J_Bip_C_UpperChest'} {'allowedUserName': 'OnlyAuthor', 'author': 'pixiv VRoid Project', 'commercialUssageName': 'Disallow', 'licenseName': 'Redistribution_Prohibited', 'sexualUssageName': 'Disallow', 'title': 'AvatarSample_A', 'violentUssageName': 'Disallow'}Bashgrep -n -i -A6 "1443" docs/handbook.md docs/vroid.md | head -40
command
grep -n -i -A6 "1443" docs/handbook.md docs/vroid.md | head -40
result, 14 lines
docs/handbook.md:208:- **VRoid licence:** read by hand on 11-09, in `docs/vroid.md` ("Licence, read 2026-11-09", #1443). Baked characters in a docs/handbook.md-209- sold game, public pages and renders are allowed, no credit needed. A player-facing creator needs pixiv's licence. Our docs/handbook.md-210- exports' `Redistribution_Prohibited` fields were set at our export and don't bind us. Open: unedited A to Z textures in docs/handbook.md-211- a paid game. The owner decides what ships. docs/handbook.md-212-- **Blender:** nothing gets installed into it without the owner's go. A trial plan is enough. docs/handbook.md-213-- **The repo has no remote.** The owner hasn't decided, so don't add one. Commit locally. docs/handbook.md-214-- **Writing:** docs terse, no em dashes. Pages the owner may share carry no employer names. Public write-ups call this docs/vroid.md:3:**Status (2026-11-09):** current. The files carry 57 expression shapes (2.14 exports) or 56 (older), not the 54 below. Licence terms were read by hand on 11-09: see "Licence, read 2026-11-09" below, which replaces the licence notes further down (led #1443). docs/vroid.md-4- docs/vroid.md-5-## Licence, read 2026-11-09 docs/vroid.md-6- docs/vroid.md-7-Read by hand from pixiv's own pages on 2026-11-09 (headless browser, no login). Page copies and text dumps are in docs/vroid.md-8-`[redacted: private path]/overnight-1109/lowmarch-prep/pages/`. This is a reading of the terms, not legal advice. docs/vroid.md-9-The English terms of use are a translation; pixiv says the Japanese original prevails.Bashdate +%s; cd ~/Projects/lowmarch-fable52 && git check-ignore -v review/out/whole-lens/x.png; python3 -c "
command
date +%s; cd ~/Projects/lowmarch-fable52 && git check-ignore -v review/out/whole-lens/x.png; python3 -c " import json; c=json.load(open('review/out/whole-lens/site/camera.json')) for ch in c['characters']: print(ch['name'], {k: len(json.dumps(v)) for k,v in ch['info'].items()}) print(json.dumps(c['duel'])[:600])"result, 5 lines
1794309212 .gitignore:6:review/out/ review/out/whole-lens/x.png wren {'roles': 2520, 'light': 62, 'sun': 62, 'capsules': 2769, 'cloth': 156, 'face_marks': 1466, 'paint': 1151, 'mouth_curve': 1567, 'mouth_bone': 14, 'ink': 54, 'skin': 55, 'depth_gap': 5} mob_soldier {'roles': 2520, 'light': 62, 'sun': 62, 'capsules': 2398, 'cloth': 2, 'face_marks': 1606, 'paint': 1416, 'mouth_curve': 1566, 'mouth_bone': 14, 'ink': 54, 'skin': 55, 'depth_gap': 5} {"order": {"player": "wren", "opponent": "mob_soldier"}, "place": {"wren": {"pos": [-0.8, 0, 0.0], "yaw": -68}, "mob_soldier": {"pos": [0.95, 0, 0.0], "yaw": 70}}, "cam": {"view": "battle", "w": 640, "h": 360, "pitch": 10, "px_per_m": 90.0, "pivot": [-0.0, 0.0, -0.0], "pivot_px": [320, 318.0]}, "clip": "idle"}
