animation to surfaces

i have a problem

i want to move one nurbs surface with the mouse pointer

in openGL ,is there any concept of moving the object or surface with the mouse pointer.

with the mouse pointer i want to pick the surface and move .

thanku in advance
basha

OpenGL supports a selection buffer.

OpenGL has select type function to tell where your mouse has clicked.
But it is does not have a mouse point move command, you would have to write your own routine to have the mouse move the point on the nurb surface.

Originally posted by basha:
[b]i have a problem

i want to move one nurbs surface with the mouse pointer

in openGL ,is there any concept of moving the object or surface with the mouse pointer.

with the mouse pointer i want to pick the surface and move .

thanku in advance
basha[/b]