Docs @ Psychtoolbox Wiki : AlphaImageDemo

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

AlphaImageDemo

PsychtoolboxPsychDemosAlphaImageDemo

AlphaImageDemo

Display a gaussian masked image, locked to the cursor position,
using the Screen('DrawTexture') command.

This illustrates an application of OpenGL Alpha blending by displaying
an image masked with a gaussian transparency mask.

In each frame, first the image is drawn. Then a texture acting as a
transparency mask is drawn "over" the image, leaving only selected
parts of the image.

Please note that we only use two textures: One holding the image,
the other defining the mask.

see also: PsychDemos, MovieDemo, DriftDemo




Path   Retrieve current version of AlphaImageDemo.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychDemos/AlphaImageDemo/AlphaImageDemo.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0413 seconds