JmeBinaryWriter jbw=new JmeBinaryWriter(); if (!readJoints()){ jbw.setProperty("jointmesh","astrimesh"); } jbw.writeScene(finalNode,o);
BinaryExporter.getInstance().save(finalNode,o);
    public void convert(InputStream MSFile,OutputStream o) throws IOException {        inFile=new LittleEndien(MSFile);        finalNode=new Node("ms3d file");        CullState CS=DisplaySystem.getDisplaySystem().getRenderer().createCullState();        CS.setCullMode(CullState.CS_BACK);        CS.setEnabled(true);        finalNode.setRenderState(CS);        checkHeader();        readVerts();        readTriangles();        readGroups();        readMats();        JmeBinaryWriter jbw=new JmeBinaryWriter();        if (!readJoints()){            jbw.setProperty("jointmesh","astrimesh");        }        jbw.writeScene(finalNode,o);        nullAll();    }