SDecK is a toolkit designed for 3D stereo displays.
SDecK is a toolkit designed for 3D stereo displays that contains
of utility classes and APIs to create 3D stereoscopic applications
using Openg GL ES 2.0 or higher.
This toolkit provides a set of base building-block classes that you
can build on top to create your own OpenGL ES based 3D stereoscopic
applications. Purpose is to provide simple base classes for developers
to extends from. Alternatively you can write your apps from scratch
if you like, without any need to use any or all parts of this SDK.
Create a org.sdeck.S3DConfig using the org.sdeck.S3DConfig.Builder class
and setting it up with your specific OpenGL environment.
Create the main org.sdeck.S3DKit using the above configuration object
and setting it up with your specific OpenGL environment. This class contains the
factory method to create Display object that you will
need to setup the 3D stereo display.
Create your surface view whether using Android's default GLSurfaceView
or your own custom implementation.
Create your renderer class which can extend from AbstractRenderer
for your convenience. NOTE: If you decide to use your own renderer implementation then you will
have to handle the two-camera viewports for stereo mode yourself, which can be done by using
the camera from the org.sdeck.S3DKit's
Implement the necessary abstract methods in your renderer and put the actual scene renderering
code in the org.sdeck.renderer.AbstractRenderer#drawFrame(float) method.
NOTE: Minimum supported version of OpenGL ES is 2.0 or above.
Following entires are required in AndroidManifest.xml: