Hello,
I am currently trying to apply video textures on 3D objects with Away3D 4.0
I managed to make this code work, on Air 3.3 (not on Flash Player) : http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=5&subindex=5&aid=310
Then I tried to play a full HD video on the different planes. I just modified the size of the planes.
It worked but the resolution seemed to decrease.
Actually, to play the video, the VideoMaterial function is called this way :
VideoMaterial("assets/video1.flv",512,true,true)
The video is actually played in a 512*512 square when the bitmapmaterial is set up, in VideoMaterial.as :
super( new BitmapData(_materialSize, _materialSize, true, 0x00ffffff), true, false, false);
I tried to modify the code, by defining a 1920*1080 rectangle with two new variables for the height and the width but i get an error because the bitmapdata should have power of 2 parameters.
So I think this method does not work for what i want to do.
Are there other methods to apply full HD video textures on planes ?
Thanks.