lwjgl/res/model/MeshedModelSample.xml

40 lines
1.3 KiB
XML

<?xml version="1.0" standalone="no"?>
<meshmodel xmlns="x-schema:MeshModelSchema.xml"
modelname="example" material="test" vertexcount="4"
type="meshed">
<mesh>
<triangle a="0" b="1" c="2" />
<triangle a="2" b="3" c="0" />
</mesh>
<skin>
<texcoord u="0.0" v="1.0" />
<texcoord u="1.0" v="1.0" />
<texcoord u="1.0" v="0.0" />
<texcoord u="0.0" v="0.0" />
</skin>
<colors>
<color red="127" green="0" blue="0" />
<color red="0" green="0" blue="127" />
<color red="0" green="127" blue="0" />
<color red="127" green="127" blue="127" />
</colors>
<animation>
<sequence sequencename="plane">
<frame time="1.0">
<vertex x="-1.0" y="1.0" z="0.0" />
<vertex x="1.0" y="1.0" z="0.0" />
<vertex x="1.0" y="-1.0" z="0.0" />
<vertex x="-1.0" y="-1.0" z="0.0" />
<action></action>
</frame>
<frame time="5.0">
<vertex x="1.0" y="1.0" z="0.0" />
<vertex x="-1.0" y="1.0" z="0.0" />
<vertex x="-1.0" y="-1.0" z="0.0" />
<vertex x="1.0" y="-1.0" z="0.0" />
<action></action>
</frame>
</sequence>
</animation>
</meshmodel>