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

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

m

File size: 1.2 KB
RevLine 
[7]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>
[34]32<!ELEMENT camera (position,lookat)>
33<!ATTLIST camera name CDATA #REQUIRED>
34<!ATTLIST lookat x CDATA "0">
35<!ATTLIST lookat y CDATA "0">
36<!ATTLIST lookat z CDATA "0">
[7]37
38
39
40
41
42
Note: See TracBrowser for help on using the repository browser.