Le fichier VRML avec DEF et USE
#VRML V1.0 ascii
Separator {
  Translation {
    translation 2 -2 0 }
  DEF COTE Separator {
    Cube {
      width 1
      height 1
      depth 1 }
    Translation {
      translation 0 2 0 }
    Cylinder {
      height 4
      radius 0.2
      parts ALL } }
  Translation {
    translation 0 4 0 }
  Rotation {
    rotation 0 0 1 1.5708}
  USE COTE
  Translation {
    translation 0 4 0 }
  Rotation {
    rotation 0 0 1 1.5708}
  USE COTE
  Translation {
    translation 0 4 0 }
  Rotation {
    rotation 0 0 1 1.5708}
  USE COTE
}

DefUse.gif (5829 octets)

 

 

DefUse.gif (5829 octets)

WB01624_.gif (281 octets) RETOUR