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

« back to all changes in this revision

Viewing changes to regression_tests/bifs-3D-interactivity-visibilitysensor.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
  ODProfileLevelIndication 0xFF
 
4
  sceneProfileLevelIndication 0xFE
 
5
  audioProfileLevelIndication 0xFF
 
6
  visualProfileLevelIndication 0xFF
 
7
  graphicsProfileLevelIndication 0xFE
 
8
 
 
9
  esdescr [
 
10
    ES_Descriptor {
 
11
      es_id 1
 
12
      decConfigDescr DecoderConfigDescriptor {
 
13
                                streamType 3
 
14
                                decSpecificInfo BIFSConfig {
 
15
                                  isCommandStream true
 
16
                                  pixelMetric false
 
17
                                  pixelWidth 400
 
18
                                  pixelHeight 300
 
19
                                }
 
20
      }
 
21
    }
 
22
  ]
 
23
}
 
24
 
 
25
Group {
 
26
 children [
 
27
        
 
28
  Viewpoint {position 0 0 10}
 
29
 
 
30
  WorldInfo {
 
31
   title "VisibilitySensor test"
 
32
   info ["This shows a VisibiliitySensor" "controling spinning of a cube" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
33
  }
 
34
 
 
35
 
 
36
  Transform {
 
37
        translation 10 0 0
 
38
   children [
 
39
  DEF PS VisibilitySensor {
 
40
   center 0 0 0
 
41
   size 8 8 8
 
42
  }
 
43
    Shape {
 
44
     appearance Appearance {
 
45
      material Material {
 
46
       diffuseColor 1 1 0
 
47
      }
 
48
     }
 
49
     geometry Box {
 
50
      size 8 8 8
 
51
     }
 
52
    }
 
53
   ]
 
54
  }
 
55
 
 
56
 
 
57
  DEF Box Transform {
 
58
   children [
 
59
    Shape {
 
60
     appearance Appearance {
 
61
      material DEF M1 Material {
 
62
       diffuseColor 1 0 0
 
63
      }
 
64
     }
 
65
     geometry Box {
 
66
      size 2 2 2
 
67
     }
 
68
    }
 
69
   ]
 
70
  }
 
71
 
 
72
 
 
73
  DEF TS TimeSensor {
 
74
   cycleInterval 5.0  
 
75
   loop TRUE
 
76
   startTime -1
 
77
  }  
 
78
 
 
79
  DEF Animation OrientationInterpolator {
 
80
   key   [0.0,
 
81
        0.20,
 
82
        0.40,
 
83
        0.60,
 
84
        0.80,
 
85
        1.0]
 
86
   keyValue [0 1 0 0,
 
87
        0 1 0 1.57079,
 
88
        0 1 0 3.14159,
 
89
        0 1 0 4.71238,
 
90
        0 1 0 5.52456,
 
91
        0 1 0 6.28318]
 
92
  }
 
93
 ]
 
94
}
 
95
 
 
96
ROUTE PS.enterTime TO TS.startTime
 
97
ROUTE PS.exitTime TO TS.stopTime
 
98
 
 
99
ROUTE TS.fraction_changed TO Animation.set_fraction
 
100
ROUTE Animation.value_changed TO Box.rotation