This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

S3D Library for MasterImage demo kit

Other Parts Discussed in Thread: 4430

We have an Android-based demo device from MasterImage that contains their parallax barrier S3D display powered by an OMAP 4430 processor. It is running Android 4.0.3. We are lacking a software library to drive the display properly in stereoscopic 3D mode using OpenGL ES 2.0. We have managed to get the display into S3D mode by writing directly to /dev/mi3d_tn_ctrl but we cannot currently render to the right buffer to produce a stereoscopic effect. What is the appropriate software library that we should be using with this device?

  • I have attached TI's S3D Android SDK add-on package.

    You will need to unzip the package and add it to the Android SDK add-ons folder, for example in linux:
    <...>/android-sdk-linux_x86/add-ons/addon-s3d-ti

    The documentation is included in the package, nevertheless here is a summary:

    S3DView provides a mechanism to inform the surface composer (SurfaceFlinger) that stereoscopic content is being rendered unto a surface. Note this package does not provide any automatic conversion of monoscopic content. The stereo content creation is up to the application itself.

    Currently S3DView only supports SurfaceView (and its descendants)

    The typical use is:
        SurfaceView view = new SurfaceView(context);

        SurfaceHolder holder = view.getHolder();

        S3DView s3dView = S3DView(holder, Layout.SIDE_BY_SIDE_LR, RenderMode.STEREO);

    On your manifest file you will have to add inside the <application> tag:
        <uses-library android:name="com.ti.s3d" android:required="true" />

    4382.addon-s3d-ti.zip

  • That's just what I needed. Thanks very much.