HI,
I'm a beginner of psychotoolbox. In my multiple-object-tracking
experiment, I need to draw multiple squares on the screen and make
them move smoothly on every frame (for a demo, please see
http://www.yale.edu/perception/Brian/demos/MOT-Basics.html).
Currently, I'm using the 'Screen('FillRect') ...)' function to draw
squares. It works pretty good when the number of squares is smaller
than 12. However, when the number of objects exceeds 12, the displays
slow down and are not smooth any more. It seems that within the
duration of a single frame (less than 20 ms), matlab on my computer
can not finish drawing more than 12 objects.
I'm wondering if there is any way to conquer this limitation. For
instance, instead of drawing 12 new squares during every frame,let
matlab draws 12 objects off-line and just put them into different
spatial locations. However, as a beginner of psychotoolbox, I can not
solve this problem myself. It will be great if someone around here can
give me some suggestions.
Thanks in advance!
Tao
I'm a beginner of psychotoolbox. In my multiple-object-tracking
experiment, I need to draw multiple squares on the screen and make
them move smoothly on every frame (for a demo, please see
http://www.yale.edu/perception/Brian/demos/MOT-Basics.html).
Currently, I'm using the 'Screen('FillRect') ...)' function to draw
squares. It works pretty good when the number of squares is smaller
than 12. However, when the number of objects exceeds 12, the displays
slow down and are not smooth any more. It seems that within the
duration of a single frame (less than 20 ms), matlab on my computer
can not finish drawing more than 12 objects.
I'm wondering if there is any way to conquer this limitation. For
instance, instead of drawing 12 new squares during every frame,let
matlab draws 12 objects off-line and just put them into different
spatial locations. However, as a beginner of psychotoolbox, I can not
solve this problem myself. It will be great if someone around here can
give me some suggestions.
Thanks in advance!
Tao