Hi, I'm Chungmin Han,
--
graduate research assistant in Univ of Texas at Austin,
I'm composing experimental setup that presents visual stimuli inside the mri scanner,
and I need 3D anaglyphic dots having inward-outward, both linear flow in horizontal and vertical
direction,
I've modified DrawDots3DDemo.m provided by PTB, but the shader is compiled as taking xyz vector as speed instead of position, but I need dots to change size in terms of the distance to the observer,
code attached is 3D dots flowing inward-outward, Not using shading, size changes in terms of distance, but it seems like as I increase the number of dots, the computer seems to miss the time stamps, like 382 out of 386.
I need exact timeframe in order to analyze fmri data, how should I improve my code?
and I was looking into modifying the shader file (.vert format) but for this, it seems that I need to
know certain amount of openGL provided structures and internal functions, eventually I will have to
look into that, but before that, I would hugely appreciate expert's advice on this.
Thanks for reading
Best Regards,
Chungmin
Chungmin Han
Graduate Research Assistant
The University of Texas at Austin
204 E. Dean Keeton St
ETC 4.134 Rewire lab
Austin TX 78712