Package com.ardor3d.util.resource

Examples of com.ardor3d.util.resource.MultiFormatResourceLocator


        // Load the scene
        final long time = System.currentTimeMillis();
        final Md2Importer importer = new Md2Importer();
        try {
            importer.setTextureLocator(new MultiFormatResourceLocator(ResourceLocatorTool.getClassPathResource(
                    SimpleObjExample.class, "com/ardor3d/example/media/models/md2/"), ".dds", ".jpg", ".png", ".tga",
                    ".pcx"));
        } catch (final URISyntaxException ex) {
            ex.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of com.ardor3d.util.resource.MultiFormatResourceLocator

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.