Hi, My game runs without any particular issues with Sun WTK22
I then tried to make it work with the sony ericsson WTK2, but when it renders the 3d world, i always have the same exception:
java.lang.IllegalStateException
at javax.microedition.m3g.Util3D.throwEx(+79)
at javax.microedition.m3g.Graphics3D.render
First of all, what is Utils3D class used for? (Sun WTK22 doens`t have such class in his m3g implementation)
Here is my code to render the world:
(in my test doAnimate() returns false)
Code:
try {
iG3D.bindTarget(g);
if (doAnimate()) {
// advance the animation
world.animate((int)(System.currentTimeMillis() - gameStart));
}
iG3D.render(world);
}
catch (Exception e) {
e.printStackTrace();
}
finally {
iG3D.releaseTarget();
}
Thanks a lot for your help.
Bests,
Franck
http://cazapool3d.sourceforge.net/mobipool3d/3DShoot4_DivXCodec.avi
http://cazapool3d.sourceforge.net/mobipool3d/3DShoot5_MicrosoftCodec.avi.avi