Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Get viaWebGL + openSeadragonGL stable release!See how it works

OpenSeadragon shaders by openSeadragonGL

Featured as an OpenSeadragon Plugin!

Sobel filter on tiled image

openSD = OpenSeadragon({
        tileSources: '../tiles.dzi',
        prefixUrl: '../your/icons/',
        id: 'viaWebGL'
});
seaGL = new openSeadragonGL(openSD);
seaGL.addHandler('tile-drawing');
seaGL.vShader = '../fileV.glsl';
seaGL.fShader = '../fileF.glsl';
seaGL.init();

##seaGL.addHandler(eventName, gl-handler)

Parameter Type About
eventName String "gl-drawing" or "gl-loaded"
gl-handler Function Needed for custom access to the webGL API

Image shaders by viaWebGL

Sobel filter on vector image

image = new Image();
viaGL = new ViaWebGL();

image.onload = function() {
    viaGL.vShader = '../fileV.glsl';
    viaGL.fShader = '../fileF.glsl';
    viaGL.init(image);
}
image.src = '../file.type';

About this project

Harvard VCG

About

GLSL Shaders on OpenSeadragon zoomable tiles or any other image viaWebGL

Resources

License

You can’t perform that action at this time.