PDA

View Full Version : drag and place in OpenGL



adityask
03-06-2002, 07:35 PM
hello,
Can we drag and place 2D/3D objects in OpenGL
using Visual C++ MFC ?
if so, which function and how ?

Rob The Bloke
03-06-2002, 07:46 PM
yes, you've just got to write the code to do it. OpenGL has no concept of what you want to do with it, it just draws polygons!

nexusone
03-07-2002, 05:33 AM
Yes, you can drap and place objects in MSVC++.

But there is no drag and place function per say, you do this by using other GL and GLUT functions together you can create a drag and place function.


Originally posted by adityask:
hello,
Can we drag and place 2D/3D objects in OpenGL
using Visual C++ MFC ?
if so, which function and how ?

J P
03-09-2002, 04:46 AM
There is a simple MFC example of how to do this at:
http://www.mfcogl.com/

see Drag & Drop