~ubuntu-branches/ubuntu/trusty/emscripten/trusty-proposed

« back to all changes in this revision

Viewing changes to demos/webgl/scene.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140119141240-jg1l42cc158j59tn
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

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>