Custom dynamic stimulus

mhisted's Avatar

mhisted

13 Jun, 2018 01:47 PM

Hi Chris,

I have a short question. We want to build a dynamic stimulus, similar to the drifting grating or moving dot stimulus.
What is the latest model stimulus plugin that we should work from and modify? And is OpenGL still the approach of choice in MWorks for doing this?

thanks,
Mark

  1. Support Staff 1 Posted by Christopher Sta... on 13 Jun, 2018 02:16 PM

    Christopher Stawarz's Avatar

    Hi Mark,

    We want to build a dynamic stimulus, similar to the drifting grating or moving dot stimulus. What is the latest model stimulus plugin that we should work from and modify?

    The current versions of the drifting grating and moving dots are both decent starting points. The drifting grating inherits from ColoredTransformStimulus (and thereby BasicTransformStimulus), so if you want to include the same basic parameters for position, size, color, etc. that those bases provide, it's probably your best bet. However, the moving dots stimulus is a bit simpler and maybe easier to understand.

    And is OpenGL still the approach of choice in MWorks for doing this?

    Yes, specifically OpenGL 3.3 Core Profile (and OpenGL ES 3.0 on iOS).

    However, how long this will remain the case is a bit uncertain. As of the next releases of macOS and iOS, Apple is officially deprecating OpenGL. At some point in the future, we'll need to transition to Metal (or a portable API built on top of it). Exactly when isn't clear.

    Cheers,
    Chris

  2. 2 Posted by mhisted on 19 Jun, 2018 04:34 PM

    mhisted's Avatar

    Ok, thank you. We're going to look at this in the next two weeks and get back to you.

    Mark

  3. Christopher Stawarz closed this discussion on 24 Jul, 2018 01:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac