An error occurred while loading the file. Please try again.
toytown.html 3.10 KiB
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title> toy town </title>
	<link rel="stylesheet" type="text/css" href="x3dom.css">
	</link>
</head>
<body>
	<h1> toy town </h1>
	<table width="100%" height="85%" border="0">
		<tr>
			<td width="50%" align="center" valign="top" scope="col">
				<X3D id="shapedata" width="600px" height="600px" style="float:left">
					<Scene>
						<transform id="terrain">
							<Shape>
								<Appearance>
									<ImageTexture url="./img/Logo_bisH27mm.jpg"></ImageTexture>
									<Material diffuseColor="0, 1, 0"> </Material>
								</Appearance>
								<IndexedFaceSet solid="true" ccw="true" coordIndex="  0 3 2 1 -1">
									<Coordinate point="-5 0 -5, 5 0 -5, 5 0 5, -5 0 5">
									</Coordinate>
								</IndexedFaceSet>
							</Shape>
						</transform>
						<transform id="building_1">
							<Group DEF="building">
								<Shape DEF="roof">
									<!-- roof -->
									<Appearance>
										<Material diffuseColor="0.980, 0.502, 0.447"> </Material>
									</Appearance>
									<IndexedFaceSet solid="true" ccw="true" coordIndex="  7 4 8 -1 4 5 8 -1 5 6 8 -1 6 7 8 -1">
										<Coordinate DEF="pointset" point="-1 0 1, 1 0 1, 1 0 -1, -1 0 -1,
             	            -1 2 1, 1 2 1, 1 2 -1, -1 2 -1, 0 3 0 ">
										</Coordinate>
									</IndexedFaceSet>
								</Shape>
								<Shape DEF="wall">
									<!-- wall -->
									<Appearance>
										<Material diffuseColor="0.753, 0.753, 0.753"> </Material>
									</Appearance>
									<IndexedFaceSet solid="true" ccw="true" coordIndex=" 0 1 5 4 -1 1 2 6 5 -1 2 3 7 6 -1 3 0 4 7 -1">
										<Coordinate USE="pointset">
										</Coordinate>
									</IndexedFaceSet>
								</Shape>
								<Shape DEF="ground">
									<!-- ground -->
									<Appearance>
										<Material diffuseColor="0.180, 0.280, 0.230"> </Material>
									</Appearance>
									<IndexedFaceSet solid="true" ccw="true" coordIndex=" 0 3 2 1 -1 ">
										<Coordinate USE="pointset">
										</Coordinate>
									</IndexedFaceSet>
								</Shape>
							</Group>
						</Transform>
						<Transform id="building_2" translation="3 0 0">
							<Group>
								<Shape USE="roof">
								</Shape>
								<Shape USE="wall">
								</Shape>
								<Shape USE="ground">
</Shape> </Group> </Transform> <Transform id="building_3" translation="0 0 4"> <Group> <Shape USE="roof"> </Shape> <Shape USE="wall"> </Shape> <Shape USE="ground"> </Shape> </Group> </Transform> <Transform id="building_4" translation="-3 0 0"> <Group> <Shape USE="roof"> </Shape> <Shape USE="wall"> </Shape> <Shape USE="ground"> </Shape> </Group> </Transform> </Scene> </X3D> </td> <td width="50%" align="left" valign="top" scope="col"> DEF / USE </td> </tr> </table> <script type="text/javascript" src="x3dom.js"></script> </body> </html>