Search Unity

WebCamTexture problems

Discussion in 'Editor & General Support' started by Tyua, Sep 6, 2012.

  1. Tyua

    Tyua

    Joined:
    Sep 6, 2012
    Posts:
    14
    Hello,

    I use Unity 3.5.5
    I try to use that component with iOS and have several problems regarding the genericity of that component :
    - on iOS WebCamTexture.requestedWidth and WebCamTexture.requestedHeight don't seem to function since the video ratio is ever the same
    - on iOS WebCamTexture.width and WebCamTexture.height ever return me the value '16' so they seem to get bugged
    - on iOS the camera texture is flipped and in landscape mode and I have no clue how to figure that appart from empirical conclusions,
    - on Android the camera texture is in landscape mode and again I have no clue of how to figure that
    - on OSX the camera is in portrait mode

    So my question is : is there any clue appart from empirical heuristic and if not is Unity4 better about that ? Or do I need to develop on my own that component and port it to have a proper one ?

    Thank you.