Package com.l2client.model.jme

Examples of com.l2client.model.jme.VisibleModel


        am.setColor(ColorRGBA.White);
        rootNode.addLight(am);
        rootNode.addLight(dr);
      NewCharSummary c = new NewCharSummary();
      c.name = "Myname";
      VisibleModel v = new VisibleModel(c);
      rootNode.attachChild(v);
      v.attachVisuals();
      v.rotateUpTo(Vector3f.UNIT_Z.mult(-1f));
     
      printHierarchy(rootNode, "");
    }
View Full Code Here


      //it does not work without being loaded by the standard animation package using animationproviders
      //so relaping it here
      Spatial troll = n.getChild("troll")
      if(troll != null){
        n.detachChild(troll);
        VisibleModel newtroll = new VisibleModel(null);
        newtroll.attachVisuals();
        newtroll.setLocalTranslation(troll.getLocalTranslation());
        n.attachChild(newtroll);
      }
      //this is needed as the chars are on a different node and would not be rendered
      //just add, do not remove here..
      for(Light l : n.getLocalLightList()){
View Full Code Here

TOP

Related Classes of com.l2client.model.jme.VisibleModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.