source: flair-src/trunk/models/scene.dtd@ 327

Last change on this file since 327 was 302, checked in by Sanahuja Guillaume, 6 years ago

modifs nouveau build system

File size: 1.3 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<!ELEMENT color EMPTY>
10
11<!ATTLIST scene title CDATA "Untitled">
12<!ATTLIST archive path CDATA #REQUIRED>
13<!ATTLIST archive id CDATA #REQUIRED>
14<!ATTLIST mesh model CDATA #REQUIRED>
15<!ATTLIST mesh id CDATA #REQUIRED>
16<!ATTLIST position x CDATA "0">
17<!ATTLIST position y CDATA "0">
18<!ATTLIST position z CDATA "0">
19<!ATTLIST rotation x CDATA "0">
20<!ATTLIST rotation y CDATA "0">
21<!ATTLIST rotation z CDATA "0">
22<!ATTLIST scale x CDATA "1">
23<!ATTLIST scale y CDATA "1">
24<!ATTLIST scale z CDATA "1">
25<!ATTLIST color r CDATA "0"
26 g CDATA "0"
27 b CDATA "0"
28 a CDATA "255"
29>
30<!ELEMENT cylinder (position, rotation, scale,color?)>
31<!ELEMENT eight (position, rotation, scale)>
32<!ATTLIST cylinder radius CDATA #REQUIRED>
33<!ATTLIST cylinder length CDATA #REQUIRED>
34<!ATTLIST cylinder tesselation CDATA "160">
35<!ATTLIST eight width CDATA #REQUIRED>
36<!ATTLIST eight length CDATA #REQUIRED>
37<!ATTLIST eight height CDATA #REQUIRED>
38<!ELEMENT camera (position,lookat)>
39<!ATTLIST camera name CDATA #REQUIRED>
40<!ATTLIST lookat x CDATA "0">
41<!ATTLIST lookat y CDATA "0">
42<!ATTLIST lookat z CDATA "0">
43
44
45
46
47
48
Note: See TracBrowser for help on using the repository browser.