TD-Texture01.wrl

#VRML V1.0 ascii
Separator {
  PerspectiveCamera {
    heightAngle 0.2
    orientation -1 1 0 0.9553
    position 20 20 20 }
  Texture2 {
    image 2 2 3
      0xFFFF00 0xFF0000
      0x0000FF 0x00FF00 }
  Separator {
    Translation {
      translation 1.5 -1.5 0.0 }
    Cylinder { } }
  Separator {
    Translation {
      translation -1.5 -1.5 0.0 }
    Cone { } }
  Separator {
    Translation {
      translation 1.5 1.5 0.0 }
    Sphere { } }
  Separator {
    Translation {
      translation -1.5 1.5 0.0 }
    Cube { } } }

TD-Texture02.wrl

#VRML V1.0 ascii
Separator {
  PerspectiveCamera {
    heightAngle 0.25
    position 0 0 20 }
  Texture2 {
    image 2 2 3
      0xFFFF00 0xFF0000
      0x0000FF 0x00FF00 }
  Coordinate3 {
    point [ 2.0  0.0 0.0,
            1.5  1.5 0.0,
            0.0  2.0 0.0,
           -1.5  1.5 0.0,
           -2.0  0.0 0.0,
           -1.5 -1.5 0.0,
            0.0 -2.0 0.0,
            1.5 -1.5 0.0, ] }
  Separator {
    TextureCoordinate2 {
      point [ 2.0  0.0,
              1.5  1.5,
              0.0  2.0,
             -1.5  1.5,
             -2.0  0.0,
             -1.5 -1.5,
              0.0 -2.0,
              1.5 -1.5, ] }
    Translation {
      translation -2.5 0.0 0.0 }
    IndexedFaceSet {
      coordIndex [
        0,1,2,3,4,5,6,7,-1 ]
      textureCoordIndex [
        0,1,2,3,4,5,6,7,-1 ] } }
  Separator {
    TextureCoordinate2 {
      point [ 2.3  0.2,
              1.3  1.7,
             -0.1  2.1,
             -1.8  1.3,
             -2.3 -0.4,
             -1.7 -1.3,
              0.2 -1.8,
              1.3 -1.1, ] }
    Translation {
      translation 2.5 0.0 0.0 }
    IndexedFaceSet {
      coordIndex [
        0,1,2,3,4,5,6,7,-1 ]
      textureCoordIndex [
        0,1,2,3,4,5,6,7,-1 ] } } }

WB01624_.gif (281 octets) RETOUR