I want to get a simple object(say, a triangle) to enlarge/shrink as it moves towards/away from the viewer respectively.

I dont want the viewer to move closer to/farther from the object. Rather, the object needs to move towards/away from the viewer. And the object size must change accordingly.

Can someone please give me just a summary of the sequence of opengles api calls I need to make?

I know glFrustum is somewhere in there, but somehow I feel I am not using the function correctly in my code. Either that, or I am missing out on some API calls.

Your help is really REALLY appreciated!