summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/test/models/AMF/test_with_mat.amf
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/test/models/AMF/test_with_mat.amf
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
Diffstat (limited to 'src/mesh/assimp-master/test/models/AMF/test_with_mat.amf')
-rw-r--r--src/mesh/assimp-master/test/models/AMF/test_with_mat.amf38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/test/models/AMF/test_with_mat.amf b/src/mesh/assimp-master/test/models/AMF/test_with_mat.amf
new file mode 100644
index 0000000..0127d82
--- /dev/null
+++ b/src/mesh/assimp-master/test/models/AMF/test_with_mat.amf
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<amf unit="inch" version="1.1">
+ <metadata type="name">Split Pyramid</metadata>
+ <metadata type="author">John Smith</metadata>
+ <object id="1">
+ <mesh>
+ <vertices>
+ <vertex><coordinates><x>0</x><y>0</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>1</y><z>0</z></coordinates></vertex>
+ <vertex><coordinates><x>1</x><y>1</y><z>0</z></coordinates></vertex>
+ <vertex><coordinates><x>0.5</x><y>0.5</y><z>1</z></coordinates></vertex>
+ </vertices>
+ <volume materialid="2">
+ <metadata type="name">Hard side</metadata>
+ <triangle><v1>2</v1><v2>1</v2><v3>0</v3></triangle>
+ <triangle><v1>0</v1><v2>1</v2><v3>4</v3></triangle>
+ <triangle><v1>4</v1><v2>1</v2><v3>2</v3></triangle>
+ <triangle><v1>0</v1><v2>4</v2><v3>2</v3></triangle>
+ </volume>
+ <volume materialid="3">
+ <metadata type="name">Soft side</metadata>
+ <triangle><v1>2</v1><v2>3</v2><v3>1</v3></triangle>
+ <triangle><v1>1</v1><v2>3</v2><v3>4</v3></triangle>
+ <triangle><v1>4</v1><v2>3</v2><v3>2</v3></triangle>
+ <triangle><v1>4</v1><v2>2</v2><v3>1</v3></triangle>
+ </volume>
+ </mesh>
+ </object>
+ <material id="2">
+ <metadata type="name">Hard material</metadata>
+ <color><r>0.1</r><g>0.1</g><b>0.1</b></color>
+ </material>
+ <material id="3">
+ <metadata type="name">Soft material</metadata>
+ <color><r>0</r><g>0.9</g><b>0.9</b><a>0.5</a></color>
+ </material>
+</amf>