@rich7886 wrote:
Hello I had an old project that used a video to deform a mesh from getting a texture reference from the ofVideoPlayer.
This doesn't seem to work anymore, My video plays but when I tried to getTexture nothing seems to come from the video.
vid1 = new ofVideoPlayer(); vid1->load("gridFilmNew.mov"); // vid2.load("gridFilmNew.mov"); vid1->play(); ofTexture test = vid1->getTexture(); plane.mapTexCoordsFromTexture(test);
i get this error: ofTexture: getTextureData(): texture has not been allocated
It worked before using an older version and getTextureReference(); any ideas?
Thanks,
Richard
Posts: 1
Participants: 1