them thar hills: shadin', texturin', blendin

16
them thar hills shadin’, texturin’, blendin’ Ross McDonald @mixedbredie

Upload: ross-mcdonald

Post on 19-Jan-2017

147 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Them thar hills: shadin', texturin', blendin

them thar hills

shadin’, texturin’, blendin’

Ross McDonald @mixedbredie

Page 2: Them thar hills: shadin', texturin', blendin

Take one DEM

Intermap 10m DTM

Page 3: Them thar hills: shadin', texturin', blendin

Add a colour gradient

Page 4: Them thar hills: shadin', texturin', blendin

Make a hill shade

Note the hatching effect caused by live hill shade renderer

Page 5: Them thar hills: shadin', texturin', blendin

Multiply blend

Page 6: Them thar hills: shadin', texturin', blendin

What is texture shading?

An alternative shaded relief technique Based on fractional Laplacian algorithms Emphasises drainage network Highlights the visual hierarchy Developed by Leland Brown Open source under BSD 2-clause www.textureshading.com Mac and Win binaries, compile on Linux

Page 7: Them thar hills: shadin', texturin', blendin

Take one DEM

Page 8: Them thar hills: shadin', texturin', blendin

Workflow

Convert GeoTIFF to GridFloat gdal_translate –of EHdr –ot Float32 in.tif out.flt

Generate a texture ./texture 2/3 out.flt texture.flt

Export a GeoTIFF ./texture_image +2.0 texture.flt texture.tif

Page 9: Them thar hills: shadin', texturin', blendin

Texture shaded DEM

Page 10: Them thar hills: shadin', texturin', blendin

Coloured in

Page 11: Them thar hills: shadin', texturin', blendin

Blended with hill shade

Page 12: Them thar hills: shadin', texturin', blendin

Without texture shade

Page 13: Them thar hills: shadin', texturin', blendin

Blender 3D

OS Terrain50 DTM See https://wanderingcartographer.wordpress.com/ for workflows

Page 14: Them thar hills: shadin', texturin', blendin

Uses the BlenderGIS addon - https://github.com/domlysz/BlenderGIS

Page 15: Them thar hills: shadin', texturin', blendin

Comparison

QGIS/GDAL Quick

Easy

QGIS Raster menu

QGIS Live renderer (press F7 in 2.16)

Render artefacts

Texture Shading Download required

Easy to use

Some prep needed (Float32 DEM)

Memory dependent

Nice effect

Use alone or blend

Blender Separate app Steep learning curve More prep needed (Int16 DEM) RAM/CPU/GPU dependent Slow but lovely Realistic lighting