Android 3D App
Information: Java, OpenGL ES & NDK
Download the free Android app, 3D Views
.Within the app, swipe to view three dimensional scenes. Tap the scene to switch backgrounds including islands in the ocean, a light house, art gallery and grid. The 3D grid view helps developers.Implementation is based on the book, 3D Scenes: Learn WebGL Book 3
, on Amazon.
Code
3D Views
combines Java, OpenGL ES, Photoshop graphics and 3ds Max renderingsto display interactive scenes. Hopefully the free source code helps developers to connect the features.
3D Views
The simple 3D Views
Android application was ported from pure WebGL code to Java and OpenGL ES.The Kindle book, 3D Scenes: Learn WebGL Book 3
, explains how to preparethree dimensional environments, provided the concept and psuedo code for 3D Views
.
Graphics Preparation
I used a few different approaches to image processing.The graphics were prepared with either 3ds Max or a set of photographs, composed with Photoshop,rendered with WebGL, then later rendered with Java and OpenGL ES.
3D Scenes: Learn WebGL Book 3
3D Scenes: Learn WebGL Book 3
explains how to display
background environments with a very simple cube technique.
Learn how to render scenes with the most
basic shaders and one texture map.
This method avoids skyboxes, switching programs, changing textures, and
even leaves room in the environment's texture map
for other mesh elements.
You'll also learn to prepare graphics to work with the code,
for efficient 3D backdrops.
Simple Scenes
The simple scenes, described in this book, use a unique, fast method to display 3D environments with WebGL. Learn how to prepare, load, initialize, and display backgrounds which apply a texture from an image file, to the inside of a cube. View the environment from the center of the cube. The streamlined technique allows code to run well on WebGL enabled mobile devices and Web browsers including Android, iPhone and PCs.
The first scene displays a grid with labeled walls, for help during development. Scenes also include a 3D art gallery, a modified photograph of the Storforsen rapids, and a cheerful 3D rendered island scene surrounded by ocean.