Le fichier VRML CoteWWWAnchor.WRL
#VRML V1.0 ascii
Separator {
  Rotation {
    rotation 0 0 1 -1.5708 }
  WWWAnchor {
    name "http://www.univ-fcomte.fr"
    description "Universite de
                 Franche-Comte"
    Cube {
      width 1
      height 1
      depth 1 } }
  Translation {
    translation 0 2 0 }
  Cylinder {
    height 4
    radius 0.2 }
}

 

 

Le fichier VRML ElementWWWAnchor.wrl
#VRML V1.0 ascii
Separator {
  Cylinder {
    height 4
    radius 0.2 }
  Separator {  
    Translation {
      translation 0 2 0 }
    DEF COTE WWWInline {
      name "CoteWWWAnchor.wrl"
      bboxSize 4 1 1
      bboxCenter 2 0 0 } }
  Separator {  
    Translation {
      translation 0 -2 0 }
    USE COTE }
}
Le fichier VRML TD-Cube2WWWAnchor.wrl
#VRML V1.0 ascii
Separator {
  Translation {
    translation -2 0 2 }
  DEF ELEMENT WWWInline {
    name "ElementWWWAnchor.wrl"
    bboxSize 4 4 1
    bboxCenter 2 0 0}
  Translation {
    translation 4 0 0 }
  Rotation {
    rotation 0 1 0 1.5708 }
  USE ELEMENT
  Translation {
    translation 4 0 0 }
  Rotation {
    rotation 0 1 0 1.5708 }
  USE ELEMENT
  Translation {
    translation 4 0 0 }
  Rotation {
    rotation 0 1 0 1.5708 }
  USE ELEMENT
}
WB01624_.gif (281 octets) RETOUR