changed textureview to surfaceview and added 3dhandling for o3d