NEWS.md
render_camera()
functionplot_3d()
to specify location of viewportna.rm=FALSE
bug and add_overlay
issue fixedplot_3d
to draw NA
entries in the elevation matrix as holes in the 3D model. This can be used to slice the model into any shape.plot_3d
to include the new baseshape
argument, which has several built-in shapes c("circle","hex")
to overlay onto a matrix. This removes points in the elevation matrix outside the masked region.lineantialias
option to plot_3d
to allow the user to turn on antialiasing for the lines in the plot.shadow_exist
and remove_water
options from save_3dprint
to improve robustness. User now has to remove those 3D elements themselves when creating .stl file.add_overlay
when the input is a matrixplot_3d
with examples.save_png
in READMErender_label()
function to add text labels to 3D plots.progbar
arguments to be either FALSE
or interactive()
by defaultplot_3d
plot_3d
render_depth()
, a post-processing effect to add depth of field to 3D maps.render_water()
, which either adds or replaces a water layer on the existing 3D map.add_overlay()
, which adds a transparent or semi-transparent overlay to the current hillshade.montereybay
to mark it as internal data (for better user messages)save_3dprint()
to include the option to remove the shadow and water layers.plot_map()
no longer crashes R when “rotate” is a matrix rather than a single numeric value.plot_3d()
now displays warning if hillshade argument contains any values below 0 or more than 1.plot_3d
, a function to take hillshades/textures and visualize them with an elevation matrix in 3D. Includes water visualization and the ability to view the map as a solid object.ray_shade
and ambient_shade
- Added option to pass arguments to makeCluster function for parallel executionsphere_shade
function to apply spherical texture maps to elevation matrices.create_texture
function to allow user to programmatically create texture maps by specifying colors.ambient_shade
function to calculate ambient occlusion shadow maps.add_shadow
function to add shadow to existing shadow matrices/texture arrays.calculate_normal
function to pre-calculate normal vectors of elevation matrix for faster spherical shading.detect_water
function to automatically detect bodies of water (of a specified size) on an elevation matrix.write_png
function to save hillshaded maps to file.plot_map
function to parse and plot resulting hillshaded maps.