psychtoolbox

How to magnify/stretch a texture with Matlab Psychtoolbox (OpenGL)?

Update: This only seems to be a problem at some computers. The normal, intuitive code seems to work fine one my home computer, but the computer at work has trouble. Home computer: (no problems) Windows XP Professional SP3 AMD Athlon 64 X2 3800+ Dual Core 2.0 GHz NVIDIA GeForce 7800 GT 2 GB RAM Work computer: (this question applies t...

keyboard button number in Psychtoolbox - matlab

Hi I am looking for a table that will give me the number of the button (device number) so I could use KbCheck in matalb psychtoolbox. I am working with PTB-3 and windows XP Thnak you Ariel ...

Accelerating wheel - psychtoolbox in MATLAB

I am trying to write a code that will show an accelerating wheel. As long as the user presses 'a' the wheel should accelerate counterclockwise. The thing is that it turns in the right direction but it doesn't accelerate. This is the code I am using (in PTB-3 and Windows XP): img=imread('c:\images.jpg'); [yimg,ximg,z]=size(img); rot_...