summaryrefslogtreecommitdiff
path: root/libs/assimp/test/models/AMF/test7.amf
blob: 9dae44fbe42cfb76c1d9408369f2e05d999a0591 (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?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>
					<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>
				<vertex>
					<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>
					<color>
						<r>0.0</r>
						<g>0.0</g>
						<b>1</b>
						<a>1</a>
					</color>
					<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>
			<volume>
				<triangle>
					<v1>0</v1>
					<v2>2</v2>
					<v3>1</v3>
				</triangle>
				<triangle>
					<v1>0</v1>
					<v2>4</v2>
					<v3>2</v3>
				</triangle>
				<triangle>
					<v1>1</v1>
					<v2>2</v2>
					<v3>4</v3>
				</triangle>
				<triangle>
					<v1>0</v1>
					<v2>1</v2>
					<v3>4</v3>
				</triangle>
			</volume>
		</mesh>
	</object>
</amf>