ray_shade1: Original Pure Base R Version of rayshader

Description Usage Details Value

View source: R/slow-shade.R

Description

This is based on the original Tyler Morgan Wall blog post, with some clean-up to functionalize, and with Wolf Vollprecht's bilinear interpolation adaptation function.

Usage

1
2
ray_shade1(heightmap, anglebreaks = seq(40, 50, 1), sunangle = 315,
  maxsearch = 100)

Details

It does not seem to work properly for all azimuths. We have not bothered to debug why. It seems to work for 0, 90.

inheritParams rayshader::ray_shade

Value

numeric matrix of shadow intensities between with values in &91;0,1&93;.


brodieG/shadow documentation built on Aug. 12, 2019, 1:50 p.m.