Any help or suggestion to getting jme3 working

Hi everyone,



I'm new to JME and 3D graphics in general but I know my way around java and getting certifies this summer.



I've been really interested in 3D graphics for a while and JME. I tried playing with JME2 but could never get it to work.



I've given JME3 a shot. Followed the tutorial at http://www.jmonkeyengine.com/wiki/doku.php/jme3:setting_up_netbeans_and_jme3 and ofcourse that's just like adding any other java lib and it was done correctly as far as i've deduced. The JME config screen comes up when i follow the tutorial at  http://www.jmonkeyengine.com/wiki/doku.php/jme3:beginner:hello_simpleapplication



There is a reference to plain_texture.j3md …Is that a file included in the JME3 jars. I've been getting the following after i select the display settings…

run:
09-May-2010 03:03:26 com.jme3.asset.DesktopAssetManager <init>
INFO: DesktopAssetManager created.
INFO JmeSystem 03:03:31 Running on jMonkey Engine 3 ALPHA 0.50
INFO Natives 03:03:31 Extraction Directory #1: file:/C:/Users/Courtney/Documents/Projects/Java/JME3/JME3-lib/
INFO Natives 03:03:31 Extraction Directory #2: C:UsersCourtneyDocumentsProjectsJavaJME3Game
INFO Natives 03:03:31 Extraction Directory #3: C:UsersCourtneyDocumentsProjectsJavaJME3Game
INFO LwjglAbstractDisplay 03:03:31 Using LWJGL 2.4.2
INFO LwjglDisplay 03:03:31 Selected display mode: 640 x 480 x 0 @0Hz
INFO LwjglAbstractDisplay 03:03:31 Display created.
INFO LwjglAbstractDisplay 03:03:31 Adapter: atiumd64
INFO LwjglAbstractDisplay 03:03:31 Driver Version: null
INFO LwjglAbstractDisplay 03:03:31 Vendor: ATI Technologies Inc.
INFO LwjglAbstractDisplay 03:03:31 OpenGL Version: 2.1.8787
INFO LwjglAbstractDisplay 03:03:31 Renderer: ATI Mobility Radeon HD 4500 Series
INFO LwjglAbstractDisplay 03:03:31 GLSL Ver: 1.30
INFO LwjglTimer 03:03:31 Timer resolution: 1000 ticks per second
INFO Camera 03:03:31 Camera created (W: 640, H: 480)
INFO LwjglMouseInput 03:03:31 Mouse created.
INFO LwjglKeyInput 03:03:31 Keyboard created.
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Gui Node)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (BitmapFont) attached to this node (Statistics View)
INFO Node 03:03:32 Child (Statistics View) attached to this node (Gui Node)
WARNING DesktopAssetManager 03:03:32 Cannot locate resource: plain_texture.j3md
SEVERE Application 03:03:32 Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.NullPointerException: Material definition cannot be null
        at com.jme3.material.Material.<init>(Material.java:99)
        at com.jme3.material.Material.<init>(Material.java:105)
        at game.Main.simpleInitApp(Main.java:28)
        at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:141)
        at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:102)
        at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:147)
        at java.lang.Thread.run(Thread.java:619)
BUILD SUCCESSFUL (total time: 8 seconds)



Like i said i'm only trying to learn this 3D stuff now. So any suggestion, pointers to resources advice anything at all.
Its definately the file that can't be found but the tut doesn/t say if i need to create it or what it is. so any ideas any one?

thanks in advance

The tutorial is outdated… Replace "plain_texture.j3md" with "Common/MatDefs/Misc/SimpleTextured.j3md".

Thanks, that works.

I think it's hard that jME3 will crash because of a missing obj or material!

There should be some catch methods inside AssetManager :stuck_out_tongue:

DarkPhoenixX said:

I think it's hard that jME3 will crash because of a missing obj or material!
There should be some catch methods inside AssetManager :P

Its a material definition, in jme3 thats almost something like a java file thats missing ;)