Difference between revisions of "MOR"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Created page with 'Facial Morph File == mor.xml == See [http://www.oasis-open.org/committees/relax-ng/spec.html] for information on the RELAX NG 1.0 XML schema format. For a free converter/verif...') |
BryanDerksen (Talk | contribs) (→mor.xml) |
||
Line 5: | Line 5: | ||
See [http://www.oasis-open.org/committees/relax-ng/spec.html] for information on the RELAX NG 1.0 XML schema format. For a free converter/verifier, see [http://code.google.com/p/jing-trang/]. | See [http://www.oasis-open.org/committees/relax-ng/spec.html] for information on the RELAX NG 1.0 XML schema format. For a free converter/verifier, see [http://code.google.com/p/jing-trang/]. | ||
+ | <pre> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> | <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> | ||
Line 103: | Line 104: | ||
</define> | </define> | ||
</grammar> | </grammar> | ||
− | + | </pre> | |
[[Category:File types]] | [[Category:File types]] |
Latest revision as of 21:40, 22 September 2009
Facial Morph File
mor.xml
See [1] for information on the RELAX NG 1.0 XML schema format. For a free converter/verifier, see [2].
<?xml version="1.0" encoding="UTF-8"?> <grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> <start> <element name="Morph"> <attribute name="Name"> <data type="NCName"/> </attribute> <oneOrMore> <element name="Part"> <attribute name="Name"/> </element> </oneOrMore> <zeroOrMore> <element name="TintFile"> <attribute name="Name"/> </element> </zeroOrMore> <oneOrMore> <element name="MeshHierarchy"> <attribute name="Name"> <data type="NCName"/> </attribute> <optional> <element name="Translation"> <text/> </element> </optional> <optional> <element name="Data"> <attribute name="ElementCount"> <data type="integer"/> </attribute> <attribute name="Semantic"> <data type="NCName"/> </attribute> <attribute name="Type"> <data type="NCName"/> </attribute> <text/> </element> </optional> <optional> <choice> <element name="MaterialObjectInstanceParameters"> <zeroOrMore> <ref name="float"/> </zeroOrMore> <ref name="vector4f"/> </element> <element name="MaterialObjectParameters"> <zeroOrMore> <ref name="float"/> </zeroOrMore> <oneOrMore> <choice> <ref name="vector4f"/> <element name="texture"> <attribute name="Name"> <data type="NCName"/> </attribute> <attribute name="ResName"> <data type="NCName"/> </attribute> </element> <element name="vector4farray"> <attribute name="Name"> <data type="NCName"/> </attribute> <attribute name="value"/> </element> </choice> </oneOrMore> </element> </choice> </optional> </element> </oneOrMore> </element> </start> <define name="float"> <element name="float"> <attribute name="Name"> <data type="NCName"/> </attribute> <attribute name="value"> <data type="integer"/> </attribute> </element> </define> <define name="vector4f"> <element name="vector4f"> <attribute name="Name"> <data type="NCName"/> </attribute> <attribute name="value"/> </element> </define> </grammar>