DanRRight
Joined: 10 Mar 2008 Posts: 2815 Location: South Pole, Antarctica
|
Posted: Fri Oct 29, 2010 12:42 pm Post subject: Best way select and move 3D object in OpenGL with the mouse? |
|
|
Can anyone post simple sample how to select (say, with the mouse left button) some specific object (for simplicity, a sphere) out of two others and move it with mouse from one location (x1,y1,z1) to another defined location (x2,y2,z2) ?
Do you know utilities in OpenGL which (like GET_RGB_VALUE@ in 2D graphics) allow to get the color of the pixel in OpenGL screen? |
|