You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some use cases it is necessary to support Dynamic Range Adjustments on pixels on a WebGLTileLayer and GeoTIFFSource. Sometimes automatically recalculating it on every mapMoved event.
Currently as I know, it is only possible by doing calulations using WebGLTileLayer's getData(pixel) method on every extent change. And then updating styleVariables. I believe the first part of this is highly inefficient, so my question is:
Is there a better method implemented that is possible to use? Or is it something we can improve or develop on OpenLayers?
Do we need to create a custom shader? If so, how do we integrate it, do we need a custom WebGLTileLayer?
Is it possible and would it be more efficient to do a single getDataInExtent(extent) for every extent change?v
And how do we get to implementing a webgl shader doing everything outside of js? Is it viable?
Is it already possible to implement it in a style without updateStyleVariables from the outside?
Advice greatly appreciated.
The text was updated successfully, but these errors were encountered:
BeGj
changed the title
How to do ADRA on WebGLTileLayer + GeoTIFFSource (Automatic Dynamic Range Adjustment)
GeoTIFFSource
Mar 27, 2024
BeGj
changed the title
GeoTIFFSource
Implementing (A)DRA (Auto Dynamic Range Adjustment) using WebGLTileLayer?
Mar 27, 2024
BeGj
changed the title
Implementing (A)DRA (Auto Dynamic Range Adjustment) using WebGLTileLayer?
Implementing (A)DRA (Dynamic Range Adjustment) using WebGLTileLayer?
Mar 27, 2024
BeGj
changed the title
Implementing (A)DRA (Dynamic Range Adjustment) using WebGLTileLayer?
Implementing Dynamic Range Adjustment using WebGLTileLayer? Need advice and feedback
Mar 27, 2024
For some use cases it is necessary to support Dynamic Range Adjustments on pixels on a WebGLTileLayer and GeoTIFFSource. Sometimes automatically recalculating it on every mapMoved event.
Currently as I know, it is only possible by doing calulations using WebGLTileLayer's getData(pixel) method on every extent change. And then updating styleVariables. I believe the first part of this is highly inefficient, so my question is:
getDataInExtent(extent)
for every extent change?vupdateStyleVariables
from the outside?Advice greatly appreciated.
The text was updated successfully, but these errors were encountered: