QGIS Processing scripts, models and plugins for X3D export
Steps to try out:
- get a DEM (for example from ned.gov, or https://github.com/andreasplesch/QGIS-X3D-Processing/raw/master/examples/output/n35w120utmWGS84samll.tif)
- load into qgis
- crop and downsample to ca. 500x500 pixels, warp to longlat WGS84
- get all processing scripts and models from here: https://github.com/andreasplesch/QGIS-X3D-Processing/archive/master.zip
- load into qgis
- run raster2x3dom model
- open resulting html file
- finalize DEM raster to GeoElevationGrid: better metadata from qgis, doc strings
- perhaps option to enable wrap around by repeating first column after last column
- document other scripts
- geoOrigin option: DEF/USE, needs to be first, include optionally with empty scene and update when appending ?
- use wiki for example processing workflow
- add draping of other raster as texture: think about how to modularize -- warp to crs of other raster script -- crop/enlarge to extent of other raster script -- save as jpg script (probably not useful): use rasterlayer.previewAsImage(full size), then Qimage.save
- color contour option: use 1d texture and generated UVs where U is normalized elevation
- extrude polygons from vector layer by height attribute or constant -- need to be in projected crs, then just use first point as reference, and first point geographic coordinates for geolocation
- GeoLOD option: use gdal tile functionality for both DEM and imagery ...
small
large (takes a couple minutes to display):
medium (topo30 resampled to 600x300, 100x v.e.)
https://rawgit.com/andreasplesch/QGIS-X3D-Processing/master/examples/output/topo30_600x300.html