Package com.ngt.jopenmetaverse.shared.sim.imaging

Examples of com.ngt.jopenmetaverse.shared.sim.imaging.DecodedTgaImage


      if (item.LoadAssetFromCache)
      {
        item.TextureData = Client.assets.Cache.getCachedAssetBytes(item.Data.TextureInfo.TextureID);
      }

      DecodedTgaImage cachedImage  = decodeJpeg200Image(item.TextureData);
      if(cachedImage == null)
        throw new Exception("Error in decoding the image: " + item.Data.TextureInfo.TextureID);

      item.Data.TextureInfo.HasAlpha = cachedImage.hasAlpha;
      item.Data.TextureInfo.FullAlpha = cachedImage.fullAlpha;
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.imaging.DecodedTgaImage

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.