Adding Custom Effects Or Transitions - PRG MBOX User Manual

Hide thumbs Also See for MBOX:
Table of Contents

Advertisement

Adding Custom Effects or Transitions

Mbox provides the ability for users to add their own effects and transitions or to make modified versions of existing
built-in effects and transitions. This process is quite complex and the following information only outlines the process.
Modifying existing effects/transitions or create new custom effects should not be attempted without first talking to a PRG
representative for further instruction.
The Mbox software can access new Image Units placed in the /Library/Graphics/Image Units folder. In addition to
placing Image Units into the folder, a file must be created to define the parameters of the effect. The file enables Mbox
to use these Image Units properly. These definition files are saved in the standard Apple Property List format, but with
special file extensions instead of the typical .plist file extension. For effects, the file extension is ".txfx" (texture effect),
and for transitions, the file extension is ".txtx" (texture transition).
Creating a working Image Unit (the basis of effects and transitions) is far harder than generating the definition file and this
manual will not go into the process of creating an Image Unit. Contact
MboxSupport@prg.com
for more information on
this process.
It is much easier to create modified versions of existing effects and transitions. In order to do this, knowledge of the
input structure of the Image Unit is required. The easiest way to do this is to look at the existing txfx or txtx file that
dictates how the built-in Image Unit's input structure is set up. Parameters in the existing file can be modified and the
results saved as a new version (with a unique effect or transition number) for use with Mbox.
Example 1: Modifying the character string in the ASCII Art effect
For the ASCII Art effect, a rectangular group of pixels in the original image are sampled, and based on the averaged
luminance of the sample, the pixels are replaced by one of twelve characters from a string. The darkest sampled areas
are replaced by the first character in the string, and as the sampled areas get brighter, they are replaced by characters
further to the right in the string.
The string is made up of the default characters - space, period, and the numbers 0 through 9 - " .123456789". In the
illustrations below, the original movie is on the left, and the movie with the unmodified ASCII Art effect is on the right:
The twelve different characters in the string are supposed to represent progressively brighter areas, are doing so by
increasing the numerical value of the character. But what is that isn't the right look, and instead the characters should
cover more screen area rather than increase in value. To accomplish that, the string should be modified to be something
like " .!-+*oO0@$#" instead.
MBOX® USER MANUAL
112

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents