tut11c.wrl

#VRML V2.0 utf8

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

NavigationInfo {
	headlight FALSE
	type "EXAMINE"
}

DirectionalLight {
	ambientIntensity 0.75
	direction 0 -1 -1
}

Transform {
	translation -2.5 0 0
	children [
		Shape {
			appearance DEF PYRAMIDAPP Appearance {
				material Material {
					diffuseColor 0 1 0
				}
			}
			geometry IndexedFaceSet {
				coord DEF COORD Coordinate {
					point [ 1 0 -1, -1 0 -1, -1 0 1, 1 0 1, 0 2 0]
				}
				coordIndex [ 	0 4 3 -1
						1 4 0 -1
						2 4 1 -1
						3 4 2 -1
						0 3 2 1 -1
				]
				ccw TRUE
			}
		}
	]
}

Transform {
	translation 2.5 0 0
	children [
		Shape {
			appearance USE PYRAMIDAPP
			geometry IndexedFaceSet {
				coord USE COORD
				coordIndex [ 	0 4 3 -1
						1 4 0 -1
						2 4 1 -1
						3 4 2 -1
						0 3 2 1 -1
				]
				ccw FALSE
			}
		}
	]
}

Generated by GNU enscript 1.6.1.

© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com