What would you think would be the best and easiest way to draw points to a window in opengl. I need the points to be draw when the MouseMotionFunc Callback is called by GLUT. Then I trap all the pixels, for later use. But I also want the canvas to be drawn in retained mode, allowing anything draw to the canvas to stay there. I’ve tried display lists with minimal results. Is there anything else I can do.
Ok. I tried something similar. It worked. I had to draw points and then draw lines connecting points in sequence, to give it the scribble effect. If i just drew points, it would miss drawing pixels occasionally.