source: flair-bin/trunk/models/scene.dtd@ 8

Last change on this file since 8 was 7, checked in by Sanahuja Guillaume, 9 years ago

m

File size: 1.0 KB
Line 
1<!ELEMENT scene (params, objects)>
2<!ELEMENT params (archive+, mesh)>
3<!ELEMENT archive EMPTY>
4<!ELEMENT objects (mesh+)>
5<!ELEMENT mesh (position, rotation, scale)>
6<!ELEMENT position EMPTY>
7<!ELEMENT rotation EMPTY>
8<!ELEMENT scale EMPTY>
9
10<!ATTLIST scene title CDATA "Untitled">
11<!ATTLIST archive path CDATA #REQUIRED>
12<!ATTLIST archive id CDATA #REQUIRED>
13<!ATTLIST mesh model CDATA #REQUIRED>
14<!ATTLIST mesh id CDATA #REQUIRED>
15<!ATTLIST position x CDATA "0">
16<!ATTLIST position y CDATA "0">
17<!ATTLIST position z CDATA "0">
18<!ATTLIST rotation x CDATA "0">
19<!ATTLIST rotation y CDATA "0">
20<!ATTLIST rotation z CDATA "0">
21<!ATTLIST scale x CDATA "1">
22<!ATTLIST scale y CDATA "1">
23<!ATTLIST scale z CDATA "1">
24<!ELEMENT cylinder (position, rotation, scale)>
25<!ELEMENT eight (position, rotation, scale)>
26<!ATTLIST cylinder radius CDATA #REQUIRED>
27<!ATTLIST cylinder length CDATA #REQUIRED>
28<!ATTLIST cylinder tesselation CDATA "160">
29<!ATTLIST eight width CDATA #REQUIRED>
30<!ATTLIST eight length CDATA #REQUIRED>
31<!ATTLIST eight height CDATA #REQUIRED>
32
33
34
35
36
37
Note: See TracBrowser for help on using the repository browser.