Should i give up with jme?

Hello every one, i am trying to do my final-year project using jme, but i am "tired" because of to do something, the most simply task it takes a lot of effort. Is because of this i ask you if i should try another engine. Thank you all.

What do you mean by "final-year"?

Also, I've never worked with any other game engine, mostly because good ones cost a lot of money and other decent free ones are in C++ and I only know Java.

But from what I've seen of JME this is as simple as it gets.  JME seems to pride itself on how little effort it takes to do simple tasks and, as an aspiring programmer, I agree with them.

JME is a godsend. I never expected game programming to be this simple.  Perhaps you need to sit down with the tutorials and take some notes the old fashioned way.  It really does make sense and it really doesn't get any easier than JME.

first what kind of project are you doing ? what do you need to complete it ? and what can you do? (I mean which language is your best, java c++ python,assembler…)



personally

I hate jme2 , I like jme3 I'm scared of crystal space



so I recommend you to use jme3 with an IDE (personally I use eclipse and it works) JMP might be better but only if you can use it.

Flame bait?


antu said:

Hello every one, i am trying to do my final-year project using jme, but i am "tired" because of to do something, the most simply task it takes a lot of effort. Is because of this i ask you if i should try another engine. Thank you all.


You're not giving anyone any details of what you need, or how you expect the world to help you help you.

Take a nap, take a walk, then sit down without a PC (in the sunshine maybe) and organise a list (on paper!) of what you have and what you need before you can turn the project in. (Always helped me at Uni)

final year? I hope you don't study anything with informatic, as I have no real problem working with jme and I'm using it since first semester. But effort, yes you have to invest time, and for a fullscale project much too.

Well i have studied informatic at college, and this post is refered to, for example i'm trying to load a 3d model, i have investigated through all the forum and I got nothing. I tried .obj and .3ds format.



I use this code:

public final class Model {

   

   public static Node load(String fileName) {

      Node loadedModel = null;

        URL model = Model.class.getClassLoader().getResource(fileName);

        // Set up the converter and convert it to jbin format

        FormatConverter converter = new ObjToJme();

        converter.setProperty("mtllib", model);

      converter.setProperty("texdir", model);

        ByteArrayOutputStream BO = new ByteArrayOutputStream();

        try {

            converter.convert(model.openStream(), BO);

            loadedModel = (Node) BinaryImporter.getInstance().load(new ByteArrayInputStream(BO.toByteArray()));

        } catch (IOException e) {

            e.printStackTrace();

            System.exit(0);

        }

        return loadedModel;

   }

}





But the texture are not load and the materials are shown white. Thank you for your answers.

Hi,

maybe you should give up with JME2 and go to JME3

Loading objects (obj, ogre ar j3o) is one or two lines of code.



Regarding to other engines, i think you'll bump into more or less the same issues. Nothing will be straight forward.

But i'm pretty sure what you will miss, is the community.

There are not a lot of open source projects that are this actively developed, and forums where you can get answers in the day, sometimes in the hour by the core developers themselves.



About the documentation, Zathras has made a huge work with her "Hello" tutorials for JME3, they are very instructive, and i'm pretty sure that they cover a large part of what you want to achieve.



I recommend using JME3 with JMP.

If you still have problems to load your models, you'll obviously find someone in here that is willing to help you.




But is jme3 stable enough to do a video game as my final-year project?

you can use the ogre format with jme2 as well, try that first.

antu said:

Well i have studied informatic at college, and this post is refered to, for example i'm trying to load a 3d model, i have investigated through all the forum and I got nothing. I tried .obj and .3ds format.

I use this code:

public final class Model {
   
   public static Node load(String fileName) {
      Node loadedModel = null;
        URL model = Model.class.getClassLoader().getResource(fileName);
        // Set up the converter and convert it to jbin format
        FormatConverter converter = new ObjToJme();
        converter.setProperty("mtllib", model);
      converter.setProperty("texdir", model);
        ByteArrayOutputStream BO = new ByteArrayOutputStream();
        try {
            converter.convert(model.openStream(), BO);
            loadedModel = (Node) BinaryImporter.getInstance().load(new ByteArrayInputStream(BO.toByteArray()));
        } catch (IOException e) {
            e.printStackTrace();
            System.exit(0);
        }
        return loadedModel;
   }
}



But the texture are not load and the materials are shown white. Thank you for your answers.

Hi!

My complicated (sorry  :() example works:
http://tuer.svn.sourceforge.net/viewvc/tuer/tuer/jme/JMEDataPreprocessor.java?revision=248&view=markup
Look at the convert() method.

It is a tiny problem, don't give up.
antu said:

But is jme3 stable enough to do a video game as my final-year project?
That depends on what features you require, but in most respects, yes.

In a way jME3 is more accountable than jME2, in that it is actively developed and supported, so when you encounter a problem there's a much higher chance someone will know how to get around it, or even submit a patch to the core to accommodate a general need.

dhdd said:

you can use the ogre format with jme2 as well, try that first.
Since you've already spent a lot of your time affiliating yourself with jME2, this is probably a good idea.

I tried the ogrexml exporter but when i export the object i get this warning a lot of times:



Warning: Error in normalize! Face of mesh "Cube.001" too small.



I have been looking for the error but i found nothing. Anybody knows what is the problem?

What this means is that your model has some really small triangles/faces. Since its a warning, it might not really be a problem. Did you try importing that model you exported yet?

The only free engine that compares with Jme3 that I have tried is Panda3d. The problem with Panda is you have to use either python or C++… Java tips the balance, it is so elegant and coherent. As for speed issues I suspect Jme3 would be faster or on par with Panda’s python over C++, and even if it is not as fast as a C++ implementation of Panda the ease with which you can set up threading in Java means you can get all CPU’s working in a way that only someone pretty comfortable with C++ could manage.