~ubuntu-branches/ubuntu/utopic/gpac/utopic-proposed

1.1.2 by John Dong
Import upstream version 0.4.2~rc2
1
InitialObjectDescriptor {
2
 objectDescriptorID 1
3
 audioProfileLevelIndication 255
4
 visualProfileLevelIndication 254
5
 sceneProfileLevelIndication 1
6
 graphicsProfileLevelIndication 1
7
 ODProfileLevelIndication 1
8
 esDescr [
9
  ES_Descriptor {
10
   ES_ID 1
11
   decConfigDescr DecoderConfigDescriptor {
12
    streamType 3
13
    decSpecificInfo BIFSConfig {
14
     isCommandStream true
15
     pixelMetric true
16
     pixelWidth 400
17
     pixelHeight 300
18
    }
19
   }
20
  }
21
 ]
22
}
23
24
DEF OG OrderedGroup {
25
 children [
26
  WorldInfo {
1.1.4 by Julien Lavergne
Import upstream version 0.4.5
27
   info ["This shows node routing" "through addChildren field" "GPAC Regression Tests" "$Date: 2007/07/27 09:46:09 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
1.1.2 by John Dong
Import upstream version 0.4.2~rc2
28
   title "Node Routing test"
29
  }
30
  DEF BACK Background2D {
31
   backColor 1 1 1
32
  }
33
  DEF TR1 Transform2D {
34
   translation -100 0
35
  }
36
  DEF TR2 Transform2D {
37
   translation 100 0
38
  }
39
 ]
40
}
41
42
ROUTE TR1.children TO TR2.addChildren
43
44
AT 2000 {
45
 APPEND TO TR1.children Shape {
46
  appearance Appearance {
47
   material DEF M1 Material2D {
48
    emissiveColor 1 0 0
49
    filled TRUE
50
   }
51
  }
52
  geometry Rectangle {
53
   size 100 50
54
  }
55
 }
56
}
57
58
AT 4000 {
59
 REPLACE M1.filled BY FALSE
60
}
61
62
AT 6000 {
63
 REPLACE TR1.children[0] BY NULL
64
}
65
66
AT 8000 {
67
 APPEND TO TR1.children Shape {
68
  appearance Appearance {
69
   material Material2D {
70
    emissiveColor 0 1 0
71
    filled TRUE
72
   }
73
  }
74
  geometry Circle {
75
   radius 25
76
  }
77
 }
78
}
79