Creating Hillshades

Functions for generating hillshades

ambient_shade()

Calculate Ambient Occlusion Map

height_shade()

Calculate Terrain Color Map

lamb_shade()

Calculate Lambert Shading Map

ray_shade()

Calculate Raytraced Shadow Map

sphere_shade()

Calculate Surface Color Map

texture_shade()

Calculate Texture Shading Map

create_texture()

Create Texture

Creating Overlays

Functions for generating overlays to add to maps

generate_altitude_overlay()

Generate Altitude Overlay

generate_compass_overlay()

Generate Compass Overlay

generate_contour_overlay()

Generate Contour Overlay

generate_label_overlay()

Generate Label Overlay

generate_line_overlay()

Generate Line Overlay

generate_point_overlay()

Generate Point Overlay

generate_polygon_overlay()

Generate Polygon Overlay

generate_scalebar_overlay()

Generate Scalebar Overlay

generate_waterline_overlay()

Generate Waterline Overlay

detect_water()

Detect water

Adding Shadows and Overlays to Maps

Functions adding layers to maps.

add_overlay()

Add Overlay

add_shadow()

Add Shadow

add_water()

Add Water

Plotting and Saving 2D and 3D Visualizations

Functions for displaying/saving 2D visualizations and 3D prints

plot_3d()

Plot 3D

plot_gg()

Transform ggplot2 objects into 3D

plot_map()

Plot Map

save_3dprint()

Save 3D Print

save_obj()

Save OBJ

save_png()

Save PNG

Manipulate and Capture 3D Maps

Functions for adding features to 3D maps, rendering post-processing effects, and saving snapshots

render_camera()

Render Camera

render_compass()

Render Compass Symbol

render_depth()

Render Depth of Field

render_highquality()

Render High Quality

render_label()

Render Label

render_movie()

Render Movie

render_path()

Render Path

render_points()

Render Points

render_polygons()

Render Polygons

render_scalebar()

Render Scale Bar

render_snapshot()

Render Snapshot of 3D Visualization

render_water()

Render Water Layer

Helper functions for manipulating rasters

Helper functions to manipulate and simplify rasters.

calculate_normal()

Calculate Normal

raster_to_matrix()

Raster to Matrix

resize_matrix()

Resize Matrix

Included Data

Elevation data included with rayshader

montereybay

Monterey Bay combined topographic and bathymetric elevation matrix.

monterey_counties_sf

California County Data Around Monterey Bay

monterey_roads_sf

Road Data Around Monterey Bay