Package com.jme.util.resource

Examples of com.jme.util.resource.SimpleResourceLocator


        Node modelNode = null;
        URL origFile = settings.getModelURL();

        HashMap<URL, String> textureFilesMapping = new HashMap();
        ImportedModel importedModel = new ImportedModel(origFile, textureFilesMapping);
        SimpleResourceLocator resourceLocator=null;
        try {
            URL baseDir = new URL(origFile.toExternalForm().substring(0, origFile.toExternalForm().lastIndexOf('/')+1));
            resourceLocator = new RecordingResourceLocator(baseDir, textureFilesMapping);
            ResourceLocatorTool.addThreadResourceLocator(
                    ResourceLocatorTool.TYPE_TEXTURE,
View Full Code Here

TOP

Related Classes of com.jme.util.resource.SimpleResourceLocator

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.