Package se.llbit.chunky.resources

Examples of se.llbit.chunky.resources.PFMTexture


    }
    if (textureFile.exists()) {
      try {
        logger.info("Loading sky map: " + fileName);
        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));
        }
View Full Code Here

TOP

Related Classes of se.llbit.chunky.resources.PFMTexture

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.