Perspective Movements of objects

I’am looking for a sourcecode which demonstrates the movement of an object in z direction with perspective effekt (object gets bigger when nearer and smaller when far away).

Any hints, links, or tutorials? Thanks.

hint: draw some points close, then draw some far away.

This will Just Work if you have a non-orthographic “camera”. Read up on setting up the camera in the Redbook.