Getting started with a 3d image rotation, help

Okay I have a series of photos (24) at 12 degree rotated intervals. Can someone point me in the direction to get started with a mouse event rotation of these images… Rough example of what I am looking to do is seen here: Jetta 360 View . I have some ideas, but nothing solid. Please any references and or tuts would be greatly appreciated. Thanks in advance…