Package com.jmex.model.converters

Examples of com.jmex.model.converters.AseToJme


        }
    }

    @SuppressWarnings("unused")
    private void loadASE() {
        AseToJme converter = new AseToJme();
        URL objFile = getClass().getResource("/models/test/cube-1m.ase");
        ByteArrayOutputStream BO = new ByteArrayOutputStream();
        try {
            converter.convert(objFile.openStream(), BO);
            Node obj = (Node) BinaryImporter.getInstance().load(new ByteArrayInputStream(BO.toByteArray()));
            obj.setName("OBJ");
            rootNode.attachChild(obj);
        } catch (IOException e) {
            e.printStackTrace();
View Full Code Here


        }
    }

    @SuppressWarnings("unused")
    private void loadASE() {
        AseToJme converter = new AseToJme();
        URL objFile = getClass().getResource("/models/test/cube-1m.ase");
        ByteArrayOutputStream BO = new ByteArrayOutputStream();
        try {
            converter.convert(objFile.openStream(), BO);
            Node obj = (Node) BinaryImporter.getInstance().load(new ByteArrayInputStream(BO.toByteArray()));
            obj.setName("OBJ");
            rootNode.attachChild(obj);
        } catch (IOException e) {
            e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.jmex.model.converters.AseToJme

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.