Hello everybody,
I have encountered a strange problem with a jme3 application on different machines.
Both machines are running OS X SL, the one is a '09 iMac with nvidia HD2600 graphics, and the other one is a brand new MacBook Pro with intel HD 3000 graphics.
The application is a simple driving simulator, where a car can be steered over a flat plane.
To create the skybox, the software uses the SkyFactory from the tutorials, if i am not mistaken:
[java]
String skyModelPath = “Textures/Sky/Bright/BrightSky.dds”;
assetManager.registerLocator(“assets”, FileLocator.class.getName());
Spatial sky = SkyFactory.createSky(assetManager, skyModelPath, false);
rootNode.attachChild(sky);
[/java]
Now the problem:
- On the older Mac, everything works fine, the skybox is created.
- However, on the new Mac, the SkyBox does NOT get the specified texture. Instead, it seems that some random textures are used. In particular, I assume that, in a very random manner, textures a re loaded from the RAM of the graphics card. If you have a look at the screenshot I attached, you can see that on two sides of the cube, the GUI of Netbeans, which is running in parallel is used as a texture. The green stuff in the front would be my Desktop Wallpaper. The texture on the left-hand side I cannot identify. Might actually be one of the textures that should be loaded from the dds file.
I have tried with a number of .dds files, and the behavior of both machines is consistent: old mac works, new mac randomly displays textures from other programs (open firefox windows etc.).
Any ideas as to why this might be happening?
Thanks for your input and further ideas.
If you need more detailed information, I will be happy to provide it. Since I am not the developer of this application, I don’t really know where the problem might come from.
Screen shot of the application. In this instance, I have driven over the edge of the driving plane, so that the entire skybox is visible.