Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

Preface
1Overview of the Pixel Bender Toolkit
Installing the Pixel Bender Toolkit
Contents of the Pixel Bender Toolkit package
Getting started
Samples
Pixel Bender Concepts
File formats
Kernel program parts
Built-in functions
Using Pixel Bender filters and effects
Developing for Photoshop
Developing for After Effects
Developing for Flash
2Getting Started
Becoming familiar with the Pixel Bender Toolkit IDE
Creating a new Pixel Bender kernel program
Edit and run the kernel program
Split the image channels
Change the filter operation to gamma
Add a parameter
Constrain the parameter
Final Source
3Writing Pixel Bender Filters
Parts of a kernel
Kernel metadata
Kernel members
Parameters and variables
The Pixel Bender coordinate system
Accessing pixel coordinates
Passing in coordinates
Input images and sampling
Non-square pixels
Multiple input images
Using dependent values
Hints and tips
Undefined results
Inexact floating-point arithmetic
Out-of-range output pixel values
Array sizes
Support functions
Example of region functions
Example of a support function
4Working with Regions
How Pixel Bender runs a kernel
Region reasoning in graphs
Defining regions
Adjusting image size to allow for edge calculations
Conservative region bounds
Computing the needed region
Accessing kernel parameters in the needed() function
Using the DOD to calculate the needed region
Computing the changed region
A more complex example
Computing the generated region
5Pixel Bender Graph Language
Graph elements
Simple graph example
Graph header
Graph metadata
Graph parameters
Image inputs and outputs
Embedded kernels
Nodes
Complete simple example
A complex graph
Defining the graph
Defining graph and kernel parameters
Defining multiple nodes
Defining complex connections
Complete complex example
Using the Graph Editor
6Metadata Hinting
Defining parameter metadata for a filter
Value constraint elements
Display string elements
Examples
Localizing display strings
Parameter type specialization element
Enumerated values
Distinguishing among multiple input images
Naming vector values
7Developing for After Effects
After Effects kernel metadata
Accessing 4-channel values
An example of convolution
Kernel parameters in After Effects
Expanded convolution kernel
Dependent functions
8Developing for Flash
Using the Flash preview feature in the Pixel Bender Toolkit
Embedding a Pixel Bender filter in a SWF
Making Pixel Bender filters into ActionScript libraries
Encapsulate a filter in an ActionScript class
Create the SWC library
Using Pixel Bender kernels as blends
0 of .
Results for:
No results containing your search query
P. 1
Pixel Bender Guide

Pixel Bender Guide

Ratings: (0)|Views: 46 |Likes:
Published by M_Eddie

More info:

Published by: M_Eddie on Aug 21, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/01/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 55 are not shown in this preview.
You're Reading a Free Preview
Pages 57 to 85 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->