summaryrefslogtreecommitdiff
path: root/libs/assimp/test/models/AMF/test5.amf
blob: d7365cd45b28eddfc18ac6318d547c9de58d13cb (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
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
<?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>
					<color>
						<r>0.5</r>
						<g>0.5</g>
						<b>0</b>
						<a>1</a>
					</color>
					<coordinates>
						<x>-0.5</x>
						<y>-0.5</y>
						<z>0</z>
					</coordinates>
				</vertex>
				<vertex>
					<color>
						<r>0.5</r>
						<g>0.5</g>
						<b>0.2</b>
						<a>1</a>
					</color>
					<coordinates>
						<x>-0.5</x>
						<y>0.5</y>
						<z>0</z>
					</coordinates>
				</vertex>
				<vertex>
					<color>
						<r>0.5</r>
						<g>0.5</g>
						<b>0.4</b>
						<a>1</a>
					</color>
					<coordinates>
						<x>1</x>
						<y>0</y>
						<z>0</z>
					</coordinates>
				</vertex>
				<vertex>
					<color>
						<r>0.5</r>
						<g>0.5</g>
						<b>0.8</b>
						<a>1</a>
					</color>
					<coordinates>
						<x>0</x>
						<y>0</y>
						<z>4</z>
					</coordinates>
				</vertex>
			</vertices>
			<volume>
				<color>
					<r>0.6</r>
					<g>0.1</g>
					<b>0.1</b>
					<a>1</a>
				</color>
				<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>