Package de.fhpotsdam.unfolding.mapdisplay.shaders

Examples of de.fhpotsdam.unfolding.mapdisplay.shaders.BlurredMapDisplayShader


      // Mask shader also shades markers
      PImage maskImage = loadImage("test/mask-circular.png");
      shader = new MaskedMapDisplayShader(this, 400, 400, maskImage);
    } else {
      // Blur shader does not shade marker
      shader = new BlurredMapDisplayShader(this);
    }

    ((OpenGLMapDisplay) map.mapDisplay).setMapDisplayShader(shader);
  }
View Full Code Here


  public void setup() {
    size(800, 600, OPENGL);
    map = new UnfoldingMap(this, 100, 100, 600, 400);
    MapUtils.createDefaultEventDispatcher(this, map);

    mapDisplayShader = new BlurredMapDisplayShader(this);
    ((OpenGLMapDisplay) map.mapDisplay).setMapDisplayShader(mapDisplayShader);
  }
View Full Code Here

TOP

Related Classes of de.fhpotsdam.unfolding.mapdisplay.shaders.BlurredMapDisplayShader

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.