Excuse me for being a newbie but I cannot seem to figure out what might be a the problem with a very simple application.
I am running jme3 under Android 2.2
My application is structured as follows:
Cylinder shape = new Cylinder(16, 16, 0.0f, 2.0f, true);
Box shape2 = new Box(Vector3f.ZERO, 0.3f, 0.3f, 0.3f);
Geometry cone = new Geometry(“cone”,shape);
Geometry box = new Geometry(“box”,shape2);
cone.setLocalTranslation(0.0f, 2.0f, 0f);
rootNode.attachChild(cone);
rootNode.attachChildAt(box, 1);
If I add either the cone or box to my application they get rendered as expected. If I add both nothing gets rendered and frame rate seems to be hit. Am I missing something obvious? I have tried setting CullHint to Never and still no joy. It could just be the rendering engine on the phone but I thought I would check that there isn’t anything missing in my assumptions.
Matt
Uh, the Android renderer is not production ready yet, see the thread in the android forum.
Why the double post?
http://hub.jmonkeyengine.org/groups/android/forum/topic/trouble-with-multiple-basic-shapes/
He probably thought it had been lost when I moved it to the Android forum.
My mistake. I had not noticed the move to the android thread and thought I had simply forgotten to hit “Post”