Problem with : import de.lessvoid.nifty.Nifty;

Everybody has come to 2011 unharmed? So I wish you a Happy New Year …



Concerning JmeTests jme3test.animation.TestCinematic.java

cinematic.addCinematicEvent(3, new GuiTrack(nifty, “start”, 3)); says an error about Nifty



Looking there Cinematic.java

The de has a red underscore with this error info: package de.lessvoid.nifty does not exist



BUT in the ‘Libraries’ there are Snapshots (3) about Nifty and because of not knowing why

de.lessvoid.nifty.Nifty is not found there (though it is available) I added in the libraries

Nifty.jar directly but this does not help either.



How to persuade the system to find the available class ? :wink:

Strange indeed, does compiling really throw an error or is it maybe just the Code Editor checking for errors and getting something wrong?

No 4 compile errors …GuiTrack as well as three times SoundTrack (in TestCinematic.java)

You only have errors in the cinematic related classes?

Don’t you have errors in the Nifty test?

Trying TestNiftyToMesh …

WARNING: class [de.lessvoid.nifty.examples.helloworld.HelloWorldStartScreen] could not be instanziated (java.lang.ClassNotFoundException: de.lessvoid.nifty.examples.helloworld.HelloWorldStartScreen)

2-jan-2011 17:34:47 de.lessvoid.nifty.loaderv2.types.ScreenType create

and

SEVERE: Problem FBO:

FrameBuffer[format=1024x768x0, drawBuf=0]

Depth => BufferTarget[format=Depth]

Color(0) => TextureTarget[format=RGB8]



TestNiftyGui shows a “Hello World” in an rectangle and changes color repeatedly if the mouse is over …Hello World

There’s an exception after the “Problem FBO” part, can you post it?

You mean this?

SEVERE: Problem FBO:

FrameBuffer[format=1024x768x0, drawBuf=0]

Depth => BufferTarget[format=Depth]

Color(0) => TextureTarget[format=RGB8]



2-jan-2011 18:38:11 com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

java.lang.IllegalStateException: Framebuffer object format is unsupported by the video hardware.

at com.jme3.renderer.lwjgl.LwjglRenderer.checkFrameBufferError(LwjglRenderer.java:1056)

at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1284)

at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:695)

at com.jme3.renderer.RenderManager.render(RenderManager.java:733)

at com.jme3.app.SimpleApplication.update(SimpleApplication.java:216)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:144)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:141)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:198)

at java.lang.Thread.run(Thread.java:619)

BUILD SUCCESSFUL (total time: 9 seconds)

Okay I see now.

What video card are you using? Did you update the drivers?

Is this the only jME3 test that has this issue?

Yeah, as I posted the ‘rest’ I saw too: unsupported by the video hardware.



Yet too fresh to jMonkey, not all things tested … (the introduction plays music though)

(will look later, to see if my video … has a newer driver …)