Models problems

Hi guys,



I've working over the FlagRush sample, changing the model to use the jmetest models, but i had some problems.



bike.jme, runs perfect

Character.3DS, wrong orientation on X or Y axis (im not sure)

drfreak.md2 and nordhorse.md3, no texture and wrong Y orientation.

maggie.obj, the most weird of all - it works for some seconds then breask with a:

org.lwjgl.opengl.OpenGLException: Invalid value (1281)
   at org.lwjgl.opengl.Util.checkGLError(Util.java:50)
   at org.lwjgl.opengl.Display.swapBuffers(Display.java:606)
   at org.lwjgl.opengl.Display.update(Display.java:625)
   at com.jme.renderer.lwjgl.LWJGLRenderer.displayBackBuffer(Unknown Source)
   at com.jme.app.BaseGame.start(Unknown Source)



How to fix this 3 problems? (texture, orientation and crash)

tnx!


PS: Sorry if it`s newbie questions, I've just started with JMonkey yesterday.

Ok… i already fix the orientation problem, that was easy, i just added a Node that englobe the model, so i can turn the model inside the Node.

About the maggie, i saw on the forum that this model has some problems, so Ill ignore that.

About the texture, i found some thing to, that said thay you need to manually load the textures cause the texture is not inside the model. But that a engine fault right? Cause even the models (at lest md2 and md3) that do not include the texture, they have a reference for the texture name, you the engine could use that and load the textures.

Im I right?





tnx