Hi,
I have several questions about running jme3.
Let's begin with an error After last svn update I'm struggling with strange error:
SEVERE LwjglAudioRenderer 11:19:14 Failed to load audio library
org.lwjgl.LWJGLException: Could not locate OpenAL library.
at org.lwjgl.openal.AL.create(AL.java:153)
at org.lwjgl.openal.AL.create(AL.java:104)
at org.lwjgl.openal.AL.create(AL.java:191)
at com.jme3.audio.lwjgl.LwjglAudioRenderer.initialize(LwjglAudioRenderer.java:53)
at com.jme3.app.Application.initAudio(Application.java:108)
at com.jme3.app.Application.initialize(Application.java:288)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:77)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:106)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:151)
at java.lang.Thread.run(Thread.java:619)
java.lang.UnsatisfiedLinkError: org.lwjgl.openal.AL10.alGetString(I)Ljava/lang/String;
at org.lwjgl.openal.AL10.alGetString(Native Method)
at com.jme3.audio.lwjgl.LwjglAudioRenderer.initialize(LwjglAudioRenderer.java:58)
at com.jme3.app.Application.initAudio(Application.java:108)
at com.jme3.app.Application.initialize(Application.java:288)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:77)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:106)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:151)
at java.lang.Thread.run(Thread.java:619)
Before the update I'd had no problem with openAL and all sounds had been played correctly. What should I do ?
I wanted to test ogreloader compatibility, but how can I load .scene file ? I tried something like that:
@Override
public void simpleInitApp() {
Node scene = (Node)manager.loadContent("p1.scene");
rootNode.attachChild(scene);
}
public static void main(String[] args) {
Loader l = new Loader();
l.start();
}
Obviously, there is no SceneLoader instance. I assumed manager recognizes extension and creates proper loader to load the content. Am I correct ?
What should be the directory structure for the files ? I don't know where to put .scene .material .meshxml files. I tried to put all of them to build directory (where the jar is created) with no luck ;/
Thanks in advance