summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/test/models/AMF/test2.amf
blob: 3877376395fee6784e852a2e898b94c70c6321e0 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<amf>
	<object id="1">
		<color>
			<r>0.1</r>
			<g>0.6</g>
			<b>0.1</b>
			<a>1</a>
		</color>
		<mesh>
			<vertices>
				<vertex>
					<coordinates>
						<x>-0.5</x>
						<y>-0.5</y>
						<z>0</z>
					</coordinates>
				</vertex>
				<vertex>
					<coordinates>
						<x>-0.5</x>
						<y>0.5</y>
						<z>0</z>
					</coordinates>
				</vertex>
				<vertex>
					<coordinates>
						<x>1</x>
						<y>0</y>
						<z>0</z>
					</coordinates>
				</vertex>
				<vertex>
					<coordinates>
						<x>0</x>
						<y>0</y>
						<z>4</z>
					</coordinates>
				</vertex>
			</vertices>
			<volume>
				<triangle>
					<v1>0</v1>
					<v2>1</v2>
					<v3>2</v3>
				</triangle>
				<triangle>
					<v1>0</v1>
					<v2>3</v2>
					<v3>1</v3>
				</triangle>
				<triangle>
					<v1>1</v1>
					<v2>3</v2>
					<v3>2</v3>
				</triangle>
				<triangle>
					<v1>0</v1>
					<v2>2</v2>
					<v3>3</v3>
				</triangle>
			</volume>
		</mesh>
	</object>
</amf>