JMF Movie Screen

Dear All,

I’ve just finished writing an article that explains how
to build a movie screen in Java 3D. The movie is played
using the Java Media Framework (JMF).

The article and the code can be found at the
“Killer Game Programming in Java” website:
http://fivedots.coe.psu.ac.th/~ad/jg/

Hype Alert…

Incidentally, the “Killer Game Programming in Java” book
from O’Reilly is due out any day now. You can find details
at the website or from O’Reilly:
http://www.oreilly.com/catalog/killergame/

There’s over 15 chapters on Java 3D.

Thanks,
Andrew

Great work! Helps a lot!!

One question to everbody perhaps:
did anybody try a similar thing with Xith?

I have to have direct openGL-access and thus I’ve tried to port this example to Xith today… but something is still wrong with the videoscreen. Somehow there must be some other byte-order, although I could re-use almost everything (without touching definitions like BufferedImage.TYPE_3BYTE_BGR, Texture.RGBA…)

I’ll probably post a detailed question tomorrow (better @Xith-Forum as well), but since it deals with porting THIS, I start here. :slight_smile:

CU.

Konterfei,

I don’t know much about Xith, so can’t really help you.

One suggestion is a general coding strategy – all the JMF code is located in JMFSnapper, and can easily be replaced. While you’re getting the Xith parts working, I’d suggest cutting out all of the JMF code from JMFSnapper, replacing it with a version of getFrame() that always returns a simple image.

This will allow you to concentrate on the 3D programming, and ignore the multimedia issues until your ready.

  • Andrew