-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
115 lines (94 loc) · 6.45 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
<body style="margin : 0px; overflow: hidden;">
<a-scene embedded arjs='sourceType: webcam; debugUIEnabled: false; detectionMode: mono_and_matrix; matrixCodeType: 4x4_BCH_13_9_3;'>
<a-marker type='barcode' value='155'>
<a-entity obj-model="obj: url(/models/david.obj); mtl: url(/models/david.mtl)"></a-entity>
</a-marker>
<a-marker type='barcode' value='206'>
<a-entity obj-model="obj: url(/models/bunny.obj); mtl: url(/models/bunny.mtl)"></a-entity>
</a-marker>
<a-marker type='barcode' value='406'>
<a-entity obj-model="obj: url(/models/femur.obj); mtl: url(/models/femur.mtl)"></a-entity>
</a-marker>
<a-marker type='barcode' value='12'>
<a-entity obj-model="obj: url(/models/bunny_TPMS.obj); mtl: url(/models/bunny_TPMS.mtl)"></a-entity>
</a-marker>
<!-- Spur gear pair -->
<a-marker type='barcode' value='489'>
<a-entity scale="0.5 0.5 0.5" position="0 0 0">
<a-entity obj-model="obj: url(/models/spur_gear_m2_N20_core_r6.obj); mtl: url(/models/spur_gear_m2_N20_core_r6.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 -720 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="1.5 0 0" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
</a-entity>
</a-entity>
</a-marker>
<!-- Planetary gear, static carrier -->
<a-marker type='barcode' value='25'>
<a-entity scale="0.5 0.5 0.5" position="0 0 0">
<a-entity obj-model="obj: url(/models/spur_gear_m2_N20_core_r6.obj); mtl: url(/models/spur_gear_m2_N20_core_r6.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 -720 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="1.5 0 0" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="-0.75 0 -1.299" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="-0.75 0 1.299" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N40_inner.obj); mtl: url(/models/spur_gear_m2_N40_inner.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 360 0; loop: true; dur: 10000">
</a-entity>
</a-entity>
</a-marker>
<!-- Planetary gear, static sun -->
<a-marker type='barcode' value='180'>
<a-entity scale="0.5 0.5 0.5" position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 720 0; loop: true; dur: 10000">
<a-entity obj-model="obj: url(/models/spur_gear_m2_N20_core_r6.obj); mtl: url(/models/spur_gear_m2_N20_core_r6.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 -720 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="1.5 0 0" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="-0.75 0 -1.299" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="-0.75 0 1.299" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N40_inner.obj); mtl: url(/models/spur_gear_m2_N40_inner.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 360 0; loop: true; dur: 10000">
</a-entity>
</a-entity>
</a-marker>
<!-- Planetary gear, static ring -->
<a-marker type='barcode' value='143'>
<a-entity scale="0.5 0.5 0.5" position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 -360 0; loop: true; dur: 10000">
<a-entity obj-model="obj: url(/models/spur_gear_m2_N20_core_r6.obj); mtl: url(/models/spur_gear_m2_N20_core_r6.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 -720 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="1.5 0 0" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="-0.75 0 -1.299" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N10_core_r6.obj); mtl: url(/models/spur_gear_m2_N10_core_r6.mtl)"
position="-0.75 0 1.299" rotation="0 0 0" animation="property: rotation; to: 0 1440 0; loop: true; dur: 10000">
</a-entity>
<a-entity obj-model="obj: url(/models/spur_gear_m2_N40_inner.obj); mtl: url(/models/spur_gear_m2_N40_inner.mtl)"
position="0 0 0" rotation="0 0 0" animation="property: rotation; to: 0 360 0; loop: true; dur: 10000">
</a-entity>
</a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>