   opengl and opencv
  Hy.I'm trying to visualize in opengl window the image grabbed from my webcam.I see it it's not so hard with opencv.I know the teory , i must use a 2d plane with a texture that is the grabbed image.My problem is:How i draw some 3d object on the plane?If the texture plane occupy all the window size where i can draw my solid object , for appear before the textured plane?ps i see an example thad do this with glut i'm trust that is possible also in opengl or no?thanks.   
  GLUT uses OpenGL, so, yes.   ;  GLUT is a framework. It creates a window so that you can do your GL drawing on it. Some other basics like fullscreen window, keyboard and mouse and joystick handling are in there as well.You can use other things if you want : freeGLUT, SDL, FTK, QT, your own X code (for Linux and the like), your own win32 code (for Windows), your own Mac code, etc.   ;  Thanks.The problem is that i use a 3d engine for opengl(wild magic 4).IS posiible to integrate the engine that create opengl windows and draw in openg with glut?i can change the creation of opengl window with glut creation of opengl window and continue to use the gl drawing?I use opengl cg shader in my program is compatible with glut?thanks   ;  Seems you're confused. GLUT just creates a window, a GL context associated to that window, and starts an event loop. The Wildmagic4 engine probably does the same and more.The drawing is still made with GL, just that GLUT and others on only provide an abstraction to the windowing system.Cg has nothing to do with glut, but with GL.   