away3d / away3d-core-openfl

Away3D engine for OpenFL
166 stars 41 forks source link

StereoView3D Android #51

Open aW4KeNiNG opened 9 years ago

aW4KeNiNG commented 9 years ago

Hi!

When i use StereoView3D, it works in flash, windows, html5... but with Android it is completely black. I have tried to find the problem, but i can't see it.

I have tested with: 1)OpenFL 3.0.3 + Lime 2.3.3 with -Dlegacy 2)OpenFL 3.0.8 + Lime 2.4.3 with -Dlegacy 3)OpenFL 2.2.8 + Lime 2.1.3

My Android device is Xperia Z1 with v5.0.2.

For example, you can reproduce it with Basic_Shading example, if you modify the view3d creation with:

        camera = new StereoCamera3D();
        cast(camera, StereoCamera3D).stereoOffset = 50;
        view = new StereoView3D(null, camera, null, new SBSStereoRenderMethod());
        cast(view, StereoView3D).stereoEnabled = true;

Kind Regards.