previous next

Chapter 3: The Visualization Interface

This chapter explains how RealJukebox and a visualization plug-in use the visualization interface. The sample code included with this SDK illustrates many of the features described here. You can use the sample code as a starting point for building your own plug-in.

Using the Visualization Interface

Every visualization plug-in implements the IMPAVisualizationPlugin interface (as defined in impavisualization.h). This interface creates the visualization.

Before you begin, make copies of the sample files included in this kit.

To create a visualization plug-in:

  1. Update the SampleVisualizationPlugin.rc2 file, which contains the version information for your plug-in.

  2. Be sure you export the MPACreateVisualization function.

  3. Name the DLL with the .rpv extension.

  4. Copy the .rpv file to the C:\Program Files\Common Files\Real\Visualizations folder. Because RealJukebox regularly checks this directory, you can copy the file to this directory while RealJukebox is running.

Buffer Mode Rendering

Buffer mode rendering uses the following methods:

You can render into a different buffer, such as a DC using Windows or OpenGL functions, and then copy the bits back into the passed-in buffer if you want to use different APIs than those used for direct rendering. However, be aware that the additional memcpy operation can be detrimental to visualization performance.

Window Mode Rendering

Window mode rendering uses the following methods:


Copyright © 2000 RealNetworks
For information on RealNetworks' technical support, click here.
This file last updated on 09/14/00 at 17:21:33.
previous next