3D Cube

3.6 (13)

Education | 1.5MB

Description

Wireframe projection of a 3D cube using Android's 2D graphics primitives. The application projects the 3D co-ordinates of a Unit Cube, onto the 2D near plane using the principle of similar triangles. The cube is rotated using Euler angles, and the application should scale to different screen sizes. This application is not a game but a technical demonstration of how 3D points can be projected on to a 2D screen.
1.0 Initial Release
1.1 Updated code so that the cube will continue to rotate automatically after 2.5 seconds of inactivity.
1.2 Updated code to allow user to rotate 3D Model using touch events
The source code for this project can be found here: https://JohnCasey-admin@bitbucket.org/JohnCasey-admin/3d-graphics.git

Show More Less

Information

Updated:

Version:

Requires: Android 2.3 or later

Rate

Share by

You May Also Like