i pick on the screen one object . How can i translate only the specific object and not all the objects ?
>> How can i translate only the specific object and not all the objects ?
use glTranslate , then draw your object where ever u want , use glLoadIdentity and then draw other objects
glPushMatrix();
glTranslatef(x,y,z);
//draw your object
glPopMatrix();