JM3 / JOGL: cannot locate native libraries [Solved]

i did a

[java]System.out.print(System.getProperty("java.library.path")+"n");[/java]



that gave me the following ‘line’:


H:/java/jdk/bin;.;C:/XPSRPRO/Sun/Java/bin;C:/XPSRPRO/system32;C:/XPSRPRO;
H:/java/jdk/jre/bin;F:/Perl/site/bin;F:/Perl/bin;C:/XPSRPRO/system32;
C:/XPSRPRO;C:/XPSRPRO/System32/Wbem


however, when calling JM3 with the setting

[java]AppSettings settings = new AppSettings(true);
settings.setRenderer(AppSettings.JOGL);[/java]

i get the following warnings:

09.03.2011 14:41:58 com.jme3.system.Natives extractNativeLib
WARNUNG: Cannot locate native library: win32/jogl_awt.dll
09.03.2011 14:41:58 com.jme3.system.Natives extractNativeLib
WARNUNG: Cannot locate native library: win32/jogl.dll
09.03.2011 14:41:58 com.jme3.system.Natives extractNativeLib
WARNUNG: Cannot locate native library: win32/gluegen-rt.dll


and thats kinda strange, because those files are in 'H:/java/jdk/jre/bin'.

I tried to move them around a bit (into a win32 subdir for example), but they still remain unnoticed. …?

JOGL is not supported anymore by the engine, use the default renderer LWJGL.

btw @normen and @Momoko_fan we should remove this constant from the appsetting, and the setRenderer method doesn’t make sense anymore.

JOGL support in jME3 is deprecated, the lwjgl renderer now supports OpenGL1.

Ah, ok…



BTW, as OpenGl2 does not work with my Card (yes a new one is on its way;-), i try some basics with the LWJGL_OPENGL1. I can, for example, bring a cube onscreen, but in…

[java]Box b = new Box(Vector3f.ZERO, 1, 1, 1);

Geometry geom = new Geometry("Box", b);



assetManager.registerLocator("H:/java/Workspace/DMF/assets/",FileLocator.class);

Material mat = new Material(assetManager, "MatDefs/Misc/SolidColor.j3md");



mat.setColor("m_Color", ColorRGBA.Blue);

geom.setMaterial(mat);

rootNode.attachChild(geom);

[/java]

… the cube still is bright white. Is that an OPENGL1-issue, or something else?

Try using the Unshaded.j3md

Ah, works, thx.