public void OnSurfaceCreated(IGL10 gl, Javax.Microedition.Khronos.Egl.EGLConfig config)
        {
            GLES20.GlClearColor(0.1f, 0.1f, 0.1f, 1.0f);

            if (isOpenCameraOutside)
            {
                mTextureDisplay.Init(mTextureId);
            }
            else
            {
                mTextureDisplay.Init();
            }
            Log.Debug(TAG, "On surface created textureId= " + mTextureId);

            mFaceGeometryDisplay.Init(mContext);

            mTextDisplay.SetListener(new FaceOnTextInfoChangeListenerClass(this));
        }
Example #2
0
 public void OnSurfaceCreated(IGL10 gl, Javax.Microedition.Khronos.Egl.EGLConfig config)
 {
     // Clear the original color and set a new color.
     GLES20.GlClearColor(0.1f, 0.1f, 0.1f, 1.0f);
     foreach (HandRelatedDisplay handRelatedDisplay in mHandRelatedDisplays)
     {
         handRelatedDisplay.Init();
     }
     mTextureDisplay.Init();
     mTextDisplay.SetListener(new HandOnTextInfoChangeListenerClass(this));
 }
 public void OnSurfaceCreated(IGL10 gl, Javax.Microedition.Khronos.Egl.EGLConfig config)
 {
     // Clear the color and set the window color.
     GLES20.GlClearColor(0.1f, 0.1f, 0.1f, 1.0f);
     foreach (BodyRelatedDisplay bodyRelatedDisplay in mBodyRelatedDisplays)
     {
         bodyRelatedDisplay.Init();
     }
     mTextureDisplay.Init();
     mTextDisplay.SetListener(new BodyOnTextInfoChangeListenerClass(this));
 }
Example #4
0
        public void OnSurfaceCreated(IGL10 gl, Javax.Microedition.Khronos.Egl.EGLConfig config)
        {
            // Set the window color.
            GLES20.GlClearColor(0.1f, 0.1f, 0.1f, 1.0f);

            mTextureDisplay.Init();
            mTextDisplay.SetListener(new WorldOnTextInfoChangeListenerClass(this));

            mLabelDisplay.Init(GetPlaneBitmaps());

            mObjectDisplay.Init(mContext);
        }