glut and opengl

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.

i see an example thad do this with glut i’m trust that is possible also in opengl or no?

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