#X3D V3.3 utf8
# X3D-to-ClassicVRML XSL translation autogenerated by X3dToVrml97.xslt
# https://www.web3d.org/x3d/content/X3dToVrml97.xslt
# Generated using XSLT processor: Saxonica
PROFILE Immersive
# [X3D] version=3.3
# [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.3.xsd
# [head]
COMPONENT H-Anim:1
META "title" "BoxMan3.x3d"
META "description" "A Seamless VRML Human, demonstrating the HAnim 2001 Specification, animation scripting via an external prototype (ExternProtoDeclare)."
META "creator" "James Smith - james@vapourtech.com"
META "translator" "Don Brutzman and Matt Beitler"
META "created" "1 March 2001"
META "translated" "19 October 2001"
META "modified" "28 October 2023"
META "error" "Legacy model, not valid as X3D4 HAnim version 2.0 since HAnim version 1.0 has significant differences and is no longer directly supported"
### Error:
META "reference" "http://HAnim.org"
META "reference" "originals/boxman.wrl"
META "reference" "BoxMan3.js"
META "warning" "Skin mesh is split across multiple shapes within a Group, should that be allowed?"
META "TODO" "What does the original animation script accomplish? It is not hooked up, script source contains errors..."
META "TODO" "InstantReality Forum Issue: InstantReality is ignoring the Viewpoint nodes in the topmost HAnimSite. http://forum.instantreality.org"
META "Image" "BoxManViewInclined.png"
META "Image" "BoxManViewFront.png"
META "Image" "BoxManViewRight.png"
META "Image" "BoxManViewLeft.png"
META "Image" "BoxManViewTop.png"
META "reference" "BoxManAnimationPanel.x3d"
META "reference" "http://HAnim.org/Models/HAnim2001/boxman/boxman.wrl"
META "reference" "http://www.vapourtech.com/team/james/boxman.wrl"
META "reference" "http://HAnim.org/Specifications/HAnim2001"
META "reference" "http://HAnim.org/Models"
META "reference" "http://HAnim.org/Nodes"
META "reference" "https://www.web3d.org/x3d/content/X3dToVrml97.xslt"
META "rights" "(C) 2000 James Smith - james@vapourtech.com"
META "reference" "http://www.vapourtech.com"
META "subject" "BoxMan HAnim 2.0"
META "identifier" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Legacy/BoxMan3.x3d"
META "generator" "X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
META "license" "../license.html"
# [Scene] ========== ========== ==========
NavigationInfo { type [ "EXAMINE" "ANY" ] } ### Default X3D NavigationInfo
WorldInfo {
info [ "(C) 2000 James Smith - james@vapourtech.com" "http://www.vapourtech.com/team/james/boxman.wrl" "Blaxxun compatibility by Tu Lam - TuL@seamless-solutions.com" ]
title "BoxMan3 - A Seamless VRML Human"
}
Background {
groundColor [ 0.6 0.6 0.6 ]
skyColor [ 0.75 0.75 0.75 ]
}
# When converting to VRML97 (which didn't include HAnim), HAnim node prototypes are provided automatically by the X3dToVrml97.xslt translation stylesheet
DEF boxman_Humanoid HAnimHumanoid {
info [ "authorName=James Smith" "authorEmail=james@vapourtech.com" "copyright=(C) 2000 James Smith - james@vapourtech.com" "humanoidVersion=1.0" ]
name "Humanoid"
info [ ]
skeleton [
DEF boxman_humanoid_root HAnimJoint {
center 0 0.9723 -0.0728
name "humanoid_root"
skinCoordIndex [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_sacrum HAnimSegment {
name "sacrum"
children [
Transform {
translation 0 0.9723 -0.0728
children [
DEF SphereYellow Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 0
}
}
geometry Sphere {
radius 0.02
}
}
]
}
]
}
DEF boxman_l_hip HAnimJoint {
center 0.0956 0.9364 0
name "l_hip"
skinCoordIndex [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 ]
children [
DEF boxman_l_thigh HAnimSegment {
name "l_thigh"
children [
Transform {
translation 0.0956 0.9364 0
children [
USE SphereYellow
]
}
]
}
DEF boxman_l_knee HAnimJoint {
center 0.0956 0.5095 -0.0036
name "l_knee"
skinCoordIndex [ 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ]
skinCoordWeight [ 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l_calf HAnimSegment {
name "l_calf"
children [
Transform {
translation 0.0956 0.5095 -0.0036
children [
USE SphereYellow
]
}
]
}
DEF boxman_l_ankle HAnimJoint {
center 0.0946 0.0762 -0.0261
name "l_ankle"
skinCoordIndex [ 64 65 66 67 68 69 70 71 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l_hindfoot HAnimSegment {
name "l_hindfoot"
children [
Transform {
translation 0.0946 0.0762 -0.0261
children [
USE SphereYellow
]
}
]
}
DEF boxman_l_midtarsal HAnimJoint {
center 0.1079 0.0317 0.0670
name "l_midtarsal"
skinCoordIndex [ 72 73 74 75 76 77 78 79 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l_middistal HAnimSegment {
name "l_middistal"
children [
Transform {
translation 0.1079 0.0317 0.0670
children [
USE SphereYellow
]
}
DEF boxman_l_middistal_tip HAnimSite {
name "l_middistal_tip"
translation .095 0.0005 0.1924
children [
DEF SphereRed Shape {
appearance Appearance {
material Material {
diffuseColor 1 0 0
}
}
geometry Sphere {
radius 0.02
}
}
]
}
]
}
]
}
]
}
]
}
]
}
DEF boxman_r_hip HAnimJoint {
center -0.0956 0.9364 0
name "r_hip"
skinCoordIndex [ 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 ]
children [
DEF boxman_r_thigh HAnimSegment {
name "r_thigh"
children [
Transform {
translation -0.0956 0.9364 0
children [
USE SphereYellow
]
}
]
}
DEF boxman_r_knee HAnimJoint {
center -0.0956 0.5095 -0.0036
name "r_knee"
skinCoordIndex [ 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 ]
skinCoordWeight [ 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_r_calf HAnimSegment {
name "r_calf"
children [
Transform {
translation -0.0956 0.5095 -0.0036
children [
USE SphereYellow
]
}
]
}
DEF boxman_r_ankle HAnimJoint {
center -0.0946 0.0762 -0.0261
name "r_ankle"
skinCoordIndex [ 132 133 134 135 136 137 138 139 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_r_hindfoot HAnimSegment {
name "r_hindfoot"
children [
Transform {
translation -0.0946 0.0762 -0.0261
children [
USE SphereYellow
]
}
]
}
DEF boxman_r_midtarsal HAnimJoint {
center -0.1079 0.0317 0.0670
name "r_midtarsal"
skinCoordIndex [ 140 141 142 143 144 145 146 147 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_r_middistal HAnimSegment {
name "r_middistal"
children [
Transform {
translation -0.1079 0.0317 0.0670
children [
USE SphereYellow
]
}
DEF boxman_r_middistal_tip HAnimSite {
name "r_middistal_tip"
translation -0.095 0.0005 0.1924
children [
USE SphereRed
]
}
]
}
]
}
]
}
]
}
]
}
DEF boxman_vl5 HAnimJoint {
center 0 1.0817 -0.0728
name "vl5"
skinCoordIndex [ 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l5 HAnimSegment {
name "l5"
children [
Transform {
translation 0 1.0817 -0.0728
children [
USE SphereYellow
]
}
]
}
DEF boxman_skullbase HAnimJoint {
center 0 1.6440 0.036
name "skullbase"
skinCoordIndex [ 168 169 170 171 172 173 174 175 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_skull HAnimSegment {
name "skull"
children [
Transform {
translation 0 1.6440 0.036
children [
USE SphereYellow
]
}
DEF boxman_skull_tip HAnimSite {
name "skull_tip"
translation -0.0029 1.7771 0.0274
children [
USE SphereYellow
]
}
]
}
]
}
DEF boxman_l_shoulder HAnimJoint {
center 0.1968 1.4642 -0.0265
name "l_shoulder"
skinCoordIndex [ 176 177 178 179 180 181 182 183 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l_upperarm HAnimSegment {
name "l_upperarm"
children [
Transform {
translation 0.1968 1.4642 -0.0265
children [
USE SphereYellow
]
}
]
}
DEF boxman_l_elbow HAnimJoint {
center 0.1982 1.1622 -0.0557
name "l_elbow"
skinCoordIndex [ 184 185 186 187 188 189 190 191 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l_forearm HAnimSegment {
name "l_forearm"
children [
Transform {
translation 0.1982 1.1622 -0.0557
children [
USE SphereYellow
]
}
]
}
DEF boxman_l_wrist HAnimJoint {
center 0.1972 0.8929 -0.0690
name "l_wrist"
skinCoordIndex [ 192 193 194 195 196 197 198 199 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_l_hand HAnimSegment {
name "l_hand"
children [
Transform {
translation 0.1972 0.8929 -0.0690
children [
USE SphereYellow
]
}
DEF boxman_l_hand_tip HAnimSite {
name "l_hand_tip"
translation 0.1912 0.6976 -0.0710
children [
USE SphereRed
]
}
]
}
]
}
]
}
]
}
DEF boxman_r_shoulder HAnimJoint {
center -0.1968 1.4642 -0.0265
name "r_shoulder"
skinCoordIndex [ 200 201 202 203 204 205 206 207 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_r_upperarm HAnimSegment {
name "r_upperarm"
children [
Transform {
translation -0.1968 1.4642 -0.0265
children [
USE SphereYellow
]
}
]
}
DEF boxman_r_elbow HAnimJoint {
center -0.1982 1.1622 -0.0557
name "r_elbow"
skinCoordIndex [ 208 209 210 211 212 213 214 215 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_r_forearm HAnimSegment {
name "r_forearm"
children [
Transform {
translation -0.1982 1.1622 -0.0557
children [
USE SphereYellow
]
}
]
}
DEF boxman_r_wrist HAnimJoint {
center -0.1972 0.8929 -0.0690
name "r_wrist"
skinCoordIndex [ 216 217 218 219 220 221 222 223 ]
skinCoordWeight [ 1 1 1 1 1 1 1 1 ]
children [
DEF boxman_r_hand HAnimSegment {
name "r_hand"
children [
Transform {
translation -0.1972 0.8929 -0.0690
children [
USE SphereYellow
]
}
DEF boxman_r_hand_tip HAnimSite {
name "r_hand_tip"
translation -0.1912 0.6976 -0.0710
children [
USE SphereRed
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
joints [
USE boxman_humanoid_root
USE boxman_skullbase
USE boxman_vl5
USE boxman_l_ankle
USE boxman_r_ankle
USE boxman_l_elbow
USE boxman_r_elbow
USE boxman_l_hip
USE boxman_r_hip
USE boxman_l_knee
USE boxman_r_knee
USE boxman_l_midtarsal
USE boxman_r_midtarsal
USE boxman_l_shoulder
USE boxman_r_shoulder
USE boxman_l_wrist
USE boxman_r_wrist
]
segments [
USE boxman_l5
USE boxman_sacrum
USE boxman_skull
USE boxman_l_calf
USE boxman_r_calf
USE boxman_l_forearm
USE boxman_r_forearm
USE boxman_l_hand
USE boxman_r_hand
USE boxman_l_hindfoot
USE boxman_r_hindfoot
USE boxman_l_middistal
USE boxman_r_middistal
USE boxman_l_thigh
USE boxman_r_thigh
USE boxman_l_upperarm
USE boxman_r_upperarm
]
viewpoints [
DEF boxman_BoxMan_view HAnimSite {
name "BoxMan_view"
children [
DEF Inclined_View Viewpoint {
description "Inclined View"
orientation 0 1 0 0.78
position 2 0.9 2
}
DEF Front_View Viewpoint {
description "Front View"
position 0 1 3
}
DEF Right_View Viewpoint {
description "Right-side View"
orientation 0 1 0 -1.57
position -3 1 0
}
DEF Left_View Viewpoint {
description "Left-side View"
orientation 0 1 0 1.57
position 3 1 0
}
DEF Top_View Viewpoint {
description "Top View"
orientation 1 0 0 -1.57
position 0 3 0
}
]
}
]
sites [
USE boxman_skull_tip
USE boxman_l_hand_tip
USE boxman_r_hand_tip
USE boxman_l_middistal_tip
USE boxman_r_middistal_tip
]
skinCoord DEF SKINCOORD Coordinate {
point [ -0.05 1 0.05 0.05 1 0.05 0.03 0.97 -0.1 -0.03 0.97 -0.1 0.03 0.94 -0.075 -0.03 0.94 -0.075 0 0.92 0 0 0.94 0.03 -0.12 1.06 0.05 0.12 1.06 0.05 0.12 1.06 -0.1 -0.12 1.06 -0.1 0.0456 0.9364 0.05 0.1456 0.9364 0.05 0.1456 0.9364 -0.05 0.0456 0.9364 -0.05 0.0456 0.9 0.05 0.1456 0.9 0.05 0.1456 0.9 -0.05 0.0456 0.9 -0.05 0.0456 0.8 0.05 0.1456 0.8 0.05 0.1456 0.8 -0.05 0.0456 0.8 -0.05 0.0456 0.7 0.05 0.1456 0.7 0.05 0.1456 0.7 -0.05 0.0456 0.7 -0.05 0.0456 0.6 0.05 0.1456 0.6 0.05 0.1456 0.6 -0.05 0.0456 0.6 -0.05 0.0456 0.55 0.05 0.1456 0.55 0.05 0.1456 0.55 -0.05 0.0456 0.55 -0.05 0.0456 0.52 0.05 0.1456 0.52 0.05 0.1456 0.52 -0.05 0.0456 0.52 -0.05 0.0456 0.5 0.05 0.1456 0.5 0.05 0.1456 0.5 -0.05 0.0456 0.5 -0.05 0.0454 0.43 0.045 0.1454 0.43 0.045 0.1454 0.43 -0.055 0.0454 0.43 -0.055 0.0452 0.36 0.04 0.1452 0.36 0.04 0.1452 0.36 -0.06 0.0452 0.36 -0.06 0.045 0.29 0.035 0.145 0.29 0.035 0.145 0.29 -0.065 0.045 0.29 -0.065 0.0448 0.21 0.03 0.1448 0.21 0.03 0.1448 0.21 -0.07 0.0448 0.21 -0.07 0.0446 0.1262 0.025 0.1446 0.1262 0.025 0.1446 0.1262 -0.075 0.0446 0.1262 -0.075 0.0446 0.0762 0.025 0.1446 0.0762 0.025 0.1446 0 -0.075 0.0446 0 -0.075 0.0446 0.0562 0.057 0.1446 0.0562 0.057 0.1446 0 0.057 0.0446 0 0.057 0.0446 0.0562 0.087 0.1446 0.0562 0.087 0.1446 0 0.087 0.0446 0 0.087 0.0446 0.0562 0.1924 0.1446 0.0562 0.1924 0.1446 0 0.1924 0.0446 0 0.1924 -0.0456 0.9364 0.05 -0.1456 0.9364 0.05 -0.1456 0.9364 -0.05 -0.0456 0.9364 -0.05 -0.0456 0.9 0.05 -0.1456 0.9 0.05 -0.1456 0.9 -0.05 -0.0456 0.9 -0.05 -0.0456 0.8 0.05 -0.1456 0.8 0.05 -0.1456 0.8 -0.05 -0.0456 0.8 -0.05 -0.0456 0.7 0.05 -0.1456 0.7 0.05 -0.1456 0.7 -0.05 -0.0456 0.7 -0.05 -0.0456 0.6 0.05 -0.1456 0.6 0.05 -0.1456 0.6 -0.05 -0.0456 0.6 -0.05 -0.0456 0.55 0.05 -0.1456 0.55 0.05 -0.1456 0.55 -0.05 -0.0456 0.55 -0.05 -0.0456 0.52 0.05 -0.1456 0.52 0.05 -0.1456 0.52 -0.05 -0.0456 0.52 -0.05 -0.0456 0.5 0.05 -0.1456 0.5 0.05 -0.1456 0.5 -0.05 -0.0456 0.5 -0.05 -0.0454 0.43 0.045 -0.1454 0.43 0.045 -0.1454 0.43 -0.055 -0.0454 0.43 -0.055 -0.0452 0.36 0.04 -0.1452 0.36 0.04 -0.1452 0.36 -0.06 -0.0452 0.36 -0.06 -0.045 0.29 0.035 -0.145 0.29 0.035 -0.145 0.29 -0.065 -0.045 0.29 -0.065 -0.0448 0.21 0.03 -0.1448 0.21 0.03 -0.1448 0.21 -0.07 -0.0448 0.21 -0.07 -0.0446 0.1262 0.025 -0.1446 0.1262 0.025 -0.1446 0.1262 -0.075 -0.0446 0.1262 -0.075 -0.0446 0.0762 0.025 -0.1446 0.0762 0.025 -0.1446 0 -0.075 -0.0446 0 -0.075 -0.0446 0.0562 0.057 -0.1446 0.0562 0.057 -0.1446 0 0.057 -0.0446 0 0.057 -0.0446 0.0562 0.087 -0.1446 0.0562 0.087 -0.1446 0 0.087 -0.0446 0 0.087 -0.0446 0.0562 0.1924 -0.1446 0.0562 0.1924 -0.1446 0 0.1924 -0.0446 0 0.1924 -0.12 1.10 0.05 0.12 1.10 0.05 0.12 1.10 -0.1 -0.12 1.10 -0.1 -0.14 1.42 0.045 0.14 1.42 0.045 0.14 1.42 -0.09 -0.14 1.42 -0.09 -0.24 1.52 0.035 0.24 1.52 0.035 0.24 1.52 -0.09 -0.24 1.52 -0.09 -0.05 1.56 0.030 0.05 1.56 0.030 0.05 1.56 -0.06 -0.05 1.56 -0.06 -0.05 1.60 0.060 0.05 1.60 0.060 0.05 1.62 -0.03 -0.05 1.62 -0.03 -0.07 1.777 0.13 0.07 1.777 0.13 0.07 1.777 -0.03 -0.07 1.777 -0.03 -0.07 1.60 0.13 0.07 1.60 0.13 0.07 1.66 -0.03 -0.07 1.66 -0.03 0.16 1.42 0.015 0.24 1.5 0.015 0.24 1.5 -0.075 0.16 1.42 -0.075 0.17 1.18 -0.025 0.23 1.18 -0.025 0.23 1.18 -0.085 0.17 1.18 -0.085 0.17 1.14 -0.025 0.23 1.14 -0.025 0.23 1.14 -0.085 0.17 1.14 -0.085 0.18 0.91 -0.05 0.22 0.91 -0.05 0.22 0.91 -0.09 0.18 0.91 -0.09 0.18 0.87 -0.02 0.22 0.87 -0.02 0.22 0.87 -0.1 0.18 0.87 -0.1 0.18 0.6976 -0.02 0.22 0.6976 -0.02 0.22 0.6976 -0.1 0.18 0.6976 -0.1 -0.16 1.42 0.015 -0.24 1.5 0.015 -0.24 1.5 -0.075 -0.16 1.42 -0.075 -0.17 1.18 -0.025 -0.23 1.18 -0.025 -0.23 1.18 -0.085 -0.17 1.18 -0.085 -0.17 1.14 -0.025 -0.23 1.14 -0.025 -0.23 1.14 -0.085 -0.17 1.14 -0.085 -0.18 0.91 -0.05 -0.22 0.91 -0.05 -0.22 0.91 -0.09 -0.18 0.91 -0.09 -0.18 0.87 -0.02 -0.22 0.87 -0.02 -0.22 0.87 -0.1 -0.18 0.87 -0.1 -0.18 0.6976 -0.02 -0.22 0.6976 -0.02 -0.22 0.6976 -0.1 -0.18 0.6976 -0.1 ]
}
skin [
Group {
children [
DEF TrouserSkin Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
transparency 0.5
}
}
# # 0: sacrum (8) # 1: l_hip joint (8) # 2: r_hip joint (8) # 3: l_thigh (48) # 4: l_knee joint (8) # 5: l_calf (40) # 10: r_thigh (48) # 11: r_knee joint (8) # 12: r_calf (40)
geometry IndexedFaceSet {
coordIndex [ 0 7 1 -1 8 0 1 -1 1 9 8 -1 10 2 3 -1 3 11 10 -1 2 4 5 -1 5 3 2 -1 4 6 5 -1 7 12 1 -1 1 12 13 -1 13 9 1 -1 9 13 14 -1 14 10 9 -1 10 14 15 -1 15 2 10 -1 12 7 6 -1 6 15 12 -1 15 6 4 -1 4 2 15 -1 0 80 7 -1 81 80 0 -1 0 8 81 -1 82 81 8 -1 8 11 82 -1 83 82 11 -1 11 3 83 -1 6 7 80 -1 80 83 6 -1 5 6 83 -1 83 3 5 -1 12 16 17 -1 17 13 12 -1 13 17 18 -1 18 14 13 -1 14 18 19 -1 19 15 14 -1 15 19 16 -1 16 12 15 -1 16 20 21 -1 21 17 16 -1 17 21 22 -1 22 18 17 -1 18 22 23 -1 23 19 18 -1 19 23 20 -1 20 16 19 -1 20 24 25 -1 25 21 20 -1 21 25 26 -1 26 22 21 -1 22 26 27 -1 27 23 22 -1 23 27 24 -1 24 20 23 -1 24 28 29 -1 29 25 24 -1 25 29 30 -1 30 26 25 -1 26 30 31 -1 31 27 26 -1 27 31 28 -1 28 24 27 -1 28 32 33 -1 33 29 28 -1 29 33 34 -1 34 30 29 -1 30 34 35 -1 35 31 30 -1 31 35 32 -1 32 28 31 -1 32 36 37 -1 37 33 32 -1 33 37 38 -1 38 34 33 -1 34 38 39 -1 39 35 34 -1 35 39 36 -1 36 32 35 -1 36 40 41 -1 41 37 36 -1 37 41 42 -1 42 38 37 -1 38 42 43 -1 43 39 38 -1 39 43 40 -1 40 36 39 -1 40 44 45 -1 45 41 40 -1 41 45 46 -1 46 42 41 -1 42 46 47 -1 47 43 42 -1 43 47 44 -1 44 40 43 -1 44 48 49 -1 49 45 44 -1 45 49 50 -1 50 46 45 -1 46 50 51 -1 51 47 46 -1 47 51 48 -1 48 44 47 -1 48 52 53 -1 53 49 48 -1 49 53 54 -1 54 50 49 -1 50 54 55 -1 55 51 50 -1 51 55 52 -1 52 48 51 -1 52 56 57 -1 57 53 52 -1 53 57 58 -1 58 54 53 -1 54 58 59 -1 59 55 54 -1 55 59 56 -1 56 52 55 -1 56 60 61 -1 61 57 56 -1 57 61 62 -1 62 58 57 -1 58 62 63 -1 63 59 58 -1 59 63 60 -1 60 56 59 -1 81 85 84 -1 84 80 81 -1 82 86 85 -1 85 81 82 -1 83 87 86 -1 86 82 83 -1 80 84 87 -1 87 83 80 -1 85 89 88 -1 88 84 85 -1 86 90 89 -1 89 85 86 -1 87 91 90 -1 90 86 87 -1 84 88 91 -1 91 87 84 -1 89 93 92 -1 92 88 89 -1 90 94 93 -1 93 89 90 -1 91 95 94 -1 94 90 91 -1 88 92 95 -1 95 91 88 -1 93 97 96 -1 96 92 93 -1 94 98 97 -1 97 93 94 -1 95 99 98 -1 98 94 95 -1 92 96 99 -1 99 95 92 -1 97 101 100 -1 100 96 97 -1 98 102 101 -1 101 97 98 -1 99 103 102 -1 102 98 99 -1 96 100 103 -1 103 99 96 -1 101 105 104 -1 104 100 101 -1 102 106 105 -1 105 101 102 -1 103 107 106 -1 106 102 103 -1 100 104 107 -1 107 103 100 -1 105 109 108 -1 108 104 105 -1 106 110 109 -1 109 105 106 -1 107 111 110 -1 110 106 107 -1 104 108 111 -1 111 107 104 -1 109 113 112 -1 112 108 109 -1 110 114 113 -1 113 109 110 -1 111 115 114 -1 114 110 111 -1 108 112 115 -1 115 111 108 -1 113 117 116 -1 116 112 113 -1 114 118 117 -1 117 113 114 -1 115 119 118 -1 118 114 115 -1 112 116 119 -1 119 115 112 -1 117 121 120 -1 120 116 117 -1 118 122 121 -1 121 117 118 -1 119 123 122 -1 122 118 119 -1 116 120 123 -1 123 119 116 -1 121 125 124 -1 124 120 121 -1 122 126 125 -1 125 121 122 -1 123 127 126 -1 126 122 123 -1 120 124 127 -1 127 123 120 -1 125 129 128 -1 128 124 125 -1 126 130 129 -1 129 125 126 -1 127 131 130 -1 130 126 127 -1 124 128 131 -1 131 127 124 -1 ]
coord USE SKINCOORD
}
}
DEF ShoeSkin Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 0
transparency 0.5
}
}
# # 6: l_ankle joint (8) # 7: l_hindfoot (8) # 8: l_midtarsal joint (8) # 9: l_middistal (10) # 13: r_ankle joint (8) # 14: r_hindfoot (8) # 15: r_midtarsal joint (8) # 16: r_middistal (10)
geometry IndexedFaceSet {
coordIndex [ 60 64 65 -1 65 61 60 -1 61 65 66 -1 66 62 61 -1 62 66 67 -1 67 63 62 -1 63 67 64 -1 64 60 63 -1 64 68 69 -1 69 65 64 -1 65 69 70 -1 70 66 65 -1 66 70 71 -1 71 67 66 -1 67 71 68 -1 68 64 67 -1 68 72 73 -1 73 69 68 -1 69 73 74 -1 74 70 69 -1 70 74 75 -1 75 71 70 -1 71 75 72 -1 72 68 71 -1 72 76 77 -1 77 73 72 -1 73 77 78 -1 78 74 73 -1 74 78 79 -1 79 75 74 -1 75 79 76 -1 76 72 75 -1 76 79 78 -1 78 77 76 -1 129 133 132 -1 132 128 129 -1 130 134 133 -1 133 129 130 -1 131 135 134 -1 134 130 131 -1 128 132 135 -1 135 131 128 -1 133 137 136 -1 136 132 133 -1 134 138 137 -1 137 133 134 -1 135 139 138 -1 138 134 135 -1 132 136 139 -1 139 135 132 -1 137 141 140 -1 140 136 137 -1 138 142 141 -1 141 137 138 -1 139 143 142 -1 142 138 139 -1 136 140 143 -1 143 139 136 -1 141 145 144 -1 144 140 141 -1 142 146 145 -1 145 141 142 -1 143 147 146 -1 146 142 143 -1 140 144 147 -1 147 143 140 -1 145 146 147 -1 147 144 145 -1 ]
coord USE SKINCOORD
}
}
DEF ShirtSkin Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 0
transparency 0.5
}
}
# # 17: vl5_joint (8) # 18: l5 (28) # 21: l_shoulder joint (8) # 22: l_upperarm (8) # 23: l_elbow joint (8) # 24: l_forearm (8) # 27: r_shoulder joint (8) # 28: r_upperarm (8) # 29: r_elbow joint (8) # 30: r_forearm (8)
geometry IndexedFaceSet {
coordIndex [ 148 8 9 -1 9 149 148 -1 149 9 10 -1 10 150 149 -1 150 10 11 -1 11 151 150 -1 151 11 8 -1 8 148 151 -1 152 148 149 -1 149 153 152 -1 153 149 150 -1 150 154 153 -1 154 150 151 -1 151 155 154 -1 155 151 148 -1 148 152 155 -1 156 152 153 -1 153 157 156 -1 158 154 155 -1 155 159 158 -1 160 156 157 -1 157 161 160 -1 161 157 158 -1 158 162 161 -1 162 158 159 -1 159 163 162 -1 163 159 156 -1 156 160 163 -1 164 160 161 -1 161 165 164 -1 165 161 162 -1 162 166 165 -1 166 162 163 -1 163 167 166 -1 167 163 160 -1 160 164 167 -1 153 176 177 -1 177 157 153 -1 157 177 178 -1 178 158 157 -1 158 178 179 -1 179 154 158 -1 154 179 176 -1 176 153 154 -1 176 180 181 -1 181 177 176 -1 177 181 182 -1 182 178 177 -1 178 182 183 -1 183 179 178 -1 179 183 180 -1 180 176 179 -1 180 184 185 -1 185 181 180 -1 181 185 186 -1 186 182 181 -1 182 186 187 -1 187 183 182 -1 183 187 184 -1 184 180 183 -1 184 188 189 -1 189 185 184 -1 185 189 190 -1 190 186 185 -1 186 190 191 -1 191 187 186 -1 187 191 188 -1 188 184 187 -1 152 156 201 -1 201 200 152 -1 156 159 202 -1 202 201 156 -1 159 155 203 -1 203 202 159 -1 155 152 200 -1 200 203 155 -1 201 205 204 -1 204 200 201 -1 202 206 205 -1 205 201 202 -1 203 207 206 -1 206 202 203 -1 200 204 207 -1 207 203 200 -1 205 209 208 -1 208 204 205 -1 206 210 209 -1 209 205 206 -1 207 211 210 -1 210 206 207 -1 204 208 211 -1 211 207 204 -1 209 213 212 -1 212 208 209 -1 210 214 213 -1 213 209 210 -1 211 215 214 -1 214 210 211 -1 208 212 215 -1 215 211 208 -1 ]
coord USE SKINCOORD
}
}
DEF HeadHandsFleshToneSkin Shape {
appearance Appearance {
material Material {
diffuseColor 1 0.75 0.75
transparency 0.5
}
}
# # 19: skullbase joint (8) # 20: skull (10) # 25: l_wrist joint (8) # 26: l_hand (10) # 31: r_wrist joint (8) # 32: r_hand (10)
geometry IndexedFaceSet {
coordIndex [ 172 164 165 -1 165 173 172 -1 173 165 166 -1 166 174 173 -1 174 166 167 -1 167 175 174 -1 175 167 164 -1 164 172 175 -1 168 172 173 -1 173 169 168 -1 169 173 174 -1 174 170 169 -1 170 174 175 -1 175 171 170 -1 171 175 172 -1 172 168 171 -1 171 168 169 -1 169 170 171 -1 188 192 193 -1 193 189 188 -1 189 193 194 -1 194 190 189 -1 190 194 195 -1 195 191 190 -1 191 195 192 -1 192 188 191 -1 192 196 197 -1 197 193 192 -1 193 197 198 -1 198 194 193 -1 194 198 199 -1 199 195 194 -1 195 199 196 -1 196 192 195 -1 196 199 198 -1 198 197 196 -1 213 217 216 -1 216 212 213 -1 214 218 217 -1 217 213 214 -1 215 219 218 -1 218 214 215 -1 212 216 219 -1 219 215 212 -1 217 221 220 -1 220 216 217 -1 218 222 221 -1 221 217 218 -1 219 223 222 -1 222 218 219 -1 216 220 223 -1 223 219 216 -1 221 222 223 -1 223 220 221 -1 ]
coord USE SKINCOORD
}
}
DEF SkinLines Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 0
}
}
# Combined set of prior IFS coordIndex values
geometry IndexedLineSet {
coordIndex [ 0 7 1 -1 8 0 1 -1 1 9 8 -1 10 2 3 -1 3 11 10 -1 2 4 5 -1 5 3 2 -1 4 6 5 -1 7 12 1 -1 1 12 13 -1 13 9 1 -1 9 13 14 -1 14 10 9 -1 10 14 15 -1 15 2 10 -1 12 7 6 -1 6 15 12 -1 15 6 4 -1 4 2 15 -1 0 80 7 -1 81 80 0 -1 0 8 81 -1 82 81 8 -1 8 11 82 -1 83 82 11 -1 11 3 83 -1 6 7 80 -1 80 83 6 -1 5 6 83 -1 83 3 5 -1 12 16 17 -1 17 13 12 -1 13 17 18 -1 18 14 13 -1 14 18 19 -1 19 15 14 -1 15 19 16 -1 16 12 15 -1 16 20 21 -1 21 17 16 -1 17 21 22 -1 22 18 17 -1 18 22 23 -1 23 19 18 -1 19 23 20 -1 20 16 19 -1 20 24 25 -1 25 21 20 -1 21 25 26 -1 26 22 21 -1 22 26 27 -1 27 23 22 -1 23 27 24 -1 24 20 23 -1 24 28 29 -1 29 25 24 -1 25 29 30 -1 30 26 25 -1 26 30 31 -1 31 27 26 -1 27 31 28 -1 28 24 27 -1 28 32 33 -1 33 29 28 -1 29 33 34 -1 34 30 29 -1 30 34 35 -1 35 31 30 -1 31 35 32 -1 32 28 31 -1 32 36 37 -1 37 33 32 -1 33 37 38 -1 38 34 33 -1 34 38 39 -1 39 35 34 -1 35 39 36 -1 36 32 35 -1 36 40 41 -1 41 37 36 -1 37 41 42 -1 42 38 37 -1 38 42 43 -1 43 39 38 -1 39 43 40 -1 40 36 39 -1 40 44 45 -1 45 41 40 -1 41 45 46 -1 46 42 41 -1 42 46 47 -1 47 43 42 -1 43 47 44 -1 44 40 43 -1 44 48 49 -1 49 45 44 -1 45 49 50 -1 50 46 45 -1 46 50 51 -1 51 47 46 -1 47 51 48 -1 48 44 47 -1 48 52 53 -1 53 49 48 -1 49 53 54 -1 54 50 49 -1 50 54 55 -1 55 51 50 -1 51 55 52 -1 52 48 51 -1 52 56 57 -1 57 53 52 -1 53 57 58 -1 58 54 53 -1 54 58 59 -1 59 55 54 -1 55 59 56 -1 56 52 55 -1 56 60 61 -1 61 57 56 -1 57 61 62 -1 62 58 57 -1 58 62 63 -1 63 59 58 -1 59 63 60 -1 60 56 59 -1 81 85 84 -1 84 80 81 -1 82 86 85 -1 85 81 82 -1 83 87 86 -1 86 82 83 -1 80 84 87 -1 87 83 80 -1 85 89 88 -1 88 84 85 -1 86 90 89 -1 89 85 86 -1 87 91 90 -1 90 86 87 -1 84 88 91 -1 91 87 84 -1 89 93 92 -1 92 88 89 -1 90 94 93 -1 93 89 90 -1 91 95 94 -1 94 90 91 -1 88 92 95 -1 95 91 88 -1 93 97 96 -1 96 92 93 -1 94 98 97 -1 97 93 94 -1 95 99 98 -1 98 94 95 -1 92 96 99 -1 99 95 92 -1 97 101 100 -1 100 96 97 -1 98 102 101 -1 101 97 98 -1 99 103 102 -1 102 98 99 -1 96 100 103 -1 103 99 96 -1 101 105 104 -1 104 100 101 -1 102 106 105 -1 105 101 102 -1 103 107 106 -1 106 102 103 -1 100 104 107 -1 107 103 100 -1 105 109 108 -1 108 104 105 -1 106 110 109 -1 109 105 106 -1 107 111 110 -1 110 106 107 -1 104 108 111 -1 111 107 104 -1 109 113 112 -1 112 108 109 -1 110 114 113 -1 113 109 110 -1 111 115 114 -1 114 110 111 -1 108 112 115 -1 115 111 108 -1 113 117 116 -1 116 112 113 -1 114 118 117 -1 117 113 114 -1 115 119 118 -1 118 114 115 -1 112 116 119 -1 119 115 112 -1 117 121 120 -1 120 116 117 -1 118 122 121 -1 121 117 118 -1 119 123 122 -1 122 118 119 -1 116 120 123 -1 123 119 116 -1 121 125 124 -1 124 120 121 -1 122 126 125 -1 125 121 122 -1 123 127 126 -1 126 122 123 -1 120 124 127 -1 127 123 120 -1 125 129 128 -1 128 124 125 -1 126 130 129 -1 129 125 126 -1 127 131 130 -1 130 126 127 -1 124 128 131 -1 131 127 124 -1 60 64 65 -1 65 61 60 -1 61 65 66 -1 66 62 61 -1 62 66 67 -1 67 63 62 -1 63 67 64 -1 64 60 63 -1 64 68 69 -1 69 65 64 -1 65 69 70 -1 70 66 65 -1 66 70 71 -1 71 67 66 -1 67 71 68 -1 68 64 67 -1 68 72 73 -1 73 69 68 -1 69 73 74 -1 74 70 69 -1 70 74 75 -1 75 71 70 -1 71 75 72 -1 72 68 71 -1 72 76 77 -1 77 73 72 -1 73 77 78 -1 78 74 73 -1 74 78 79 -1 79 75 74 -1 75 79 76 -1 76 72 75 -1 76 79 78 -1 78 77 76 -1 129 133 132 -1 132 128 129 -1 130 134 133 -1 133 129 130 -1 131 135 134 -1 134 130 131 -1 128 132 135 -1 135 131 128 -1 133 137 136 -1 136 132 133 -1 134 138 137 -1 137 133 134 -1 135 139 138 -1 138 134 135 -1 132 136 139 -1 139 135 132 -1 137 141 140 -1 140 136 137 -1 138 142 141 -1 141 137 138 -1 139 143 142 -1 142 138 139 -1 136 140 143 -1 143 139 136 -1 141 145 144 -1 144 140 141 -1 142 146 145 -1 145 141 142 -1 143 147 146 -1 146 142 143 -1 140 144 147 -1 147 143 140 -1 145 146 147 -1 147 144 145 -1 148 8 9 -1 9 149 148 -1 149 9 10 -1 10 150 149 -1 150 10 11 -1 11 151 150 -1 151 11 8 -1 8 148 151 -1 152 148 149 -1 149 153 152 -1 153 149 150 -1 150 154 153 -1 154 150 151 -1 151 155 154 -1 155 151 148 -1 148 152 155 -1 156 152 153 -1 153 157 156 -1 158 154 155 -1 155 159 158 -1 160 156 157 -1 157 161 160 -1 161 157 158 -1 158 162 161 -1 162 158 159 -1 159 163 162 -1 163 159 156 -1 156 160 163 -1 164 160 161 -1 161 165 164 -1 165 161 162 -1 162 166 165 -1 166 162 163 -1 163 167 166 -1 167 163 160 -1 160 164 167 -1 153 176 177 -1 177 157 153 -1 157 177 178 -1 178 158 157 -1 158 178 179 -1 179 154 158 -1 154 179 176 -1 176 153 154 -1 176 180 181 -1 181 177 176 -1 177 181 182 -1 182 178 177 -1 178 182 183 -1 183 179 178 -1 179 183 180 -1 180 176 179 -1 180 184 185 -1 185 181 180 -1 181 185 186 -1 186 182 181 -1 182 186 187 -1 187 183 182 -1 183 187 184 -1 184 180 183 -1 184 188 189 -1 189 185 184 -1 185 189 190 -1 190 186 185 -1 186 190 191 -1 191 187 186 -1 187 191 188 -1 188 184 187 -1 152 156 201 -1 201 200 152 -1 156 159 202 -1 202 201 156 -1 159 155 203 -1 203 202 159 -1 155 152 200 -1 200 203 155 -1 201 205 204 -1 204 200 201 -1 202 206 205 -1 205 201 202 -1 203 207 206 -1 206 202 203 -1 200 204 207 -1 207 203 200 -1 205 209 208 -1 208 204 205 -1 206 210 209 -1 209 205 206 -1 207 211 210 -1 210 206 207 -1 204 208 211 -1 211 207 204 -1 209 213 212 -1 212 208 209 -1 210 214 213 -1 213 209 210 -1 211 215 214 -1 214 210 211 -1 208 212 215 -1 215 211 208 -1 172 164 165 -1 165 173 172 -1 173 165 166 -1 166 174 173 -1 174 166 167 -1 167 175 174 -1 175 167 164 -1 164 172 175 -1 168 172 173 -1 173 169 168 -1 169 173 174 -1 174 170 169 -1 170 174 175 -1 175 171 170 -1 171 175 172 -1 172 168 171 -1 171 168 169 -1 169 170 171 -1 188 192 193 -1 193 189 188 -1 189 193 194 -1 194 190 189 -1 190 194 195 -1 195 191 190 -1 191 195 192 -1 192 188 191 -1 192 196 197 -1 197 193 192 -1 193 197 198 -1 198 194 193 -1 194 198 199 -1 199 195 194 -1 195 199 196 -1 196 192 195 -1 196 199 198 -1 198 197 196 -1 213 217 216 -1 216 212 213 -1 214 218 217 -1 217 213 214 -1 215 219 218 -1 218 214 215 -1 212 216 219 -1 219 215 212 -1 217 221 220 -1 220 216 217 -1 218 222 221 -1 221 217 218 -1 219 223 222 -1 222 218 219 -1 216 220 223 -1 223 219 216 -1 221 222 223 -1 223 220 221 -1 ]
coord USE SKINCOORD
}
}
]
}
]
}
# originally at http://HAnim.org/Models/HAnim2001/boxman/protos/LOA1WalkAnimation.wrl#LOA1WalkAnimation
EXTERNPROTO LOA1_WalkAnimation [
inputOutput SFTime cycleInterval
inputOutput SFBool enabled
inputOutput SFBool loop
inputOutput SFTime startTime
inputOutput SFTime stopTime
outputOnly SFFloat fraction_changed
outputOnly SFVec3f HumanoidRoot_translation_changed
outputOnly SFRotation HumanoidRoot_rotation_changed
outputOnly SFRotation l_hip_rotation_changed
outputOnly SFRotation l_knee_rotation_changed
outputOnly SFRotation l_ankle_rotation_changed
outputOnly SFRotation l_midtarsal_rotation_changed
outputOnly SFRotation r_hip_rotation_changed
outputOnly SFRotation r_knee_rotation_changed
outputOnly SFRotation r_ankle_rotation_changed
outputOnly SFRotation r_midtarsal_rotation_changed
outputOnly SFRotation vl5_rotation_changed
outputOnly SFRotation skullbase_rotation_changed
outputOnly SFRotation l_shoulder_rotation_changed
outputOnly SFRotation l_elbow_rotation_changed
outputOnly SFRotation l_wrist_rotation_changed
outputOnly SFRotation r_shoulder_rotation_changed
outputOnly SFRotation r_elbow_rotation_changed
outputOnly SFRotation r_wrist_rotation_changed
outputOnly SFBool isActive
outputOnly SFRotation lower_body_rotation_changed
][
"../Prototypes/LOA1_WalkAnimation.x3d#LOA1_WalkAnimation" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Prototypes/LOA1_WalkAnimation.x3d#LOA1_WalkAnimation" "../Prototypes/LOA1_WalkAnimation.wrl#LOA1_WalkAnimation" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Prototypes/LOA1_WalkAnimation.wrl#LOA1_WalkAnimation"
] ### here1
DEF ANIMATOR LOA1_WalkAnimation {
}
# Animation ROUTEs
ROUTE ANIMATOR.HumanoidRoot_translation_changed TO boxman_humanoid_root.set_translation
ROUTE ANIMATOR.HumanoidRoot_rotation_changed TO boxman_humanoid_root.set_rotation
ROUTE ANIMATOR.l_hip_rotation_changed TO boxman_l_hip.set_rotation
ROUTE ANIMATOR.l_knee_rotation_changed TO boxman_l_knee.set_rotation
ROUTE ANIMATOR.l_ankle_rotation_changed TO boxman_l_ankle.set_rotation
ROUTE ANIMATOR.l_midtarsal_rotation_changed TO boxman_l_midtarsal.set_rotation
ROUTE ANIMATOR.r_hip_rotation_changed TO boxman_r_hip.set_rotation
ROUTE ANIMATOR.r_knee_rotation_changed TO boxman_r_knee.set_rotation
ROUTE ANIMATOR.r_ankle_rotation_changed TO boxman_r_ankle.set_rotation
ROUTE ANIMATOR.r_midtarsal_rotation_changed TO boxman_r_midtarsal.set_rotation
ROUTE ANIMATOR.vl5_rotation_changed TO boxman_vl5.set_rotation
ROUTE ANIMATOR.skullbase_rotation_changed TO boxman_skullbase.set_rotation
ROUTE ANIMATOR.l_shoulder_rotation_changed TO boxman_l_shoulder.set_rotation
ROUTE ANIMATOR.l_elbow_rotation_changed TO boxman_l_elbow.set_rotation
ROUTE ANIMATOR.l_wrist_rotation_changed TO boxman_l_wrist.set_rotation
ROUTE ANIMATOR.r_shoulder_rotation_changed TO boxman_r_shoulder.set_rotation
ROUTE ANIMATOR.r_elbow_rotation_changed TO boxman_r_elbow.set_rotation
ROUTE ANIMATOR.r_wrist_rotation_changed TO boxman_r_wrist.set_rotation
DEF ENGINE Script {
inputOnly SFRotation update
initializeOnly SFNode humanoid USE boxman_Humanoid
initializeOnly MFVec3f coordList [ ]
initializeOnly SFNode joint NULL
# initialization node (if any) goes here
initializeOnly SFVec3f translation 0 0 0
initializeOnly SFRotation rotation 1 0 0 0
initializeOnly SFVec3f scale 1 1 1
directOutput TRUE
url [ "BoxMan3.js" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Legacy/BoxMan3.js"
]
}
# Trigger calculation after each animation change
#