Nonstandard cubes
An atom you add to the pano sample atom container to specify cubes other than six square faces.
Overview
Although the default representation for a cubic panorama is that of six square faces of a cube, it is possible to depart from this standard representation. When doing so, a new atom must be added to the pano sample atom container. The atom type is 'cufa'. The atom is an array of data structures of type QTVRCubicFaceData. Each entry in the array describes one face of whatever polyhedron is being defined. QTVRCubicFaceData is defined as follows:
struct QTVRCubicFaceData {
float orientation[4];
float center[2];
float aspect;
float skew;
};
typedef struct QTVRCubicFaceData QTVRCubicFaceData;The mathematical explanation of these data structures is beyond the scope of this content. The following table shows what values QuickTime VR uses for the default representation of six square sides.
Orien- tation | Orien- tation | Orien- tation | Orien- tation | Center | Center | Aspect | Skew | Side |
|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
| # front |
|
|
|
|
|
|
|
| # right |
|
|
|
|
|
|
|
| # back |
|
|
|
|
|
|
|
| # left |
|
|
|
|
|
|
|
| # top |
|
|
|
|
|
|
|
| # bottom |
See Also
Media data atom types
Sprite mediaSprite track propertiesSprite track media formatSprite media atom and data typesSprite button behaviorsQT atom container description keySprite media handler track properties QT atom container formatSprite media handler sample QT atom container formatsWired action grammarTween media3D mediaVR mediaNode parent atomNode location atom structureCustom cursor atom