Hi,
i know it's possible to render a video on a texture using JMF/FOBS…
My question is, how to use it with jME2 … i read this text very carefully
http://www.jmonkeyengine.com/jmeforum/index.php?topic=10561.0
I've loaded the src ( http://www.mediafire.com/file/iumoymbvnje/src.rar ) and did the change from "JOC"
data = new ArrayList<ByteBuffer>();
data.add(ByteBuffer.allocateDirect(size*size*4).order(ByteOrder.nativeOrder()));
Everything runs great without errors but, nothing is displayed on the quad. I hear the sound of the media files,
but the quad is still white... I found the problem:
//tex.setImage(image);
This line is commented but it shouldn't be... Without the slashes the program aborts with this error message :
at com.jme.image.Image.getEstimatedByteSize(Image.java:663)
Looking up this method shows, that the image doesn't have a format... and so there is a NullPointerException...
Now my question:
How can i solve this problem ? Maybe the topic creator could help... it seems to be that he solved this problem....
Greetings
Kr0e