mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
* Adjustment: Initial CMake reworking.
This commit is contained in:
parent
516163fd5d
commit
d7cdf54661
5394 changed files with 2615532 additions and 8711 deletions
1
Engine/lib/assimp/test/models/AMF/README
Normal file
1
Engine/lib/assimp/test/models/AMF/README
Normal file
|
|
@ -0,0 +1 @@
|
|||
Simple models for testing importer. No description because models are simple and created by hand.
|
||||
59
Engine/lib/assimp/test/models/AMF/test1.amf
Normal file
59
Engine/lib/assimp/test/models/AMF/test1.amf
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<amf>
|
||||
<object id="1">
|
||||
<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>
|
||||
65
Engine/lib/assimp/test/models/AMF/test2.amf
Normal file
65
Engine/lib/assimp/test/models/AMF/test2.amf
Normal file
|
|
@ -0,0 +1,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>
|
||||
71
Engine/lib/assimp/test/models/AMF/test3.amf
Normal file
71
Engine/lib/assimp/test/models/AMF/test3.amf
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
<?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>
|
||||
<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>
|
||||
77
Engine/lib/assimp/test/models/AMF/test4.amf
Normal file
77
Engine/lib/assimp/test/models/AMF/test4.amf
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<?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>
|
||||
<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>
|
||||
</mesh>
|
||||
</object>
|
||||
</amf>
|
||||
95
Engine/lib/assimp/test/models/AMF/test5.amf
Normal file
95
Engine/lib/assimp/test/models/AMF/test5.amf
Normal file
|
|
@ -0,0 +1,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>
|
||||
77
Engine/lib/assimp/test/models/AMF/test5a.amf
Normal file
77
Engine/lib/assimp/test/models/AMF/test5a.amf
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<?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>
|
||||
</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>
|
||||
83
Engine/lib/assimp/test/models/AMF/test6.amf
Normal file
83
Engine/lib/assimp/test/models/AMF/test6.amf
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<?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>
|
||||
</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>
|
||||
</mesh>
|
||||
</object>
|
||||
</amf>
|
||||
112
Engine/lib/assimp/test/models/AMF/test7.amf
Normal file
112
Engine/lib/assimp/test/models/AMF/test7.amf
Normal file
|
|
@ -0,0 +1,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>
|
||||
130
Engine/lib/assimp/test/models/AMF/test8.amf
Normal file
130
Engine/lib/assimp/test/models/AMF/test8.amf
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
<?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>
|
||||
<constellation id="2">
|
||||
<instance objectid="1">
|
||||
<deltax>-5</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>-45</rx>
|
||||
<ry>0</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
<instance objectid="1">
|
||||
<deltax>5</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>45</rx>
|
||||
<ry>0</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
</constellation>
|
||||
</amf>
|
||||
180
Engine/lib/assimp/test/models/AMF/test9.amf
Normal file
180
Engine/lib/assimp/test/models/AMF/test9.amf
Normal file
|
|
@ -0,0 +1,180 @@
|
|||
<?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>
|
||||
<constellation id="2">
|
||||
<instance objectid="1">
|
||||
<deltax>-5</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>-45</rx>
|
||||
<ry>0</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
<instance objectid="1">
|
||||
<deltax>5</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>45</rx>
|
||||
<ry>0</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
<instance objectid="1">
|
||||
<deltax>0</deltax>
|
||||
<deltay>-5</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>0</rx>
|
||||
<ry>-45</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
<instance objectid="1">
|
||||
<deltax>0</deltax>
|
||||
<deltay>5</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>0</rx>
|
||||
<ry>45</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
<instance objectid="1">
|
||||
<deltax>0</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>-5</deltaz>
|
||||
<rx>0</rx>
|
||||
<ry>0</ry>
|
||||
<rz>-45</rz>
|
||||
</instance>
|
||||
<instance objectid="1">
|
||||
<deltax>0</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>5</deltaz>
|
||||
<rx>0</rx>
|
||||
<ry>0</ry>
|
||||
<rz>45</rz>
|
||||
</instance>
|
||||
</constellation>
|
||||
<constellation id="3">
|
||||
<instance objectid="2">
|
||||
<deltax>-20</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>-20</rx>
|
||||
<ry>0</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
<instance objectid="2">
|
||||
<deltax>20</deltax>
|
||||
<deltay>0</deltay>
|
||||
<deltaz>0</deltaz>
|
||||
<rx>20</rx>
|
||||
<ry>0</ry>
|
||||
<rz>0</rz>
|
||||
</instance>
|
||||
</constellation>
|
||||
</amf>
|
||||
38
Engine/lib/assimp/test/models/AMF/test_with_mat.amf
Normal file
38
Engine/lib/assimp/test/models/AMF/test_with_mat.amf
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue