chateauferret / calenhad

Calenhad is GIS and terrain creation for imaginary worlds.
5 stars 4 forks source link

Rasters of different sizes #64

Closed chateauferret closed 3 years ago

chateauferret commented 6 years ago

Don't know how feasible it is with current OpenGL functionality to store and index many rasters of different sizes on the GPU. Certainly in a texture array all the rasters have to have the same dimensions so little is gained by storing all the rasters each in a buffer the size of the largest raster = lots of wasted space.

chateauferret commented 4 years ago

Approach will be to store on the GPU a list of indices into the start of each raster within the raster upload buffer.