Docs @ Psychtoolbox Wiki : AlphaRotateDemo

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

AlphaRotateDemo

PsychtoolboxPsychDemos

AlphaRotateDemo(numFrames, ifis)

numFrames Number of grating textures to use for the drifting grating...

ifis = Number of monitor refreshes to wait between drawing single
textures...


OS X


Display a rotating grating using the new Screen('DrawTexture') command.
In the OS X Psychtoolbox Screen('DrawTexture') replaces
Screen('CopyWindow').

This illustrates an application of Alpha blending by masking the rotating
grating with a gaussian transparency mask.

In each frame, first the grating is drawn. Then a texture acting as a
transparency mask is drawn "over" the grating, masking out selected
parts of the grating.


see also: PsychDemos, MovieDemo




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


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