Search Unity

GearVR and Stereo Cubemap images

Discussion in 'Android' started by Thiago-Crawford, Nov 18, 2015.

  1. Thiago-Crawford

    Thiago-Crawford

    Joined:
    Jan 7, 2013
    Posts:
    92
    Hi,

    I am developing something for the GearVR and I need to be able to load Stereo Cube environment images.

    The usual outputs are a long strip of 12 images (2 cubes, 6 faces per cube), when I try to load such a long image to a Texture2D, I get the following error...

    I dont want to load the entire texture to use as is, but to split it at runtime as needed, into 12 different images.

    - I tried using the unsupported System.Drawing.dll, which worked fine on windows, but not on Android.

    Does anyone have any idea how this can be done in Unity Android? Plugin that does it anywhere? Or a way to get the image into Color32[] i can use etc etc

    Thanks

    Sample Image Structure:




    Sorry for the repeat thread, it's just there platforms (GearVR & Android) are kinda mixed.
    http://forum.unity3d.com/threads/gearvr-and-stereo-cubemap-images.368623/
     
    Last edited: Nov 18, 2015