In this article, you'll add a type of interactivity that animates a Pixel Bender filter to correspond to changing mouse positions.
This is the eighth installment in this series of articles about using the Pixel Bender Toolkit to create visual effects with bitmap images. In the previous section, you learned how to update the displacement filter to enable it to move in all directions. You also updated the parameters to make the displacement filter effect more dramatic when you moved the slider controls.
In this section, you'll update the ActionScript code in the Flash file to control the displacement filter
parameter with changing positions of the mouse.
Setting up the files
Before you begin, if you'd like to continue experimenting with the previous version of the project, you can add a second slider to control the float2
parameter that you just added to the Displacement filter. That process is fairly straightforward and it is always a good idea to practice when learning a new concept.
In this part of the series, we'll discuss adding another type of interactivity to control the filter effect; this time you'll track the placement of the cursor and use it to animate the displacement filter.
Before updating the ActionScript, set the file up in Flash in preparation for the code edits. Follow these steps:
- Launch Flash CS4 (or make it active if it is already open).
- Open the file named Exercise5.fla from the pixel_bender folder on your desktop.
(If you are just beginning to follow along with this section and didn't complete the files in the previous parts of this series, download the sample files provided. Uncompress the ZIP file and save the contents into a folder named pixel_bender that you create on your desktop. Open the file named exercise8A.fla to begin following along at this point.)
- When you open the FLA file, you'll see a flower image and a slider control on the Stage.
- Choose Window > Actions to open the Actions panel (if it is not already open). Alternatively, expand the panel if it was open but collapsed.
- Select Frame 1 in the Timeline and review the code in the Script window. It should look similar to the ActionScript shown below:
相关推荐
Pixel Bender Toolkit2.5-part2
Pixel Bender Toolkit2.5
基于Flash 的 Pixel Bender 基础
Adobe Pixel Bender Example 之 网格效果
Pixel Bender basics for Flex and AIR -- Sample files
Reference and documentation Pixel Bender Language Reference (PDF) Pixel Bender Developer's Guide (PDF)
Aescripts Pixel Bender Kernel Accelerator Mac破解版是一款可以在苹果电脑中使用的AE调用PBK文件插件,可以在AE中快速调用PBK文件来加速效果制作等,支持CS5 – CC2017版本使用,欢迎有需要的朋友们前来下载使用。...
Pixel Bender Toolkit 高效像素及碰撞类
Samples about how to use Adobe Pixel Bender technology from ActionScript
dsfsdfsdfsdfsdfsfsdfsdfsdafsdafsadf
Erich Bender Mass moments and graph chart AERO 463/464 Senior Project Mass Moments of Inertia and Stability Chart Reference frame: The moments of inertia will be calculated along a body frame ...
The Bender Gestalt Test: A review of reported research with school-age subjects, 1966-1977 Peabody Picture Vocabulary Test 327 PAYNE, J. S., BALL, D. W., & STAINBACK, W. C. Note on reliability and...
The bender gestalt and the Mexican American student: A report T H E BENDER GESTALT AND T H E MEXICAN AMERICAN STUDENT: A REPORT GEORGE GILRIORE, JEAN CHANDY, AND THOMAS ANDERSON The University ...
最初的mit的walter bender关于拼凑算法的文章。
The Koppitz developmental scoring system for the Bender-Gestalt: Is it developmental? Prychology in the Schools Volume 2 / , Ocroher. 1984 THE KOPPITZ DEVELOPMENTAL SCORING SYSTEM IS IT ...
The question of the comparability of the WISC and WISC-R: Review of the research and implications for school psychologists 260 Psychology in the ...The Bender Gestalt with children: Research implicat
Recognition and reproduction of Bender-Gestalt figures: A developmental study of the lag between perception and performance RECOGNITION AND REPRODUCTION A DEVELOPMENTAL STUDY OF THE LAG BETWEEN ...
ie=UTF8&qid=1404808039&sr=1-1&keywords=professional+test+driven+development+with+c
二摘代码MATLAB 变形对象的建模与控制 Matlab版本:2018b要安装的附加组件: Simscape Simscape多体6.0; Matlab代码中的Simscape Multibody; Simscape多体多物理场库;...Multibody中的柔性人体模型;...
pixelbender的语言介绍,英文版