Examples of BitmapBufferedImageImpl


Examples of com.ngt.jopenmetaverse.shared.sim.imaging.platform.jclient.BitmapBufferedImageImpl

  @Test
  public void cloneRotateAndFlipTests() throws Exception
  {
    try{
      File[] files = FileUtils.getFileList(resourceLocation, true);
      BitmapBufferedImageImpl abbi;
      for(File f: files)
      {

        BufferedImage bitmap = ImageIO.read(new File(f.getAbsolutePath()));
        abbi = new BitmapBufferedImageImpl(bitmap);
        cloneResizeAndSave(abbi, FileUtils.combineFilePath(outputLocation, f.getName()));
        cloneTileAndSave(abbi, 5, FileUtils.combineFilePath(outputLocation, f.getName()));
        cloneTileAndSave(abbi, 5, FileUtils.combineFilePath(outputLocation, f.getName()));
        cloneRotateAndFlip(abbi, Math.toRadians(0), true, false,
            FileUtils.combineFilePath(outputLocation, f.getName()));
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.sim.imaging.platform.jclient.BitmapBufferedImageImpl

    * Initializes the texture of this example.
    * @throws Exception
    */
   private void initTextures() throws Exception {
     if(terrainImage == null)
       terrainImage = new BitmapBufferedImageImpl(ImageIO.read(new File(Settings.RESOURCE_DIR + "/textures/moon.jpeg")));

     textureId[0] = RHelp.GLLoadImage(terrainImage, true);

     GL11.glEnable(GL11.GL_TEXTURE_2D);
     GL11.glBindTexture(GL11.GL_TEXTURE_2D, textureId[0]);
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.sim.imaging.platform.jclient.BitmapBufferedImageImpl

    * Initializes the texture of this example.
    * @throws Exception
    */
   private void initTextures() throws Exception {
     if(terrainImage == null)
       terrainImage = new BitmapBufferedImageImpl(ImageIO.read(new File(Settings.RESOURCE_DIR + "/textures/moon.jpeg")));

     textureId[0] = RHelp.GLLoadImage(terrainImage, true);

     GL11.glEnable(GL11.GL_TEXTURE_2D);
     GL11.glBindTexture(GL11.GL_TEXTURE_2D, textureId[0]);
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.sim.imaging.platform.jclient.BitmapBufferedImageImpl

   * Initializes the texture of this example.
   * @throws Exception
   */
  private void initTextures() throws Exception {
    if(terrainImage == null)
      terrainImage = new BitmapBufferedImageImpl(ImageIO.read(new File(Settings.RESOURCE_DIR + "/textures/moon.jpeg")));
   
        textureId[0] = RHelp.GLLoadImage(terrainImage, true);
       
        GL11.glEnable(GL11.GL_TEXTURE_2D);
        GL11.glBindTexture(GL11.GL_TEXTURE_2D, textureId[0]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.