Additions

Changes

  • Fixed some documentation issues

Additions

  • Add additional arguments to windowsize in plot_3d() to specify location of viewport

Changes

  • Fix out-of-bounds memory issue with water layer generation

Additions

  • Added render_snapshot function capture and save images of the current rgl view to either file or the current device.
  • Added a pkgdown website for the package.
  • Added a NEWS.md file to track changes to the package.

Changes

  • Documentation updates and additions
  • Updated README
  • na.rm=FALSE bug and add_overlay issue fixed
  • Fix add_overlay dimensions when no transparency layer present

Additions

  • Updated plot_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.
  • Updated 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.
  • Added lineantialias option to plot_3d to allow the user to turn on antialiasing for the lines in the plot.

Changes

  • Removed 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.
  • Fixed add_overlay when the input is a matrix
  • Updated documentation for plot_3d with examples.
  • Fixed reference to save_png in README

Additions

Changes

  • Updated README
  • Fixed all progbar arguments to be either FALSE or interactive() by default
  • Changed progress bar to appear only when the user is in an interactive session (thanks @hadley)
  • Fixed bug with water edges not following non-zero water depth
  • Cleaned up documentation
  • Speed improvements for 3D rendering with plot_3d
  • Fixed small gaps and overlays in rendered water and edge lines in plot_3d
  • Implemented binary search for intersection, massive speed increase for ray_shade()
  • Moved Rcpp::checkUserInterrupt() to outer loop to speed up raytracing (thanks @brodieG)

Additions

  • Added render_depth(), a post-processing effect to add depth of field to 3D maps.
  • Added render_water(), which either adds or replaces a water layer on the existing 3D map.
  • Added add_overlay(), which adds a transparent or semi-transparent overlay to the current hillshade.
  • Added attribute to montereybay to mark it as internal data (for better user messages)

Changes

  • Changed save_3dprint() to include the option to remove the shadow and water layers.
  • Altered coordinates of plot_map to align with the center of the grid
  • Fix for add_water hex color bug
  • Fixed aspect ratio in plot_map()

Changes

  • Fixed out-of-bounds bug in C++ normal vector generation
  • 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.

Additions

  • Added save_3dprint, a function that exports 3D maps to a stereolithography (STL) format for 3D printing.
  • Add hex logo to README

Changes

  • Fixed small overhand on 3D base.
  • Changed write_png to save_png
  • Corrected orientation of polygons in plot_3d

CRAN fixes

  • Fixed lack of examples in some functions for CRAN and changed calls to

Changes

  • Removed remove_edges option: the x/y dimensions of the outputs and inputs are now always consistent.
  • make_shadow bugfix

Additions

  • Implemented custom C++ version of akima::bilinear.grid to remove non-GPL software dependency
  • Add ability for add_water to work with matrices

Changes

  • Turn off examples for plot_3d
  • Fix issue with non-exporting internal Rcpp functions to foreach
  • Added description to ray
  • Update DESCRIPTION

Additions

  • Added shadow color option

Changes

  • Fixed background color to blend in with shadow
  • Fixed description of error in sphere_shade
  • Small updates to documentation

Additions

  • Added default settings for zscale when montereybay dataset used and zscale is not passed in by user

Additions

  • Added example dataset montereybay
  • Update pipe import from magrittr

Additions

  • Added 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.
  • Added zscale argument to detect_water.

Changes

  • Changed default orientation to match the orientation of the matrix.
  • Changed detect_water and calculate_normals to not show a progress bar by default.
  • Changed ambient_shade to default to 1-45 degrees, instead of 0-45.
  • Changed write_png to stop when user doesn’t provide a filename.
  • Updated README
  • ray_shade and ambient_shade - Added option to pass arguments to makeCluster function for parallel execution

Additions

  • Added sphere_shade function to apply spherical texture maps to elevation matrices.
  • Added create_texture function to allow user to programmatically create texture maps by specifying colors.
  • Added ambient_shade function to calculate ambient occlusion shadow maps.
  • Added add_shadow function to add shadow to existing shadow matrices/texture arrays.
  • Added calculate_normal function to pre-calculate normal vectors of elevation matrix for faster spherical shading.
  • Added detect_water function to automatically detect bodies of water (of a specified size) on an elevation matrix.
  • Added write_png function to save hillshaded maps to file.
  • Added plot_map function to parse and plot resulting hillshaded maps.
  • Added the ability to add a mask to raytracing and ambient occlusion so only certain areas are raytraced.

Changes

  • Changed names of functions to be snake_case.
  • Various bugfixes
  • Out of bounds memory bug fix

Additions

  • Added Lambertian shading by default to the rayshade function.
  • Added standalone lambshade function.
  • Added progress bar support.
  • Added option to remove edges. Default TRUE.

Changes

  • Changed angles all to degrees instead of radians.
  • Removed verbose option.
  • Initial commit. Basic functionality implemented and documentation written.