/
index.html
86 lines (81 loc) · 2.84 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!--
Copyright (c) 2008 Seneca College
Licenced under the MIT License (http://www.c3dl.org/index.php/mit-license/)
-->
<html>
<head>
<title>C3DL Collada Loading Tests</title>
<script type="application/javascript" src="../../../dist/c3dl-DEV-VERSION.js" ></script>
<script language="javascript" src="test.js"></script>
<link rel="stylesheet" type="text/css" href="../style.css" />
<style>
canvas
{
width:200px;
height:200px;
border:1px solid #000;
}
span, div{
font-size: 12px;
border:1px solid #000;
}
</style>
</head>
<body>
<h1><a href="http://www.c3dl.org">C3DL</a> COLLADA Loading Test</h1>
<p>
This pages tests to make sure the C3DL collada importer works correctly.<br />
The page creates multiple canvases and loads a collada model in each one.<br />
You should therefore see a spinning model in each canvas.
</p>
<p>
<table>
<tr>
<td>
<canvas id="gun"></canvas><br />
<div>Test: No texture</div>
</td>
<td>
<canvas id="teapot"></canvas><br />
<div>source: 3dsMax</div>
</td>
<td>
<canvas id="gingerbread_house"></canvas><br />
<div><a href="http://sketchup.google.com/3dwarehouse/details?mid=539a3e1c5487720d45f5590ac69325a5&prevstart=0">source</a> Sketchup</div>
</td>
<td>
<canvas id="swiss_army_usb"></canvas><br />
<div><a href="http://sketchup.google.com/3dwarehouse/details?mid=4c71b2758968236992b3a559188c73e8&prevstart=60">source</a> Sketchup</div>
</td>
<td>
<canvas id="firehall"></canvas><br />
<div> </div>
</td>
</tr>
<tr>
<td>
<canvas id="old_cottage"></canvas><br />
<div><a href="http://sketchup.google.com/3dwarehouse/details?mid=254f0c1f2e28fb61b666659105cc9717&prevstart=0">source</a> Test: Sketchup model</div>
</td>
<td>
<canvas id="transform_test"></canvas><br />
<div><a href="https://collada.org/owl/browse.php?sess=0&parent=92&expand=1&order=name&curview=0&sortname=ASC">source</a> Test: transformations, colors</div>
</td>
<td>
<canvas id="fly_plane_polylist"></canvas><br />
<div><a href="#">source</a></div>
</td>
<td>
<canvas id="duck"></canvas><br />
<div><a href="https://collada.org/owl/browse.php?sess=0&parent=126&expand=1&order=name&curview=0&sortname=ASC">source</a></div>
</td>
<td>
<canvas id="move_widget"></canvas><br />
<div> </div>
</td>
</tr>
</table>
</p>
<span id="debug"></span>
</body>
</html>