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

« back to all changes in this revision

Viewing changes to regression_tests/bifs-3D-positioning-transform.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 true
 
17
                                  pixelWidth 200
 
18
                                  pixelHeight 200
 
19
                                }
 
20
      }
 
21
    }
 
22
  ]
 
23
}
 
24
 
 
25
Group { 
 
26
 children [
 
27
 
 
28
  WorldInfo {
 
29
   title "Transform test"
 
30
   info ["This shows 3D transform on a box" "using DEF/USE and oriented scaling" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
31
  }
 
32
 
 
33
  DEF TR Transform {
 
34
        translation -50 0 0
 
35
        children [
 
36
     Shape {
 
37
        appearance Appearance {
 
38
                material DEF MAT Material {
 
39
                        diffuseColor 1 1 0
 
40
                }
 
41
        }
 
42
      geometry Box {size 50 50 50}
 
43
     }
 
44
    ]
 
45
  }
 
46
  DEF TS TimeSensor { cycleInterval 2.0 loop TRUE }
 
47
  DEF OI OrientationInterpolator  {
 
48
        key [0 0.5 1]
 
49
        keyValue [1 1 1 0, 1 1 1 3.14, 1 1 1 6.26]
 
50
        }
 
51
  Transform {
 
52
        translation 100 0 0
 
53
        scale 0.5 0.5 1
 
54
        scaleOrientation 1 0 0 0.2
 
55
        children [
 
56
                USE TR
 
57
        ]
 
58
                
 
59
  }
 
60
 ]
 
61
}
 
62
 
 
63
ROUTE TS.fraction_changed TO OI.set_fraction
 
64
ROUTE OI.value_changed TO TR.rotation