~ubuntu-branches/ubuntu/raring/gpac/raring

« back to all changes in this revision

Viewing changes to regression_tests/bifs-2D-painting-lineproperties.bt

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-01-24 23:34:57 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070124233457-zzlls8afkt0nyakj
Tags: 0.4.2~rc2-0ubuntu1
* New upstream release
  * Most notably MP4 tagging support via MP4Box -itags
* debian/patches/01_64bits.dpatch: dropped; included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
InitialObjectDescriptor {
 
2
 objectDescriptorID 1
 
3
 audioProfileLevelIndication 1
 
4
 visualProfileLevelIndication 1
 
5
 sceneProfileLevelIndication 1
 
6
 graphicsProfileLevelIndication 1
 
7
 ODProfileLevelIndication 1
 
8
 esDescr [
 
9
  ES_Descriptor {
 
10
   ES_ID 2
 
11
   decConfigDescr DecoderConfigDescriptor {
 
12
    streamType 3
 
13
    decSpecificInfo BIFSConfig {
 
14
     isCommandStream true
 
15
     pixelMetric true
 
16
     pixelWidth 500
 
17
     pixelHeight 200
 
18
    }
 
19
   }
 
20
  }
 
21
 ]
 
22
}
 
23
 
 
24
OrderedGroup {
 
25
    children [
 
26
        Background2D { 
 
27
            backColor 1 1 1 
 
28
        }
 
29
        WorldInfo {
 
30
            info [
 
31
                "This test shows how to set basic outline properties, using the LineProperties node"
 
32
                "The properties are width, lineColor and lineStyle." 
 
33
                "" 
 
34
                "GPAC Regression Tests" 
 
35
                "(C) 2002-2006 GPAC Team"
 
36
           ]
 
37
           title "Setting simple line properties - the LineProperties node"
 
38
        }
 
39
        DEF TR1 Transform2D {
 
40
        translation -190 0
 
41
        children [
 
42
        Shape {
 
43
         appearance Appearance {
 
44
          material Material2D {
 
45
           lineProps LineProperties {
 
46
            lineColor 0 0 1
 
47
            lineStyle 0
 
48
            width 15
 
49
           }
 
50
          }
 
51
         }
 
52
         geometry DEF LS IndexedLineSet2D {
 
53
          coord Coordinate2D {
 
54
           point [-50 0 0 50 50 0]
 
55
          }
 
56
         }
 
57
        }
 
58
        ]
 
59
        }
 
60
        Transform2D {
 
61
        translation -190 -30
 
62
        children [
 
63
        Shape {
 
64
         appearance DEF TEXTAPP Appearance {
 
65
          material Material2D {
 
66
           emissiveColor 0 0 0
 
67
           filled TRUE
 
68
          }
 
69
         }
 
70
         geometry Text {
 
71
          string ["lineStyle 0"]
 
72
          fontStyle DEF FS FontStyle {
 
73
           justify ["MIDDLE" "MIDDLE"]
 
74
           size 16
 
75
          }
 
76
         }
 
77
        }
 
78
        ]
 
79
        }
 
80
        DEF TR2 Transform2D {
 
81
        translation -65 0
 
82
        children [
 
83
        Shape {
 
84
         appearance Appearance {
 
85
          material Material2D {
 
86
           lineProps LineProperties {
 
87
            lineColor 1 0 0
 
88
            lineStyle 1
 
89
            width 15
 
90
           }
 
91
          }
 
92
         }
 
93
         geometry USE LS
 
94
        }
 
95
        ]
 
96
        }
 
97
        Transform2D {
 
98
        translation -65 -30
 
99
        children [
 
100
        Shape {
 
101
         appearance USE TEXTAPP
 
102
         geometry Text {
 
103
          string ["lineStyle 1"]
 
104
          fontStyle USE FS
 
105
         }
 
106
        }
 
107
        ]
 
108
        }
 
109
        DEF TR3 Transform2D {
 
110
        translation 65 0
 
111
        children [
 
112
        Shape {
 
113
         appearance Appearance {
 
114
          material Material2D {
 
115
           lineProps XLineProperties {
 
116
            lineColor 0 1 1
 
117
            lineStyle 2
 
118
            width 15
 
119
           }
 
120
          }
 
121
         }
 
122
         geometry USE LS
 
123
        }
 
124
        ]
 
125
        }
 
126
        Transform2D {
 
127
        translation 65 -30
 
128
        children [
 
129
        Shape {
 
130
         appearance USE TEXTAPP
 
131
         geometry Text {
 
132
          string ["lineStyle 2"]
 
133
          fontStyle USE FS
 
134
         }
 
135
        }
 
136
        ]
 
137
        }
 
138
        DEF TR4 Transform2D {
 
139
        translation 190 0
 
140
        children [
 
141
        Shape {
 
142
         appearance Appearance {
 
143
          material Material2D {
 
144
           lineProps XLineProperties {
 
145
            lineColor 0 1 0
 
146
            lineStyle 3
 
147
            width 15
 
148
           }
 
149
          }
 
150
         }
 
151
         geometry USE LS
 
152
        }
 
153
        ]
 
154
        }
 
155
        Transform2D {
 
156
        translation 190 -30
 
157
        children [
 
158
        Shape {
 
159
         appearance USE TEXTAPP
 
160
         geometry Text {
 
161
          string ["lineStyle 3"]
 
162
          fontStyle USE FS
 
163
         }
 
164
        }
 
165
        ]
 
166
        }
 
167
    ]
 
168
}