Hi, I’m porting an app to linux that uses fobs4JMF and renders video frames in JOGL. I’m passing frames from the video into a texture using the TextureIO.newTextureData method.
In particular, I am using:
textureData = TextureIO.newTextureData(myBufferedImage, false);
And then at each drawing loop I call:
texture.updateImage(textureData);
This is working quickly and flawlessly on WindowsXP using the latest release build (rc6).
However, on my Ubuntu desktop it is not correctly copying the bufferedImage into the textureData. It seems to be shrinking the width and increasing the height, but not in some obvious way, that is, I can’t just reverse width and height. And in the remaining space on the right hand side of the texture I am getting weird artifacts, lines of color, etc.
Strangely, When I turn mipmapping on:
textureData = TextureIO.newTextureData(myBufferedImage, true);
then everything looks perfect (but then the framerate is a bit too slow)!
Any ideas on what could be causing this discrepancy between Windows and Ubuntu?
My windows laptop : Dell M1210 running Windowx XP with a Nvidia GeoForce
My ubuntu desktop: Dell Dimension 5150 running Ubuntu 7.10 with an ATI card.
Thanks, spiraljetty