|
|
Tutorial: RealSystem G2 & SMILBy Scott Clark Part 3
The process only takes a second, and then you're ready to move on to the next step, creating the RealPix file. You can use almost any text editor to create the RealPix file...I use my old trusty NoteTab Pro, the same tool I use for editing HTML pages. To learn how to create the RealPix file, I referred to RealNetwork's RealPix Content Creation Guide. The guide is thorough, but it can still is a bit confusing...so I'll try to enlighten you as we go through the process.
The RealPix File Before getting into the rest of the RealPix file, you'll need to consider if you'll be using an audio track along with the images. If so, it is at this point that you'll want to play the audio track and note (in seconds) at which point you want the images to be presented. This will greatly help you later in the creation process. Assuming you have your timeline planned, the next step is to include your images in the RealPix file, using the following code:
<imfl>
<image handle="1" name="overlook.jpg"/>
<image handle="2" name="shroud.jpg"/>
</imfl>
At this point, you could save the file (with a .rp extension), and view it within your G2 Player, but you wouldn't see much. That's because you haven't established your timeline in the RealPix file, nor have you indicated how to notate the time. You do that in the head section of the file:
<head width="256" height="192" start="0" duration="32" timeformat="dd:hh:mm:ss.xyz"/>The head section above (which is to be located at the very top of the file, just under the imfl tag) tells the G2 Player the size of the presentation window, when to start it, the duration of it, and what format time is notated with. It is also the place to list the author, title and any copyright information for the presentation. The file will now run as is, but you still wouldn't be too impressed. You need to indicate which file is to be shown first, how long it should be shown, etc. You can choose to first show a colored background which fades in, or you can just fade the image in, or you could swipe the image in on top of the background color...the possibilities are only limited by your imagination. These transition effects are quite easy for the developer to produce, as they are an extensible part of the RealPix render plug-in--the hard work's already been done!
[Move on to the next part of the article.]
This article first appeared in May, 1998.
Contact the WebDeveloper.com staff Last modified: 20
|
Refresh Daily
|