KC

09-29-2000, 05:28 PM

Hi!

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.

1) 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?

2) Do I use Arrays to store the vertices of the objects? glArrayElements()??? can anyone give examples... I'm new to opengl.

3) how do I pick one of the objects? and highlight them ?

4) AFter I pick a certain object and highlight it .. how do I perform transformation on it? (just on the chosen object)

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.

1) 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?

2) Do I use Arrays to store the vertices of the objects? glArrayElements()??? can anyone give examples... I'm new to opengl.

3) how do I pick one of the objects? and highlight them ?

4) AFter I pick a certain object and highlight it .. how do I perform transformation on it? (just on the chosen object)