I would like to program a 3D representation of a carousel of photo images. Anyone know where I can find the mathematical formulas for that? The carousel is rotating about a central axis, obviously, but you also have to make each individual photo (or slide) rotate about its axis in a way that is dependent on the rotation of the carousel.

Picture of a classic slide carousel:

http://images.google.com/imgres?imgu...%3Den%26sa%3DN

Any help would be appreciated. Thanks.