QuickTime VR Application Programmatic Interface

Software developers are presented with sample code, programming snippets, problems to watch out for, new and kool uses of the QTVR API such as spatial sound handling, hot spot targeting, embedded QuickTime movies, and much more.

This section of QuickTime VR Demystified site will continue to grow with new and kool uses of the QTVR programmatic interface. Keep an eye out on this section for frequent updates to sample code and QTVR programming secrets.

All samples use Metrowerks CodeWarrior 11 as a development environment, though the code is portable to many other development environments. In most cases the final application is presented along with the sample code to provide a working model of the expected behaviors.

Getting to Know The QTVR 2.0 API

 

April 6, 1997
Targeting Computer 1.0b1:
 
81k Targeting_1.0b1.hqx
 
Updated source file (qtvrsupp.c) and a rebuilt version of the QTVRSamplePlayer application that comes with the QTVR 2.0 SDK. The changed code adds a floating targeting recticle over all visible hot spots.
 
qtvrsupp.c is where all of the additions were made. Added a TargetImagingCompleteProc for a QTVRSetPrescreenImagingCompleteProc which simulates a hot spot targetting computer by placing floating target recticles over all visible hot spots.
 
See "About QTVRSamplePlayer" (provided with QTVRSamplePlayer in the QTVR 2.0 SDK) for more information about the QTVRSamplePlayer on which this is based.
 
by Quinn@OutsideTheLines.com
4/6/97

 

April 5, 1997
Resize Controller 1.0b1:
 
70K Resize_box_1.0b1.hqx
 
Updated source files (qtmovies.c, qtmovies.h, and init.c) and a rebuilt version of the QTVRSamplePlayer application that comes with the QTVR 2.0 SDK. The changed code adds a resize box to the movie window/controller.

qtmovies.c is where the main additions were made. The changes consist of a QuickTime call to register a controller call back proc. The call back proc that was added looks for a resize command and resizes the window and movie.

 
See "About QTVRSamplePlayer" (provided with QTVRSamplePlayer in the QTVR 2.0 SDK) for more information about the QTVRSamplePlayer on which this is based.
 
by Quinn@OutsideTheLines.com
4/5/97

 

April 3, 1997
QTVR_SPU "Spatial Sound" 1.0b2:
 
80K QuinnRKG_QTVR2.0_SPU_1.0b2.hqx
 
Updated source files (qtvrsupp.c and qtvrtypes.h) and a rebuilt version of the QTVRSamplePlayer application that comes with the QTVR 2.0 SDK; provides for 'directional sound' via volume fading and stereo panning for an embedded QT movie in a panorama.
 
See qtvrsupp.c for more information on techniques and limitations.
 
See "About QTVRSamplePlayer" (provided with QTVRSamplePlayer in the QTVR 2.0 SDK) for more information about the QTVRSamplePlayer on which this is based.
 
by Quinn@rkg.com
4/3/97

 


Home - www.OutsideTheLines.com

 

Questions or comments about this site should be directed to:

SiteGuy@OutsideTheLines.com
Copyright © 1997 Concepts In Motion