JMe or 3Dcard or


I  have a problem with the render on both my desktop and laptop.

I tried to update my drivers. not working better
I tred to update jme, (with the nightybuild), no change
I build my own model under Blender and load it, same bug

I have a 6800 on my desktop and a X300 on the laptop.

the code is the one in the tutorial :

 // Point to a URL of my model
        URL model=HelloModelLoading.class.getClassLoader().getResource("jmetest/data/model/maggie.obj");
        // Create something to convert .obj format to .jme
        FormatConverter converter=new ObjToJme();
        // Point the converter to where it will find the .mtl file from
        // This byte array will hold my .jme file
        ByteArrayOutputStream BO=new ByteArrayOutputStream();
        try {
            // Use the format converter to convert .obj to .jme
            converter.convert(model.openStream(), BO);
            Node maggie=(Node)BinaryImporter.getInstance().load(new ByteArrayInputStream(BO.toByteArray()));
            // shrink this baby down some
            maggie.setModelBound(new BoundingSphere());
            // Put her on the scene graph
        } catch (IOException e) {   // Just in case anything happens
            System.out.println("Damn exceptions!" + e);

does someone have a solution?


Normally these types of problems are caused by driver issues.  Are you sure you tried updating to the newest drivers?  If they don't work you'll probably need to give us more information about your computer.

And by us I mean the competent developers and not me at all  :stuck_out_tongue:

  • Chris

I have the same problem… a couple of days ago I tried the test and it looked like it… I'm sure a couple of months ago it looked fine and I haven't upgraded drivers, just installed Java 6 (but I'm still using Java 5 on Eclipse)

I don't know the problem but that is one screwed up Maggie!  :-o

Hmm, I see it too.  (This bug is also in our bug tracker, I think entered by sfera.)

The polygons are there, but some are wound backwards.  You can verify this by adding a CullState with CS_BACK set as the cull mode.  Reverting ObjToJme back over the last few revisions does not seem to help.

I tried to import my model using MaxtoJme.
Same result.

So it's not me,
*hope it will be corrected in the next days*

Ball on you side, Jme Developer.  ;)

No, its not you, have exactly the same looking maggie (dont really fancy her, so didnt bother me too much!)… 

Am using a JME version about 2-3 months old so dont think its a recent change… HTH.

yes i opened that issue. i think the problem is not on the jme side as several model viewers/editors display exactly the same results. still, i grabbed the obj file format specification and i'll verify the obj loader these days. if there isn't anything wrong with the loader i'll fix the maggie model.

The reason it didn't come up before might be a change in twosided lighting being enabled or disabled.  If two sided is set to false (meaning both sides are lit the same way) then she looks fine.  If you set it to true (which means lighting calcs are done based on winding direction) then she looks wrong.  So we probably always had this issue and somewhere along the way the default for two-sided lighting was changed.

nevermind for this "bug".

It's been a week i explore and begin to manipulate JME.
Great 3D Engine, really.

I tried java3D et JTCP a little, before choosing JME.

I think it's the simplest ( thank to many exemples ).
and fastest ( )

So, I'm at this point :
(mix of 5/6 exemples, mouseinput,keyinput,skybox,land,jmedesktop)

I used a 3DS model stored in a JAR for the tree (using MaxToJME).
And it used arround one minute to load the scene.

Is there a faster file type to use, to reduce loading time?
Or can we store 3D model in a natif jme type. (then how to?)

Once you've loaded the model in the first place save it back out as a .jme binary file.  It should take substantially less time to load.

things are going on,

Next point,
detecting collision et react.

I known it's something difficult to manage
so I don't want to go in it without any knowledge of it.

Have any sugestions, for a beginner?
or even good structure exemples?

Hello again,

I using the jmewriter / jmereader classes to import my 3D models,
but it's a deprecated class.

and i can't find another doing jme format import.

Where is the new class to do this?

search for BinaryImporter

thx, i find it

I just found this. That picture will give me nightmares.