Mission Base

Avatar Den Body Parts

The 15 body parts used for the blue cylinder avatar example. The geometry shown here is extremly simple, the examples are listed here for defining the size of the body parts.

1. Head

#VRML V2.0 utf8
# the head of the avatar construction set
#
# center it around the origin
#
# the lower end of the face should be at y = -0.1
# the width should be approximately      x = 0.15
# the depth should be approximately      z = 0.15

Group {
 children [
  # face
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.075 height 0.2 }
  }
  # right eye
  Transform {
   translation -0.04 0 0.08
   children [
    Shape {
     appearance DEF Black Appearance {
      material Material { diffuseColor 0 0 0 }
     }
     geometry Box { size 0.03 0.02 0.02 }
    }
   ]
  }
  # left eye
  Transform {
   translation 0.04 0 0.08
   children [
    Shape {
     appearance USE Black
     geometry Box { size 0.03 0.02 0.02 }
    }
   ]
  }
  # nose
  Transform {
     translation 0 -0.015 0.08
   children [
    Shape {
     appearance USE Black 
     geometry Box { size 0.02 0.04 0.02 } 
    }
   ]
  }
  # mouth
  Transform {
   translation 0 -0.05 0.08
   children [
    Shape {
     appearance USE Black
     geometry Box { size 0.05 0.01 0.02 }
    }
   ]
  }
 ]
}

2. Upper Body

#VRML V2.0 utf8
# the upper body of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.4
# the heigth should be approximately y = 0.495
# the depth should be approximately  z = 0.2

Transform {
 scale 2 1 1
 children [
  # upper body
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.1 height 0.495 }
  }
  # we give him a black belt
  Transform {
   translation 0 -0.248 0
   children [
    # the belt
    Shape {
     appearance Appearance {
      material Material { diffuseColor 0 0 0 }
     }
     geometry Cylinder { radius 0.105 height 0.04 }
    }
   ]
  }
 ]
}

3. Lower Body

#VRML V2.0 utf8
# the lower body of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.4
# the heigth should be approximately y = 0.195
# the depth should be approximately  z = 0.2

Transform {
 scale 2 1 1 
 children [
  # lower body
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.1 height 0.195 }
  }
 ]
}

4. Left Foot

#VRML V2.0 utf8
# the left foot of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.1
# the heigth should be approximately y = 0.09
# the depth should be approximately  z = 0.3
#

Transform {
 scale 1 1 3
 # left foot
 children [
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.05 height 0.09 }
  }
 ]
}

5. Left Hand

#VRML V2.0 utf8
# the left hand of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.05
# the heigth should be approximately y = 0.145
# the depth should be approximately  z = 0.09

Transform {
 scale 5 1 9
 children [
  # left hand
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.005 height 0.145 }
  }
 ]
}

6. Left Lower Arm

#VRML V2.0 utf8
# the left lower arm of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.1
# the heigth should be approximately y = 0.225
# the depth should be approximately  z = 0.1

Group {
 children [
  # left lower arm
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.05 height 0.225 }
  }
 ]
}

7. Left Lower Leg

#VRML V2.0 utf8
# the left lower leg of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.15
# the heigth should be approximately y = 0.4
# the depth should be approximately  z = 0.15
#

Group {
 children [
  # left lower leg
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.075 height 0.4 }
  }
 ]
}

8. Left Upper Arm

#VRML V2.0 utf8
# the left upper arm of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.1
# the heigth should be approximately y = 0.36
# the depth should be approximately  z = 0.1

Group {
 children [
  # left upper arm
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.05 height 0.36 }
  }
 ]
}

9. Left Upper Leg

#VRML V2.0 utf8
# the left upper leg of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.15
# the heigth should be approximately y = 0.4
# the depth should be approximately  z = 0.15

Group {
 children [
  # left upper leg
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.075 height 0.4 }
  }
 ]
}

10. Right Foot

#VRML V2.0 utf8
# the right foot of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.1
# the heigth should be approximately y = 0.09
# the depth should be approximately  z = 0.3
#

Transform {
 scale 1 1 3
 # right foot
 children [
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.05 height 0.09 }
  }
 ]
}

11. Right Hand

#VRML V2.0 utf8
# the right hand of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.05
# the heigth should be approximately y = 0.145
# the depth should be approximately  z = 0.09

Transform {
 scale 5 1 9
 children [
  # right hand
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.005 height 0.145 }
  }
 ]
}

12. Right Lower Arm

#VRML V2.0 utf8
# the right lower arm of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.1
# the heigth should be approximately y = 0.225
# the depth should be approximately  z = 0.1

Group {
 children [
  # right lower arm
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.05 height 0.225 }
  }
 ]
}

13. Right Lower Leg

#VRML V2.0 utf8
# the right lower leg of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.15
# the heigth should be approximately y = 0.4
# the depth should be approximately  z = 0.15
#

Group {
 children [
  # right lower leg
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.075 height 0.4 }
  }
 ]
}

14. Right Upper Arm

#VRML V2.0 utf8
# the right upper arm of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.1
# the heigth should be approximately y = 0.36
# the depth should be approximately  z = 0.1

Group {
 children [
  # right upper arm
  Shape {
   appearance DEF Blue Appearance {
    material Material {
     ambientIntensity 0.55
     diffuseColor 0 0 0.47
     specularColor 0.18 0.13 0.61
     shininess 0.2
    }
   }
   geometry Cylinder { radius 0.05 height 0.36 }
  }
 ]
}

15. Right Upper Leg

#VRML V2.0 utf8
# the right upper leg of the avatar construction set
# 
# center it around the origin
#
# the width should be approximately  x = 0.15
# the heigth should be approximately y = 0.4
# the depth should be approximately  z = 0.15

Group {
 children [
  # right upper leg
  Shape {
   appearance USE Blue
   geometry Cylinder { radius 0.075 height 0.4 }
  }
 ]
}