I want to draw 2 or more objects ( lets say a cube and a pyramid)in one viewport. I would be performing transformations (translate, rotate, scaling) on either or both of the objects.
HOw do I implement this such that I can transform/animate only one of the objects and the other one(s) remain in their original position?
Do I use Arrays to store the vertices of the objects? glArrayElements()??? can anyone give examples… I’m new to opengl.
how do I pick one of the objects? and highlight them ?
AFter I pick a certain object and highlight it … how do I perform transformation on it? (just on the chosen object)