Metropoli BBS
VIEWER: reflect.vxr MODE: TEXT (ASCII)
#VRML V1.0 ascii

Separator {
	# Options: ON OFF AUTO
	renderCulling AUTO
	
	OUTPUT_TO Reflect.wrl
	
	DEF BackgroundColor Info {
		string  ".1 .2 .6"
	}

	Material {
		diffuseColor =Color("yellow")
	}

	# Define one triangle
	DEF object Coordinate3 {
		point [1 0 0, 2 0 0, 2 1 0 ] # MFVec3f
	}
	
	# Reflect the triangle and append (two triangles)
	APPEND object:point convert3D(convert4D(object:point)*yzReflect())
		
	# Now display the two triangles
	
	IndexedFaceSet {
		coordIndex [0, 1, 2, 0, -1, 3, 4, 5, 3, -1] 
	}
}
[ RETURN TO DIRECTORY ]