Skip to main content

History: Ogre meshxml DTD

Source of version: 2

Copy to clipboard
            Ogre __.mesh.xml__ Document Type Definition (DTD) as of 2009-10-08.

!!See also
* [https://ogre.svn.sourceforge.net/svnroot/ogre/trunk/Tools/XMLConverter/docs/|current version] in SVN
* ((OgreXmlConverter))
* ((Mesh))

!!The DTD
{CODE(wrap="1", colors="xml")}
<!ELEMENT mesh (sharedgeometry?, submeshes, 
    skeletonlink?, boneassignments?, levelofdetail?, submeshnames?, poses?, animations?, extremes?)>
<!ELEMENT sharedgeometry (vertexbuffer+)>
<!ATTLIST sharedgeometry
    vertexcount CDATA #REQUIRED>
<!ELEMENT submeshes (submesh+)>
<!ELEMENT submesh (textures?,faces,geometry?,boneassignments?)>
<!ATTLIST submesh 
    material             CDATA             #REQUIRED
    usesharedvertices    (true|false)    "true"
    use32bitindexes        (true|false)    "false"
    operationtype       (triangle_list|triangle_strip|triangle_fan)    "triangle_list">
<!ELEMENT textures (texture+)>
<!ELEMENT texture EMPTY>
<!ATTLIST texture
    alias    CDATA    #REQUIRED
    name    CDATA    #REQUIRED>
<!ELEMENT faces (face+)>
<!ATTLIST faces 
    count        CDATA    #IMPLIED>
<!ELEMENT face EMPTY>

<!ELEMENT extremes (submesh+)>
<!ELEMENT submesh_extremes (position+)>
<!ATTLIST submesh_extremes
    index    CDATA    #REQUIRED>{CODE}


        

History

Information Version
Sun 28 of Jun, 2020 16:04 GMT-0000 paroj 8
Sun 01 of Jan, 2017 15:06 GMT-0000 dark_sylinc Added missing entries to operationtype 7
Tue 07 of Apr, 2015 17:11 GMT-0000 spacegaier updated DTD 6
Tue 03 of Jan, 2012 21:51 GMT-0000 uzik bug fix 5
Sun 24 of Apr, 2011 17:05 GMT-0000 spacegaier changed link to pojt to BitBucket 4
Tue 29 of Dec, 2009 18:31 GMT-0000 spacegaier completed the DTD (copied from the Ogre SVN) 3
Tue 29 of Dec, 2009 05:10 GMT-0000 jacmoe 2
Sat 28 of Nov, 2009 18:43 GMT-0000 Beauty added sections + 2 links 1