[M4IF Technotes] 3D BIFS example

Jim Bowen jimbowen56 hotmail.com
Tue Feb 4 12:02:00 EST 2003


Hello all,
Does anyone have a sample of a BIFS/MP4 file that uses 3D nodes (e.g. 
Sphere, or cylinder) that will play in the Osmose player.
I have tried using the mp4tool to create such files, and don`t get any 
errors, but when I try to play them (in osmose or envivio) I just get a 
blank screen.
Below is a file that I tried to use to create a 3D - box,
Thanks in advance,
Jim
--------------------
Group {
  children [
     Shape {
      appearance Appearance {
	material Material {
	}
      }
      geometry Box {
	size 0.01 0.01 0.01
      }
    }
  ]
}
InitialObjectDescriptor
{
  objectDescriptorID  1
  ODProfileLevelIndication 1
  sceneProfileLevelIndication 1
  audioProfileLevelIndication 1
  visualProfileLevelIndication 1
  graphicsProfileLevelIndication 1
  esDescr [
    {
      ES_ID 2
      muxInfo {
       fileName small-view.bif
       streamFormat BIFS
       GroupID 2
      }
      decConfigDescr {
        streamType 3 ## BIFS
        bufferSizeDB 5000
        decSpecificInfo BIFSConfig {
         nodeIDbits 10
         routeIDbits 10
         isCommandStream TRUE
         pixelMetric TRUE
         pixelWidth 600
         pixelHeight 400
        }
      }
      slConfigDescr {
        timeStampResolution 1000
      }
    }
  ]
}
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


More information about the Mp4-tech mailing list