Textures

Texture node:

ImageTexture {
  url [ "face.jpg" ]
}

Using textures:

#VRML V2.0 utf8

Shape {
  appearance Appearance {
    texture ImageTexture { url [ "face.jpg" ] }
  }
  geometry Cylinder { radius .5  height 1 }
}

Background { skyColor 1 1 1 }
NavigationInfo { type "EXAMINE" }
Viewpoint { position 0 0 2.5 }

File Flavors:

Examples:


mrl