I am trying to create a simple animation of a bottle that is lying on X-Y plane, that spins around z-axis, where X axis and Y axis are perpendicular to each other, and along the plane of your monitor, while Z - axis is the line coming out of the monitor towards you, and perpendicular to the surface of the monitor.
What I am trying to do is, create a simple animated image which shows such a spinning bottle.
How do I represent such a 3-d motion in an image? Which math equations apply to such rotation?
And in this example, the bottle is lying on X-Y plane, but what if it is not exactly along X-Y plane, but 'tilted' in such fashion? How should I represent such rotation?