getTextureState()

I was trying to run the ODE example for jME that was in the other forum and I get this error:



java.lang.NoSuchMethodError: com.jme.renderer.Renderer.getCamera(II)Lcom/jme/renderer/Camera;

at ODESimpleGame.initSystem(ODESimpleGame.java:91)

at com.jme.app.FixedFramerateGame.start(FixedFramerateGame.java:132)

at ODERoomTest.main(ODERoomTest.java:44)



It seems to be lines similar to this:

TextureState texturestate2 = display.getRenderer().getTextureState();



Is there something I’m missing? I searched and no one else has seemed to have this problem before. Thanks in advance.

If you are using CVS there has been an interface change to more accurately describe how the objects are obtained (you are actually creating new ones).



So instead of:



display.getRenderer().getTextureState();



there is:



display.getRenderer().createTextureState();



and



public Camera etCamera(int width, int height);



is now



public Camera createCamera(int width, int height);





there is a getCamera() that returns the previously created (or set) camera object.

Oh alright, thanks a lot. :smiley: