Loading...

3D Effect on Android using the Orientation Sensor

5,948 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Uploaded on Apr 14, 2011

Neat little coding experiment to try to achieve a 3D effect on Android using the orientation sensor. Inspired by this video:
http://www.tuaw.com/2011/04/11/ipad-2...

Not all Android devices have front facing cameras, so I was wondering how well using the orientation sensor for this felt. You can't track the user's head, but you can track the orientation of the phone. This lets you turn the model when the phone is turned, as if it were a 3D object you were holding in your hands.

Source code used:
https://github.com/lnanek/rotate-with...
https://github.com/lnanek/rotate-with...

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...