~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to demos/webgl/scene.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<glge>
 
3
        <mesh id="Box">
 
4
                <positions>
 
5
       1, 1, 1, 1, 1,-1,-1, 1,-1, 1, 1, 1,-1, 1,-1,-1, 1, 1,
 
6
      -1,-1,-1,-1,-1, 1,-1, 1, 1,-1,-1,-1,-1, 1, 1,-1, 1,-1,
 
7
       1,-1,-1, 1,-1, 1,-1,-1,-1, 1,-1, 1,-1,-1, 1,-1,-1,-1,
 
8
       1, 1,-1, 1, 1, 1, 1,-1,-1, 1, 1, 1, 1,-1, 1, 1,-1,-1,
 
9
       1, 1, 1,-1, 1, 1, 1,-1, 1,-1, 1, 1,-1,-1, 1, 1,-1, 1,
 
10
       1, 1,-1, 1,-1,-1,-1,-1,-1, 1, 1,-1,-1,-1,-1,-1, 1,-1
 
11
    </positions>
 
12
                <normals>
 
13
      0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,-1,0,-0,-1,0,-0,-1,0,-0,-1,0,-0,-1,0,-0,-1,0,-0,-0,-1,-0,-0,-1,-0,-0,-1,-0,-0,-1,0,-0,-1,0,-0,-1,0,1,0,-0,1,0,-0,1,0,-0,1,0,0,1,0,0,1,0,0,-0,-0,1,-0,-0,1,-0,-0,1,0,-0,1,0,-0,1,0,-0,1,0,0,-1,0,0,-1,0,0,-1,0,-0,-1,0,-0,-1,0,-0
 
14
    </normals>
 
15
                <uv1>
 
16
      0,0,1,0,1,1, 0,0,1,1,0,1,
 
17
      0,0,1,0,1,1, 0,0,1,1,0,1,
 
18
      0,0,0,1,1,0, 0,0,1,0,1,1,
 
19
      0,0,0,1,1,0, 0,0,1,0,1,1,
 
20
      0,0,0,1,1,0, 0,0,1,0,1,1,
 
21
      0,0,1,0,1,1, 0,0,1,1,0,1,
 
22
    </uv1>
 
23
                <faces>0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35</faces>
 
24
        </mesh>
 
25
 
 
26
        <camera id="maincamera" loc_y="3" loc_z="35"/>
 
27
        
 
28
        <material id="boxmaterial1">
 
29
                <texture id="boxtexture1" src="cube1.jpg"/>
 
30
                <material_layer texture="#boxtexture1" mapinput="UV1" mapto="M_COLOR"/>
 
31
        </material>
 
32
        <material id="boxmaterial2">
 
33
                <texture id="boxtexture2" src="cube2.jpg"/>
 
34
                <material_layer texture="#boxtexture2" mapinput="UV1" mapto="M_COLOR"/>
 
35
        </material>
 
36
        <material id="boxmaterial3">
 
37
                <texture id="boxtexture3" src="cube3.jpg"/>
 
38
                <material_layer texture="#boxtexture3" mapinput="UV1" mapto="M_COLOR"/>
 
39
        </material>
 
40
        <material id="boxmaterial4">
 
41
                <texture id="boxtexture4" src="cube4.jpg"/>
 
42
                <material_layer texture="#boxtexture4" mapinput="UV1" mapto="M_COLOR"/>
 
43
        </material>
 
44
        <material id="boxmaterial5">
 
45
                <texture id="boxtexture5" src="cube5.jpg"/>
 
46
                <material_layer texture="#boxtexture5" mapinput="UV1" mapto="M_COLOR"/>
 
47
        </material>
 
48
                
 
49
        <scene id="mainscene" camera="#maincamera" ambient_color="#fff">
 
50
                <!--light id="mainlight" loc_y="5" type="L_POINT"/-->
 
51
        </scene>
 
52
</glge>