tut13b.wrl

#VRML V2.0 utf8

WorldInfo {
	title "Floppy's VRML97 Tutorial Example 13b"
	info ["(C) Copyright 1999 Vapour Technology"
 	        "vrmlguide@vapourtech.com"]
}

NavigationInfo {
	headlight TRUE
	type "EXAMINE"
}

Group {
	children [
		Shape {
			appearance Appearance {
				texture ImageTexture {
					url "d6.jpg"
				}
			}
			geometry IndexedFaceSet {
				coord DEF COORD Coordinate {
					point [ 1 -1 -1, -1 -1 -1, -1 -1 1, 1 -1 1, 1 1 -1, -1 1 -1, -1 1 1, 1 1 1]
				}
				coordIndex [ 	3 2 1 0 -1
						0 1 5 4 -1
						1 2 6 5 -1
						2 3 7 6 -1
						3 0 4 7 -1
 						4 5 6 7 -1
				]
				texCoord DEF TEXCOORD TextureCoordinate {
					point [ 0.25 0, 0.5 0, 
						0 0.33, 0.25 0.33, 0.5 0.33, 0.75 0.33, 1 0.33,
						0 0.67, 0.25 0.67, 0.5 0.67, 0.75 0.67, 1 0.67,
						0.25 1, 0.5 1 ]
				}
				texCoordIndex [	5 6 11 10 -1
						13 12 8 9 -1
						7 2 3 8 -1
						0 1 4 3 -1
						5 10 9 4 -1
						9 8 3 4 -1
				]
			}
		}
	]
}

Generated by GNU enscript 1.6.1.

© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com