Hm, well, I guess that does work, but then I have to figure out for myself what pixels need to be changed. I would rather like to just call some OpenGL-/GLUT functions like glutDrawSolidSphere() etc. Then I only have to worry about position, orientation and size of the cube - not as low-level as changing pixels.
Thanks, anyway!
Torbjørn