Search Unity

Stream textures from resources folder for animation?

Discussion in 'Editor & General Support' started by Ross_S, May 16, 2013.

  1. Ross_S

    Ross_S

    Joined:
    Jul 10, 2012
    Posts:
    29
    Hi,

    basically I am planning to animate a sequence of pngs. What i want to know is if there is any way i can stream this sequence of pngs from the resources folder or if i have to load them all into memory first.
    Obviously if I have to load them all into memory i'm going to be more limited in how many frames of animation i can have. These are potentially large, almost screen-filling textures and i need to include support for retina displays on iPad4 etc...

    I'm even wondering if a better approach than loading all the png files would be to create a MovieTexture and stream that? though in that case i would have no alpha on it... and the quality would be worse i guess...

    Any clues for me?

    Thanks,
    Ross
     
unityunity