/**
@Override
**/
public void simpleInitApp(){
Node node = new Node("My Root node");
//Box b = new Box("MyBox",new Vector3f(0,0,0),new Vector3f(1,1,1));
//rootNode.attachChild(b);
AvatarXMLParser parser = new AvatarXMLParser();
Avatar avatar = parser.getAvatarFromFile("art/mii/defaultBoy.xml");
System.out.println(avatar);
Avatar3DLoader loader = new Avatar3DLoader();
Model model = loader.loadModel(avatar);
// remove default light to see the colors
//rootNode.setLightCombineMode(Spatial.LightCombineMode.Off);
/*
// Create a point light
PointLight l = new PointLight();
// Give it a location
l.setLocation(new Vector3f(0, 10, 5));
// Make it a red light
//l.setDiffuse(ColorRGBA.red.clone());
// Enable it
l.setEnabled(true);
// Create a LightState to put my light in
LightState ls = display.getRenderer().createLightState();
// Attach the light
ls.attach(l);
node.setRenderState(ls);
*/
node.attachChild(model.root);
rootNode.attachChild(node);
//lightState.detachAll();
}