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

« back to all changes in this revision

Viewing changes to regression_tests/bifs-3D-interactivity-proximitysensor.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
  WorldInfo {
 
29
   title "ProximitySensor test"
 
30
   info ["This shows a ProximitySensor" "exercising isActive event" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
31
  }
 
32
  Viewpoint {position 0 0 10}
 
33
  DEF Box Transform {
 
34
   children [
 
35
    DEF PS ProximitySensor {
 
36
     center 0 0 0
 
37
     size 8 8 8
 
38
    }
 
39
    Shape {
 
40
     appearance Appearance {
 
41
      material DEF M1 Material {
 
42
       diffuseColor 1 0 0
 
43
      }
 
44
     }
 
45
     geometry Box {
 
46
      size 2 2 2
 
47
     }
 
48
    }
 
49
   ]
 
50
  }
 
51
 
 
52
 
 
53
  DEF TS TimeSensor {
 
54
   cycleInterval 5.0  
 
55
   loop TRUE
 
56
   startTime -1
 
57
  }  
 
58
 
 
59
  DEF Animation OrientationInterpolator {
 
60
   key   [0.0,
 
61
        0.20,
 
62
        0.40,
 
63
        0.60,
 
64
        0.80,
 
65
        1.0]
 
66
   keyValue [0 1 0 0,
 
67
        0 1 0 1.57079,
 
68
        0 1 0 3.14159,
 
69
        0 1 0 4.71238,
 
70
        0 1 0 5.52456,
 
71
        0 1 0 6.28318]
 
72
  }
 
73
 ]
 
74
}
 
75
 
 
76
ROUTE PS.enterTime TO TS.startTime
 
77
ROUTE PS.exitTime TO TS.stopTime
 
78
 
 
79
ROUTE TS.fraction_changed TO Animation.set_fraction
 
80
ROUTE Animation.value_changed TO Box.rotation