Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a 360 degrees image turntable viewcontroller?

Tags:

ios

image

iphone

I want to create a 360 degree turntable showing lots of pictures (12, 24 or 36) by controlling that rotation with touch events (like that example but coded for an iOS app natively).

The simplest idea depending on the touch position is to load that specific uiimage. Any ideas what's the best practice for that? Is there a chance to create that image-turntable with the help of coreanimation faster? Any other hints on that? Any other projects known where I can get some help on that?

Thanks for your time and hints in the right direction.

Here's another example for an ipad-app from the "audi a8".

like image 443
geforce Avatar asked May 21 '26 16:05

geforce


1 Answers

From the first example it becomes obvious that the objects have actually been photographed for each angle of rotation. This is the really tricky part. You will need a tripod and a camera with remote control, and if possible also a rotational platter to keep angles consistent.

Implementation is relatively straightforward. As you guessed, you just track the touch positions and, depending on delta to the last touch position, show the appropriate image.

like image 112
fzwo Avatar answered May 24 '26 04:05

fzwo