justingardner / mgl

A suite of mex/m files for displaying psychophysics stimuli
http://justingardner.net/mgl
Other
18 stars 22 forks source link

mglFrameGrab #85

Open elimerriam opened 1 year ago

elimerriam commented 1 year ago

mglFrameGrab does not work with mglMetal. Specially, the version currently in the metal repo is the openGL version. We think that Ben did update mglFrameGrab, not sure why it's not in the metal branch.

justingardner commented 1 year ago

Eli - I've implemented this functionality. Can you test? A few things:

1) I moved metal into the master branch - as this should now be the default mgl unless one wants to use an old version (in which case they can checkout by changing the branch to v2_0). So, you will need to switch to master: git checkout master and then pull the changes 2) Run the code in the help for mglFrameGrab - it should display in a Matlab window some dots with the words Frame Grab in the middle. 3) Try the pRF code and see if it gets the stimulus correctly now?

Thx.

-j.