---
title: Panorama tracks in cubic nodes
framework: QuickTime File Format
role: article
role_heading: Article
path: quicktime-file-format/panorama_tracks_in_cubic_nodes
---

# Panorama tracks in cubic nodes

Specify special values in the pano sample data atom to provide compatibility back to QuickTime VR 2.2.

## Overview

Overview important: VR Media is deprecated in the QuickTime file format. The information that follows documents existing content containing VR Media and should not be used for new development. The media sample for a panorama track contains the pano sample atom container. For cubes, some of the fields in the pano sample data atom have special values, which provide compatibility back to QuickTime VR 2.2. The cubic projection engine ignores these fields. They allow one to view cubic movies in older versions of QuickTime VR using the cylindrical engine, although the view will be somewhat incorrect, and the top and bottom faces will not be visible. The special values are shown in the following table.  |   |   |   |   |   |   |   |   |   |   |   |  A 1 value in the flags field tells QuickTime VR 2.2 that the frames are not rotated. QuickTime VR 2.2 treats this as a four-frame horizontal cylinder. The panoType field (formerly reserved1) must be set to kQTVRCube ('cube') so that QuickTime VR 3.0 can recognize this panorama as a cube. Since certain viewing fields in the pano sample data atom are being used for backward compatibility, a new atom must be added to indicate the proper viewing parameters for the cubic image. This atom is the cubic view atom (atom type 'cuvw'). The data structure of the cubic view atom is as follows: struct QTVRCubicViewAtom {     Float32         minPan;     Float32         maxPan;     Float32         minTilt;     Float32         maxTilt;     Float32         minFieldOfView;     Float32         maxFieldOfView;       Float32         defaultPan;     Float32         defaultTilt;     Float32         defaultFieldOfView; }; typedef struct QTVRCubicViewAtom    QTVRCubicViewAtom; The fields are filled in as desired for the cubic image. This atom is ignored by older versions of QuickTime VR. Typical minimum and maximum field values are shown in the following table.  |   |   |   |   |   |   |  You add the cubic view atom to the pano sample atom container (after adding the pano sample data atom). Then use AddMediaSample to add the atom container to the panorama track.

## See Also

### Media data atom types

- [Sprite media](quicktime-file-format/sprite_media.md)
- [Sprite track properties](quicktime-file-format/sprite_track_properties.md)
- [Sprite track media format](quicktime-file-format/sprite_track_media_format.md)
- [Sprite media atom and data types](quicktime-file-format/sprite_media_atom_and_data_types.md)
- [Sprite button behaviors](quicktime-file-format/sprite_button_behaviors.md)
- [QT atom container description key](quicktime-file-format/qt_atom_container_description_key.md)
- [Sprite media handler track properties QT atom container format](quicktime-file-format/sprite_media_handler_track_properties_qt_atom_container_format.md)
- [Sprite media handler sample QT atom container formats](quicktime-file-format/sprite_media_handler_sample_qt_atom_container_formats.md)
- [Wired action grammar](quicktime-file-format/wired_action_grammar.md)
- [Tween media](quicktime-file-format/tween_media.md)
- [3D media](quicktime-file-format/3d_media.md)
- [VR media](quicktime-file-format/vr_media.md)
- [Node parent atom](quicktime-file-format/node_parent_atom.md)
- [Node location atom structure](quicktime-file-format/node_location_atom_structure.md)
- [Custom cursor atom](quicktime-file-format/custom_cursor_atom.md)
