Package se.llbit.chunky.world

Examples of se.llbit.chunky.world.SkymapTexture$TexturePreprocessor


        if (fileName.toLowerCase().endsWith(".pfm")) {
          return new PFMTexture(textureFile);
        } else if (fileName.toLowerCase().endsWith(".hdr")) {
          return new HDRTexture(textureFile);
        } else {
          return new SkymapTexture(ImageIO.read(textureFile));
        }
      } catch (IOException e) {
        logger.warn("Could not load skymap: " + fileName);
      } catch (Throwable e) {
        logger.error("Unexpected exception ocurred!", e);
View Full Code Here

TOP

Related Classes of se.llbit.chunky.world.SkymapTexture$TexturePreprocessor

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.