I am currently in the phase of constructing an 3D polyhedron object using random dot stereogram using PTB and OpenGL, and encountered some problems that I hope someone in the forum could help me to answer.
To construct the polyhedron, I used OpenGL's commands GL.QUADS and other 2D surfaces. Once the actual object is constructed, I just need to use random dots to display it. I looked at various demos from PTB, including the FDF, and DrawDots3D demos. With the moglFDF function, I tried to pass the constructed object as a list (consisted of over 20 surfaces) to the function, but the function cannot display the polyhedron as it would for the rotating sphere in the demo. With PTB's build-in DrawDots function, I simply don't know how to make the configuration of the dots to reflect the underlying geometry that I constructed using OpenGL.
Anyone who had similar experience and can provide any form of suggestions would be greatly appreciated!