I've tried briefly with the following. Is it possible to use movietexture here?
I didn't try a standard 2DTexture yet from a file off another drive, but is this possible as well to load files outside of the .fpt?
Have you made use of FP imagelists? Maybe we could import pyprocgames dmd files as imagelists.
Loading *.* into FP doesn't make sense to me. Importing textures with .bmp,.jpg,.tga is all I can see inside FP texture importing. Where else can you import ?
Missing the videoURL.> Forum won't add it.
public class testCOmponent : BxBasicDMD
{
public override void Start()
{
base.updateTexture();
base.Start();
WWW ww = new WWW(videoUrl);
base.renderer.material.mainTexture = ww.texture;
playMovie();
}
//mt.name = @"I:\ffff.mp4";
public void playMovie ()
{
((MovieTexture)base.renderer.material.mainTexture).Play();
}
}
Edited by chepas, 09 July 2015 - 04:35 PM.




Top










are all trademarks of VPFORUMS.