diff --git a/404.html b/404.html index 9e1fa741..6af0e9a2 100644 --- a/404.html +++ b/404.html @@ -37,7 +37,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -141,7 +141,7 @@

Page not found (404)

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/CODE_OF_CONDUCT.html b/CODE_OF_CONDUCT.html index 7c72a987..5a3c3f33 100644 --- a/CODE_OF_CONDUCT.html +++ b/CODE_OF_CONDUCT.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -148,7 +148,7 @@

Attribution -

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index 6100dfec..1adad1b9 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -129,7 +129,7 @@

Pull Request Process -

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/authors.html b/authors.html index 5fce27a2..9309ab20 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -109,14 +109,14 @@

Citation

Morgan-Wall T (2024). rayshader: Create Maps and Visualize Data in 2D and 3D. -R package version 0.38.1, +R package version 0.38.4, https://github.com/tylermorganwall/rayshader, https://www.rayshader.com.

@Manual{,
   title = {rayshader: Create Maps and Visualize Data in 2D and 3D},
   author = {Tyler Morgan-Wall},
   year = {2024},
-  note = {R package version 0.38.1,
+  note = {R package version 0.38.4,
      https://github.com/tylermorganwall/rayshader},
   url = {https://www.rayshader.com},
 }
@@ -132,7 +132,7 @@

Citation

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/index.html b/index.html index 4e873a42..b66923e0 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -683,7 +683,7 @@

Developers

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/news/index.html b/news/index.html index 9c5d93bc..4606f58a 100644 --- a/news/index.html +++ b/news/index.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -382,7 +382,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/add_overlay.html b/reference/add_overlay.html index 80b66626..e307f9c4 100644 --- a/reference/add_overlay.html +++ b/reference/add_overlay.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -182,7 +182,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/add_padding.html b/reference/add_padding.html index 36d6b9fa..aed1d4c9 100644 --- a/reference/add_padding.html +++ b/reference/add_padding.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -127,7 +127,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/add_shadow.html b/reference/add_shadow.html index 531d2c63..8a9153d2 100644 --- a/reference/add_shadow.html +++ b/reference/add_shadow.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -180,7 +180,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/add_water.html b/reference/add_water.html index 36477039..c846fe0d 100644 --- a/reference/add_water.html +++ b/reference/add_water.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -162,7 +162,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/ambient_shade.html b/reference/ambient_shade.html index 4bbeca19..43c44160 100644 --- a/reference/ambient_shade.html +++ b/reference/ambient_shade.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -202,7 +202,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/build_from_w.html b/reference/build_from_w.html index de83f036..a073104c 100644 --- a/reference/build_from_w.html +++ b/reference/build_from_w.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/calculate_normal.html b/reference/calculate_normal.html index bbb4dcaa..f66df269 100644 --- a/reference/calculate_normal.html +++ b/reference/calculate_normal.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -152,7 +152,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/cloud_shade-1.png b/reference/cloud_shade-1.png index 937a46ca..635ef7d2 100644 Binary files a/reference/cloud_shade-1.png and b/reference/cloud_shade-1.png differ diff --git a/reference/cloud_shade-2.png b/reference/cloud_shade-2.png index bb7d00d6..e261352f 100644 Binary files a/reference/cloud_shade-2.png and b/reference/cloud_shade-2.png differ diff --git a/reference/cloud_shade.html b/reference/cloud_shade.html index 860b758a..780a9e63 100644 --- a/reference/cloud_shade.html +++ b/reference/cloud_shade.html @@ -20,7 +20,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -248,7 +248,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/constant_shade.html b/reference/constant_shade.html index 845f91a8..b570d2e5 100644 --- a/reference/constant_shade.html +++ b/reference/constant_shade.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -175,7 +175,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/convert_color.html b/reference/convert_color.html index ccee5a68..44fbefcf 100644 --- a/reference/convert_color.html +++ b/reference/convert_color.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,6 @@

Value

Examples

#none
-
 
@@ -134,7 +133,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/convert_path_to_animation_coords-1.png b/reference/convert_path_to_animation_coords-1.png index 8212dae0..31bbd201 100644 Binary files a/reference/convert_path_to_animation_coords-1.png and b/reference/convert_path_to_animation_coords-1.png differ diff --git a/reference/convert_path_to_animation_coords-2.png b/reference/convert_path_to_animation_coords-2.png new file mode 100644 index 00000000..6f6a2b3a Binary files /dev/null and b/reference/convert_path_to_animation_coords-2.png differ diff --git a/reference/convert_path_to_animation_coords-3.png b/reference/convert_path_to_animation_coords-3.png new file mode 100644 index 00000000..c7daf044 Binary files /dev/null and b/reference/convert_path_to_animation_coords-3.png differ diff --git a/reference/convert_path_to_animation_coords.html b/reference/convert_path_to_animation_coords.html index f0a4b64e..ba57227f 100644 --- a/reference/convert_path_to_animation_coords.html +++ b/reference/convert_path_to_animation_coords.html @@ -21,7 +21,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -334,8 +334,9 @@

Examples

} rayimage::plot_image_grid(image_list, dim = c(5,5)) } -#> Error: Expecting a single string value: [type=list; extent=1]. +#> Warning: material set as vertex color but no texture or bump map passed--ignoring mesh3d material. + if(run_documentation()) { #Now render a third-person view by setting `follow_camera = TRUE` @@ -361,7 +362,8 @@

Examples

} rayimage::plot_image_grid(image_list, dim = c(5,5)) } -#> Error: Expecting a single string value: [type=list; extent=1]. +#> Warning: material set as vertex color but no texture or bump map passed--ignoring mesh3d material. + @@ -376,7 +378,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/convert_rgl_to_raymesh.html b/reference/convert_rgl_to_raymesh.html index 7f0a6d6d..59312cdd 100644 --- a/reference/convert_rgl_to_raymesh.html +++ b/reference/convert_rgl_to_raymesh.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -99,7 +99,12 @@

Convert rayshader RGL scene to ray_mesh object

-
convert_rgl_to_raymesh(save_shadow = TRUE)
+
convert_rgl_to_raymesh(
+  save_shadow = TRUE,
+  water_attenuation = 0,
+  water_surface_color = TRUE,
+  water_ior = 1
+)
@@ -109,6 +114,19 @@

Arguments

save_shadow

Default `FALSE`. If `TRUE`, this saves a plane with the shadow texture below the model.

+ +
water_attenuation
+

Default `0`, no attenuation. Amount that light should be attenuated when traveling through water.

+ + +
water_surface_color
+

Default `TRUE`. Whether the water should have a colored surface or not. This is in contrast to +setting a non-zero water attenuation, where the color comes from the attenuation of light in the water itself.

+ + +
water_ior
+

Default `1`. Water index of refraction.

+

Value

@@ -140,7 +158,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/create_texture.html b/reference/create_texture.html index 9b84aedb..99188e3a 100644 --- a/reference/create_texture.html +++ b/reference/create_texture.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -167,7 +167,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/cross.html b/reference/cross.html index 7ae8e569..8f365b1c 100644 --- a/reference/cross.html +++ b/reference/cross.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/darken_color.html b/reference/darken_color.html index 7247977b..6f7b5a25 100644 --- a/reference/darken_color.html +++ b/reference/darken_color.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -118,7 +118,6 @@

Value

Examples

#None
-
 
@@ -133,7 +132,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/detect_water.html b/reference/detect_water.html index 47b7b21d..e7081d3f 100644 --- a/reference/detect_water.html +++ b/reference/detect_water.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -182,7 +182,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/drawkeyfunction_lines.html b/reference/drawkeyfunction_lines.html index 7d025dc4..ee0035f6 100644 --- a/reference/drawkeyfunction_lines.html +++ b/reference/drawkeyfunction_lines.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/drawkeyfunction_points.html b/reference/drawkeyfunction_points.html index 565d99c8..99430e2b 100644 --- a/reference/drawkeyfunction_points.html +++ b/reference/drawkeyfunction_points.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/figures/websiteorange.png b/reference/figures/websiteorange.png new file mode 100644 index 00000000..72fa7c3d Binary files /dev/null and b/reference/figures/websiteorange.png differ diff --git a/reference/fix_manifold_geometry.html b/reference/fix_manifold_geometry.html index 5959ee8d..c9dc2edd 100644 --- a/reference/fix_manifold_geometry.html +++ b/reference/fix_manifold_geometry.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -114,7 +114,6 @@

Arguments

Examples

#Test
-
 
@@ -129,7 +128,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/flag_banner_obj.html b/reference/flag_banner_obj.html index ce41577e..a8e6186d 100644 --- a/reference/flag_banner_obj.html +++ b/reference/flag_banner_obj.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -128,7 +128,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/flag_full_obj.html b/reference/flag_full_obj.html index 10ef9f71..1cd07fd6 100644 --- a/reference/flag_full_obj.html +++ b/reference/flag_full_obj.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -128,7 +128,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/flag_pole_obj.html b/reference/flag_pole_obj.html index 7b9e3d13..68e5cbce 100644 --- a/reference/flag_pole_obj.html +++ b/reference/flag_pole_obj.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -128,7 +128,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/fliplr.html b/reference/fliplr.html index a81a956e..3b5539ba 100644 --- a/reference/fliplr.html +++ b/reference/fliplr.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -118,7 +118,6 @@

Value

Examples

#Fake example
-
 
@@ -133,7 +132,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/flipud.html b/reference/flipud.html index f7db7802..33791a54 100644 --- a/reference/flipud.html +++ b/reference/flipud.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -118,7 +118,6 @@

Value

Examples

#Fake example
-
 
@@ -133,7 +132,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/gen_fractal_perlin.html b/reference/gen_fractal_perlin.html index 2021580f..f40db7dc 100644 --- a/reference/gen_fractal_perlin.html +++ b/reference/gen_fractal_perlin.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -125,7 +125,6 @@

Value

Examples

#Fake example
-
 
@@ -140,7 +139,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_altitude_overlay.html b/reference/generate_altitude_overlay.html index ff653467..8e11271d 100644 --- a/reference/generate_altitude_overlay.html +++ b/reference/generate_altitude_overlay.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -188,7 +188,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_base_shape.html b/reference/generate_base_shape.html index bc5ce115..64330ae2 100644 --- a/reference/generate_base_shape.html +++ b/reference/generate_base_shape.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -110,7 +110,6 @@

Value

Examples

#Fake example
-
 
@@ -125,7 +124,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_cloud_layer.html b/reference/generate_cloud_layer.html index 551f1c11..c12ab8e0 100644 --- a/reference/generate_cloud_layer.html +++ b/reference/generate_cloud_layer.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -127,7 +127,6 @@

Value

Examples

#Fake example
-
 
@@ -142,7 +141,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_compass_overlay.html b/reference/generate_compass_overlay.html index c2afd5bf..cd5d65d2 100644 --- a/reference/generate_compass_overlay.html +++ b/reference/generate_compass_overlay.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -340,7 +340,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_contour_overlay.html b/reference/generate_contour_overlay.html index 9f2bf06a..8a073009 100644 --- a/reference/generate_contour_overlay.html +++ b/reference/generate_contour_overlay.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -240,7 +240,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_label_overlay.html b/reference/generate_label_overlay.html index 9819deb6..79751323 100644 --- a/reference/generate_label_overlay.html +++ b/reference/generate_label_overlay.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -345,7 +345,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_line_overlay.html b/reference/generate_line_overlay.html index d743e657..8d5e0cfd 100644 --- a/reference/generate_line_overlay.html +++ b/reference/generate_line_overlay.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -229,7 +229,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_point_overlay.html b/reference/generate_point_overlay.html index 95ddb1cf..b2c4a89c 100644 --- a/reference/generate_point_overlay.html +++ b/reference/generate_point_overlay.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -210,7 +210,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_polygon_overlay.html b/reference/generate_polygon_overlay.html index d29e480d..59f8aabc 100644 --- a/reference/generate_polygon_overlay.html +++ b/reference/generate_polygon_overlay.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -243,7 +243,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_rot_matrix.html b/reference/generate_rot_matrix.html index 5164a02d..bcffee97 100644 --- a/reference/generate_rot_matrix.html +++ b/reference/generate_rot_matrix.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_scalebar_overlay.html b/reference/generate_scalebar_overlay.html index 8c420ef3..af804c9e 100644 --- a/reference/generate_scalebar_overlay.html +++ b/reference/generate_scalebar_overlay.html @@ -21,7 +21,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -425,7 +425,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_soil_textures.html b/reference/generate_soil_textures.html index e7df70a4..fe2b9432 100644 --- a/reference/generate_soil_textures.html +++ b/reference/generate_soil_textures.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -146,7 +146,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_surface.html b/reference/generate_surface.html index 762e75a6..20b72612 100644 --- a/reference/generate_surface.html +++ b/reference/generate_surface.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -128,7 +128,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/generate_waterline_overlay.html b/reference/generate_waterline_overlay.html index a02cf5a0..46e6d44a 100644 --- a/reference/generate_waterline_overlay.html +++ b/reference/generate_waterline_overlay.html @@ -21,7 +21,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -329,7 +329,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/get_extent.html b/reference/get_extent.html index efec4ba2..235c2b4f 100644 --- a/reference/get_extent.html +++ b/reference/get_extent.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -127,7 +127,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/get_ids_with_labels.html b/reference/get_ids_with_labels.html index ecc2e0f6..9d67886d 100644 --- a/reference/get_ids_with_labels.html +++ b/reference/get_ids_with_labels.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -127,7 +127,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/get_interpolated_points_path.html b/reference/get_interpolated_points_path.html index fa030853..cf2d13ec 100644 --- a/reference/get_interpolated_points_path.html +++ b/reference/get_interpolated_points_path.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/get_polygon_data_value.html b/reference/get_polygon_data_value.html index d095985e..c7cc1b6a 100644 --- a/reference/get_polygon_data_value.html +++ b/reference/get_polygon_data_value.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -128,7 +128,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/get_scene_depth.html b/reference/get_scene_depth.html index c9ee7c7d..900c226e 100644 --- a/reference/get_scene_depth.html +++ b/reference/get_scene_depth.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/height_shade.html b/reference/height_shade.html index c57eb2d0..5323a026 100644 --- a/reference/height_shade.html +++ b/reference/height_shade.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -182,7 +182,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/index.html b/reference/index.html index 9bc0d9ed..0a2c547f 100644 --- a/reference/index.html +++ b/reference/index.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -397,7 +397,7 @@

pkgdown utils
-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/lamb_shade.html b/reference/lamb_shade.html index c3c9dd7c..7cb3bc8a 100644 --- a/reference/lamb_shade.html +++ b/reference/lamb_shade.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -185,7 +185,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/load_image.html b/reference/load_image.html index e293e6fe..bdf57978 100644 --- a/reference/load_image.html +++ b/reference/load_image.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -118,7 +118,6 @@

Value

Examples

#Fake example
-
 
@@ -133,7 +132,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/local_to_world.html b/reference/local_to_world.html index 98c49ad2..27dacf70 100644 --- a/reference/local_to_world.html +++ b/reference/local_to_world.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/lookat.html b/reference/lookat.html index 0df6c423..02264f4a 100644 --- a/reference/lookat.html +++ b/reference/lookat.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/make_base.html b/reference/make_base.html index ba7b683d..0f84351d 100644 --- a/reference/make_base.html +++ b/reference/make_base.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -148,7 +148,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/make_base_triangulated.html b/reference/make_base_triangulated.html index 0dce372f..a1a8ea68 100644 --- a/reference/make_base_triangulated.html +++ b/reference/make_base_triangulated.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/make_lines.html b/reference/make_lines.html index 55a93ea5..1fc131a0 100644 --- a/reference/make_lines.html +++ b/reference/make_lines.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -156,7 +156,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/make_shadow.html b/reference/make_shadow.html index eb152c40..48ff4484 100644 --- a/reference/make_shadow.html +++ b/reference/make_shadow.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -138,7 +138,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/make_water.html b/reference/make_water.html index 57a6599b..cb134704 100644 --- a/reference/make_water.html +++ b/reference/make_water.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -146,7 +146,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/make_waterlines.html b/reference/make_waterlines.html index 79aaccab..071a8656 100644 --- a/reference/make_waterlines.html +++ b/reference/make_waterlines.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -156,7 +156,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/monterey_counties_sf.html b/reference/monterey_counties_sf.html index 3518a3bb..338a3f8c 100644 --- a/reference/monterey_counties_sf.html +++ b/reference/monterey_counties_sf.html @@ -21,7 +21,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -124,7 +124,6 @@

Examples

# This is the full code (commented out) used to generate this dataset from the original data:
 #counties = sf::st_read("tl_2016_06_cousub.shp")
 #monterey_counties_sf = sf::st_crop(counties, attr(montereybay,"extent"))
-
 
@@ -139,7 +138,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/monterey_roads_sf.html b/reference/monterey_roads_sf.html index 812a01ae..a4869243 100644 --- a/reference/monterey_roads_sf.html +++ b/reference/monterey_roads_sf.html @@ -20,7 +20,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -122,7 +122,6 @@

Examples

# This is the full code (commented out) used to generate this dataset from the original data:
 #counties = sf::st_read("tl_2015_06_prisecroads.shp")
 #monterey_roads_sf = sf::st_crop(counties, attr(montereybay,"extent"))
-
 
@@ -137,7 +136,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/montereybay.html b/reference/montereybay.html index 95050ff9..c75d7e03 100644 --- a/reference/montereybay.html +++ b/reference/montereybay.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,6 @@

Examples

#attr(montereybay, "crs") = crs(monterey_cropped) #attr(montereybay, "crs") = crs(monterey_cropped) #attr(montereybay, "rayshader_data") = TRUE - @@ -146,7 +145,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/pipe.html b/reference/pipe.html index e1cd8fa8..5a730fe4 100644 --- a/reference/pipe.html +++ b/reference/pipe.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/plot_3d-1.png b/reference/plot_3d-1.png index 3d3dc46e..b2cf43c1 100644 Binary files a/reference/plot_3d-1.png and b/reference/plot_3d-1.png differ diff --git a/reference/plot_3d-2.png b/reference/plot_3d-2.png index d03e7a8b..65528c08 100644 Binary files a/reference/plot_3d-2.png and b/reference/plot_3d-2.png differ diff --git a/reference/plot_3d-3.png b/reference/plot_3d-3.png index a5eda651..71b3df0d 100644 Binary files a/reference/plot_3d-3.png and b/reference/plot_3d-3.png differ diff --git a/reference/plot_3d-4.png b/reference/plot_3d-4.png index e3234425..f03f0a89 100644 Binary files a/reference/plot_3d-4.png and b/reference/plot_3d-4.png differ diff --git a/reference/plot_3d-5.png b/reference/plot_3d-5.png index 8fea22a7..6ab10b65 100644 Binary files a/reference/plot_3d-5.png and b/reference/plot_3d-5.png differ diff --git a/reference/plot_3d-6.png b/reference/plot_3d-6.png index 5ae65ef0..a3476664 100644 Binary files a/reference/plot_3d-6.png and b/reference/plot_3d-6.png differ diff --git a/reference/plot_3d.html b/reference/plot_3d.html index 9e128cba..ee75c8f5 100644 --- a/reference/plot_3d.html +++ b/reference/plot_3d.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -432,7 +432,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/plot_gg-1.png b/reference/plot_gg-1.png index d5dcd4ba..3c0c54eb 100644 Binary files a/reference/plot_gg-1.png and b/reference/plot_gg-1.png differ diff --git a/reference/plot_gg-10.png b/reference/plot_gg-10.png index 3b0f4fda..01ce946c 100644 Binary files a/reference/plot_gg-10.png and b/reference/plot_gg-10.png differ diff --git a/reference/plot_gg-11.png b/reference/plot_gg-11.png index 92f10e1a..d4276db1 100644 Binary files a/reference/plot_gg-11.png and b/reference/plot_gg-11.png differ diff --git a/reference/plot_gg-12.png b/reference/plot_gg-12.png index 37c8b3e4..145b0c14 100644 Binary files a/reference/plot_gg-12.png and b/reference/plot_gg-12.png differ diff --git a/reference/plot_gg-13.png b/reference/plot_gg-13.png index 43e43699..aa780240 100644 Binary files a/reference/plot_gg-13.png and b/reference/plot_gg-13.png differ diff --git a/reference/plot_gg-14.png b/reference/plot_gg-14.png index 69963e07..c617eda6 100644 Binary files a/reference/plot_gg-14.png and b/reference/plot_gg-14.png differ diff --git a/reference/plot_gg-2.png b/reference/plot_gg-2.png index f8403f6f..b2101d2c 100644 Binary files a/reference/plot_gg-2.png and b/reference/plot_gg-2.png differ diff --git a/reference/plot_gg-3.png b/reference/plot_gg-3.png index f8587bdd..fe07b7fe 100644 Binary files a/reference/plot_gg-3.png and b/reference/plot_gg-3.png differ diff --git a/reference/plot_gg-4.png b/reference/plot_gg-4.png index b7a076ce..9709bc86 100644 Binary files a/reference/plot_gg-4.png and b/reference/plot_gg-4.png differ diff --git a/reference/plot_gg-5.png b/reference/plot_gg-5.png index e621e5ba..8f66c1ba 100644 Binary files a/reference/plot_gg-5.png and b/reference/plot_gg-5.png differ diff --git a/reference/plot_gg-6.png b/reference/plot_gg-6.png index 857a5a31..7aeee03e 100644 Binary files a/reference/plot_gg-6.png and b/reference/plot_gg-6.png differ diff --git a/reference/plot_gg-7.png b/reference/plot_gg-7.png index 57d5f5aa..fdad7ded 100644 Binary files a/reference/plot_gg-7.png and b/reference/plot_gg-7.png differ diff --git a/reference/plot_gg-8.png b/reference/plot_gg-8.png index fb6f21ae..fc8918eb 100644 Binary files a/reference/plot_gg-8.png and b/reference/plot_gg-8.png differ diff --git a/reference/plot_gg-9.png b/reference/plot_gg-9.png index 9c366079..869babe7 100644 Binary files a/reference/plot_gg-9.png and b/reference/plot_gg-9.png differ diff --git a/reference/plot_gg.html b/reference/plot_gg.html index 631e49eb..7d0070a5 100644 --- a/reference/plot_gg.html +++ b/reference/plot_gg.html @@ -25,7 +25,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -493,7 +493,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/plot_map.html b/reference/plot_map.html index 4802d272..d7d5acc9 100644 --- a/reference/plot_map.html +++ b/reference/plot_map.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -219,7 +219,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/raster_to_matrix.html b/reference/raster_to_matrix.html index 6fb16735..26ebd1ea 100644 --- a/reference/raster_to_matrix.html +++ b/reference/raster_to_matrix.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -141,7 +141,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/ray_merge_reorder.html b/reference/ray_merge_reorder.html index 02519d33..47433903 100644 --- a/reference/ray_merge_reorder.html +++ b/reference/ray_merge_reorder.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -124,7 +124,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/ray_shade.html b/reference/ray_shade.html index 281ed6b2..2e89d0e1 100644 --- a/reference/ray_shade.html +++ b/reference/ray_shade.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -230,7 +230,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/raymarch_cloud_layer.html b/reference/raymarch_cloud_layer.html index dc82db7d..0c34f0b5 100644 --- a/reference/raymarch_cloud_layer.html +++ b/reference/raymarch_cloud_layer.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,6 @@

Value

Examples

#Fake example
-
 
@@ -146,7 +145,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/reduce_matrix_size.html b/reference/reduce_matrix_size.html index 8af4dd82..41db5c75 100644 --- a/reference/reduce_matrix_size.html +++ b/reference/reduce_matrix_size.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -140,7 +140,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_beveled_polygons-1.png b/reference/render_beveled_polygons-1.png index c97a4d40..b8aa7af9 100644 Binary files a/reference/render_beveled_polygons-1.png and b/reference/render_beveled_polygons-1.png differ diff --git a/reference/render_beveled_polygons-2.png b/reference/render_beveled_polygons-2.png deleted file mode 100644 index 9733181c..00000000 Binary files a/reference/render_beveled_polygons-2.png and /dev/null differ diff --git a/reference/render_beveled_polygons-3.png b/reference/render_beveled_polygons-3.png deleted file mode 100644 index 551609c2..00000000 Binary files a/reference/render_beveled_polygons-3.png and /dev/null differ diff --git a/reference/render_beveled_polygons-4.png b/reference/render_beveled_polygons-4.png deleted file mode 100644 index 5dcb1549..00000000 Binary files a/reference/render_beveled_polygons-4.png and /dev/null differ diff --git a/reference/render_beveled_polygons-5.png b/reference/render_beveled_polygons-5.png deleted file mode 100644 index 67ff7e7d..00000000 Binary files a/reference/render_beveled_polygons-5.png and /dev/null differ diff --git a/reference/render_beveled_polygons-6.png b/reference/render_beveled_polygons-6.png deleted file mode 100644 index cadc8fad..00000000 Binary files a/reference/render_beveled_polygons-6.png and /dev/null differ diff --git a/reference/render_beveled_polygons.html b/reference/render_beveled_polygons.html index a656f96e..4a21c021 100644 --- a/reference/render_beveled_polygons.html +++ b/reference/render_beveled_polygons.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -324,14 +324,7 @@

Examples

#> Warning: st_buffer does not correctly buffer longitude/latitude data #> dist is assumed to be in decimal degrees (arc_degrees). #> Warning: st_simplify does not correctly simplify longitude/latitude data, dTolerance needs to be in decimal degrees -#> Warning: st_centroid assumes attributes are constant over geometries -#> Warning: st_centroid does not give correct centroids for longitude/latitude data -#> All `bevel_offset` greater than max offset in polygon of 6.905772, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 5.186830, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 4.704823, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 0.720301, calculating full polygon model - - +#> Error in render_beveled_polygons(mont_county_buff, flat_shading = TRUE, angle = 45, heightmap = montereybay, bevel_width = 2000, material = "red", extent = attr(montereybay, "extent"), bevel_height = 5000, base_height = 0, zscale = 200): raybevel required to use render_roofs() # Changing the color of the beveled top: if(run_documentation()) { @@ -342,17 +335,12 @@

Examples

bevel_height = 5000, base_height=0, zscale=200) } -#> Warning: st_centroid assumes attributes are constant over geometries -#> Warning: st_centroid does not give correct centroids for longitude/latitude data -#> All `bevel_offset` greater than max offset in polygon of 6.905772, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 5.186830, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 4.704823, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 0.720301, calculating full polygon model +#> Error in render_beveled_polygons(mont_county_buff, flat_shading = TRUE, angle = 45, heightmap = montereybay, bevel_width = 2000, material = "tan", bevel_material = "darkgreen", extent = attr(montereybay, "extent"), clear_previous = TRUE, bevel_height = 5000, base_height = 0, zscale = 200): raybevel required to use render_roofs() # We can create a nice curved surface by passing in a bevel generated with the # `raybevel::generate_bevel()` function. if(run_documentation()) { render_beveled_polygons(mont_county_buff, flat_shading = TRUE, heightmap = montereybay, - bevel = raybevel::generate_bevel("exp",bevel_end = 0.4), + bevel = raybevel::generate_bevel("exp",bevel_end = 0.4), #max_height = 10, scale_all_max = TRUE, set_max_height = TRUE, material = rayvertex::material_list(diffuse="red", ambient = "darkred", @@ -364,9 +352,7 @@

Examples

zscale=200) render_snapshot() } -#> Warning: st_centroid assumes attributes are constant over geometries -#> Warning: st_centroid does not give correct centroids for longitude/latitude data - +#> Error in render_beveled_polygons(mont_county_buff, flat_shading = TRUE, heightmap = montereybay, bevel = raybevel::generate_bevel("exp", bevel_end = 0.4), material = rayvertex::material_list(diffuse = "red", ambient = "darkred", diffuse_intensity = 0.2, ambient_intensity = 0.1), light_intensity = 1, light_relative = FALSE, extent = attr(montereybay, "extent"), bevel_height = 5000, base_height = 0, clear_previous = TRUE, zscale = 200): raybevel required to use render_roofs() # While the bevels all start at the same point in the above example, # they rise to different levels due to being scaled by the maximum internal distance @@ -374,7 +360,7 @@

Examples

# same maximum height (in this case, 3000m above the 5000m bevel start height). if(run_documentation()) { render_beveled_polygons(mont_county_buff, flat_shading = TRUE, heightmap = montereybay, - bevel = raybevel::generate_bevel("exp",bevel_end = 0.4), + bevel = raybevel::generate_bevel("exp",bevel_end = 0.4), max_height = 3000, scale_all_max = TRUE, set_max_height = TRUE, material = rayvertex::material_list(diffuse="red", ambient = "darkred", @@ -386,15 +372,13 @@

Examples

zscale=200) render_snapshot() } -#> Warning: st_centroid assumes attributes are constant over geometries -#> Warning: st_centroid does not give correct centroids for longitude/latitude data - +#> Error in render_beveled_polygons(mont_county_buff, flat_shading = TRUE, heightmap = montereybay, bevel = raybevel::generate_bevel("exp", bevel_end = 0.4), max_height = 3000, scale_all_max = TRUE, set_max_height = TRUE, material = rayvertex::material_list(diffuse = "red", ambient = "darkred", diffuse_intensity = 0.2, ambient_intensity = 0.1), light_intensity = 1, light_relative = FALSE, extent = attr(montereybay, "extent"), bevel_height = 5000, base_height = 0, clear_previous = TRUE, zscale = 200): raybevel required to use render_roofs() # Rendering the polygons with `render_highquality()` if(run_documentation()) { render_highquality() } - + # We can scale the size of the polygon to a column in the `sf` object as well: # raybevel::generate_bevel() function. We can scale this data down using the `scale_data` @@ -411,11 +395,7 @@

Examples

zscale=200) render_snapshot() } -#> Warning: st_centroid assumes attributes are constant over geometries -#> Warning: st_centroid does not give correct centroids for longitude/latitude data -#> All `bevel_offset` greater than max offset in polygon of 4.704823, calculating full polygon model -#> All `bevel_offset` greater than max offset in polygon of 0.720301, calculating full polygon model - +#> Error in render_beveled_polygons(mont_county_buff, flat_shading = TRUE, angle = 45, bevel_width = 1000, data_column_top = "ALAND", scale_data = 1e-05, heightmap = montereybay, material = rayvertex::material_list(diffuse = "red"), light_intensity = 1, light_relative = FALSE, extent = attr(montereybay, "extent"), clear_previous = TRUE, zscale = 200): raybevel required to use render_roofs() @@ -430,7 +410,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_buildings-1.png b/reference/render_buildings-1.png index 11974639..9b35e3c0 100644 Binary files a/reference/render_buildings-1.png and b/reference/render_buildings-1.png differ diff --git a/reference/render_buildings.html b/reference/render_buildings.html index 5bda0c15..6c8847b3 100644 --- a/reference/render_buildings.html +++ b/reference/render_buildings.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -350,7 +350,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_camera-1.png b/reference/render_camera-1.png index d9ecadec..ffbe0bf2 100644 Binary files a/reference/render_camera-1.png and b/reference/render_camera-1.png differ diff --git a/reference/render_camera-2.png b/reference/render_camera-2.png new file mode 100644 index 00000000..d68cb9c4 Binary files /dev/null and b/reference/render_camera-2.png differ diff --git a/reference/render_camera-3.png b/reference/render_camera-3.png new file mode 100644 index 00000000..b9b4c569 Binary files /dev/null and b/reference/render_camera-3.png differ diff --git a/reference/render_camera-4.png b/reference/render_camera-4.png new file mode 100644 index 00000000..12c7c5e2 Binary files /dev/null and b/reference/render_camera-4.png differ diff --git a/reference/render_camera-5.png b/reference/render_camera-5.png new file mode 100644 index 00000000..82d330f9 Binary files /dev/null and b/reference/render_camera-5.png differ diff --git a/reference/render_camera.html b/reference/render_camera.html index d51422ab..74ea747a 100644 --- a/reference/render_camera.html +++ b/reference/render_camera.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -151,7 +151,8 @@

Examples

render_snapshot(title_text = "Monterey Bay, CA", title_bar_color = "grey50") } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + #Shift to an overhead view (and change the text/title bar color) if(run_documentation()) { @@ -160,7 +161,8 @@

Examples

title_color = "white", title_bar_color = "darkgreen") } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + #Shift to an front view and add a vignette effect if(run_documentation()) { @@ -170,7 +172,8 @@

Examples

title_bar_color = "blue", vignette = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + #Change the field of view (fov) and make the title bar opaque. if(run_documentation()) { @@ -181,7 +184,8 @@

Examples

title_bar_color = "lightblue", vignette = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + #Here we render a series of frames to later stitch together into a movie. @@ -221,7 +225,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_clouds-1.png b/reference/render_clouds-1.png index 222be449..347a0871 100644 Binary files a/reference/render_clouds-1.png and b/reference/render_clouds-1.png differ diff --git a/reference/render_clouds-10.png b/reference/render_clouds-10.png index b9d2f5b7..43bc359c 100644 Binary files a/reference/render_clouds-10.png and b/reference/render_clouds-10.png differ diff --git a/reference/render_clouds-11.png b/reference/render_clouds-11.png index b25365e7..3eda6887 100644 Binary files a/reference/render_clouds-11.png and b/reference/render_clouds-11.png differ diff --git a/reference/render_clouds-12.png b/reference/render_clouds-12.png index fa8de502..f0f8e960 100644 Binary files a/reference/render_clouds-12.png and b/reference/render_clouds-12.png differ diff --git a/reference/render_clouds-2.png b/reference/render_clouds-2.png index 6e2665bd..9304c577 100644 Binary files a/reference/render_clouds-2.png and b/reference/render_clouds-2.png differ diff --git a/reference/render_clouds-3.png b/reference/render_clouds-3.png index 7e83cd12..3cab628c 100644 Binary files a/reference/render_clouds-3.png and b/reference/render_clouds-3.png differ diff --git a/reference/render_clouds-4.png b/reference/render_clouds-4.png index 1183fc2e..417272e3 100644 Binary files a/reference/render_clouds-4.png and b/reference/render_clouds-4.png differ diff --git a/reference/render_clouds-5.png b/reference/render_clouds-5.png index e5d1f600..95dcd29b 100644 Binary files a/reference/render_clouds-5.png and b/reference/render_clouds-5.png differ diff --git a/reference/render_clouds-6.png b/reference/render_clouds-6.png index 267b1ce7..351d2976 100644 Binary files a/reference/render_clouds-6.png and b/reference/render_clouds-6.png differ diff --git a/reference/render_clouds-7.png b/reference/render_clouds-7.png index b4177ab7..96b76b15 100644 Binary files a/reference/render_clouds-7.png and b/reference/render_clouds-7.png differ diff --git a/reference/render_clouds-8.png b/reference/render_clouds-8.png index bb62d936..e998643b 100644 Binary files a/reference/render_clouds-8.png and b/reference/render_clouds-8.png differ diff --git a/reference/render_clouds-9.png b/reference/render_clouds-9.png index dff12f05..3bb34551 100644 Binary files a/reference/render_clouds-9.png and b/reference/render_clouds-9.png differ diff --git a/reference/render_clouds.html b/reference/render_clouds.html index b3c2dbdf..5d5c5926 100644 --- a/reference/render_clouds.html +++ b/reference/render_clouds.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -326,7 +326,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_compass-1.png b/reference/render_compass-1.png index 1c8cb019..32a265ac 100644 Binary files a/reference/render_compass-1.png and b/reference/render_compass-1.png differ diff --git a/reference/render_compass-2.png b/reference/render_compass-2.png index a93ba2df..6280b740 100644 Binary files a/reference/render_compass-2.png and b/reference/render_compass-2.png differ diff --git a/reference/render_compass-3.png b/reference/render_compass-3.png index 02f983c5..d479730d 100644 Binary files a/reference/render_compass-3.png and b/reference/render_compass-3.png differ diff --git a/reference/render_compass-4.png b/reference/render_compass-4.png index e67a694e..7d9de55d 100644 Binary files a/reference/render_compass-4.png and b/reference/render_compass-4.png differ diff --git a/reference/render_compass-5.png b/reference/render_compass-5.png index 94c430e7..c04f0086 100644 Binary files a/reference/render_compass-5.png and b/reference/render_compass-5.png differ diff --git a/reference/render_compass-6.png b/reference/render_compass-6.png index 88100a06..6d3852a9 100644 Binary files a/reference/render_compass-6.png and b/reference/render_compass-6.png differ diff --git a/reference/render_compass-7.png b/reference/render_compass-7.png index c6b119a6..51f355cf 100644 Binary files a/reference/render_compass-7.png and b/reference/render_compass-7.png differ diff --git a/reference/render_compass-8.png b/reference/render_compass-8.png index d86e5725..ae968638 100644 Binary files a/reference/render_compass-8.png and b/reference/render_compass-8.png differ diff --git a/reference/render_compass.html b/reference/render_compass.html index 9e134cf2..d791c32e 100644 --- a/reference/render_compass.html +++ b/reference/render_compass.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -303,7 +303,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_contours-1.png b/reference/render_contours-1.png index 6a961fca..6ab1be07 100644 Binary files a/reference/render_contours-1.png and b/reference/render_contours-1.png differ diff --git a/reference/render_contours.html b/reference/render_contours.html index c4d0ce1b..1ef9865c 100644 --- a/reference/render_contours.html +++ b/reference/render_contours.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -224,7 +224,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_depth.html b/reference/render_depth.html index d9e824ba..97ef7d18 100644 --- a/reference/render_depth.html +++ b/reference/render_depth.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -432,7 +432,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_floating_overlay-1.png b/reference/render_floating_overlay-1.png new file mode 100644 index 00000000..ebc9a4f6 Binary files /dev/null and b/reference/render_floating_overlay-1.png differ diff --git a/reference/render_floating_overlay.html b/reference/render_floating_overlay.html index 80d79228..87ce0c3d 100644 --- a/reference/render_floating_overlay.html +++ b/reference/render_floating_overlay.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -205,7 +205,8 @@

Examples

} } #> `montereybay` dataset used with no zscale--setting `zscale=50`. For a realistic depiction, raise `zscale` to 200. -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + @@ -220,7 +221,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_highquality-1.png b/reference/render_highquality-1.png index e6e1cdba..92d0e81e 100644 Binary files a/reference/render_highquality-1.png and b/reference/render_highquality-1.png differ diff --git a/reference/render_highquality-2.png b/reference/render_highquality-2.png index 7700f154..fc70e65d 100644 Binary files a/reference/render_highquality-2.png and b/reference/render_highquality-2.png differ diff --git a/reference/render_highquality-3.png b/reference/render_highquality-3.png index fd35474c..36507009 100644 Binary files a/reference/render_highquality-3.png and b/reference/render_highquality-3.png differ diff --git a/reference/render_highquality-4.png b/reference/render_highquality-4.png index 34b49f55..4870f441 100644 Binary files a/reference/render_highquality-4.png and b/reference/render_highquality-4.png differ diff --git a/reference/render_highquality-5.png b/reference/render_highquality-5.png index 3c7c9297..bea420d8 100644 Binary files a/reference/render_highquality-5.png and b/reference/render_highquality-5.png differ diff --git a/reference/render_highquality-6.png b/reference/render_highquality-6.png index c412b6fb..ffee45f6 100644 Binary files a/reference/render_highquality-6.png and b/reference/render_highquality-6.png differ diff --git a/reference/render_highquality-7.png b/reference/render_highquality-7.png index 626cdc9e..1715116d 100644 Binary files a/reference/render_highquality-7.png and b/reference/render_highquality-7.png differ diff --git a/reference/render_highquality-8.png b/reference/render_highquality-8.png index c8b71c99..531a871a 100644 Binary files a/reference/render_highquality-8.png and b/reference/render_highquality-8.png differ diff --git a/reference/render_highquality.html b/reference/render_highquality.html index 889bd2e4..b5df1fec 100644 --- a/reference/render_highquality.html +++ b/reference/render_highquality.html @@ -21,7 +21,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,6 +119,9 @@

Render High Quality

lightintensity = 500, lightcolor = "white", material = rayrender::diffuse(), + water_attenuation = 0, + water_surface_color = TRUE, + water_ior = 1, override_material = FALSE, cache_scene = FALSE, reset_scene_cache = FALSE, @@ -220,6 +223,20 @@

Arguments

Default `rayrender::diffuse()`. The material properties of the object file. Only used if `override_material = TRUE`

+
water_attenuation
+

Default `0`, no attenuation. Amount that light should be attenuated when traveling through water. This +calculates 1-color

+ + +
water_surface_color
+

Default `TRUE`. Whether the water should have a colored surface or not. This is in contrast to +setting a non-zero water attenuation, where the color comes from the attenuation of light in the water itself.

+ + +
water_ior
+

Default `1`. Water index of refraction.

+ +
override_material

Default `FALSE`. Whether to override the default diffuse material with that in argument `material`.

@@ -494,7 +511,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_label-1.png b/reference/render_label-1.png index 085fecdb..8fadf948 100644 Binary files a/reference/render_label-1.png and b/reference/render_label-1.png differ diff --git a/reference/render_label-2.png b/reference/render_label-2.png index 7e5a5d35..fea349aa 100644 Binary files a/reference/render_label-2.png and b/reference/render_label-2.png differ diff --git a/reference/render_label-3.png b/reference/render_label-3.png new file mode 100644 index 00000000..b7e53e60 Binary files /dev/null and b/reference/render_label-3.png differ diff --git a/reference/render_label-4.png b/reference/render_label-4.png new file mode 100644 index 00000000..23ce0e09 Binary files /dev/null and b/reference/render_label-4.png differ diff --git a/reference/render_label-5.png b/reference/render_label-5.png new file mode 100644 index 00000000..bf751f2c Binary files /dev/null and b/reference/render_label-5.png differ diff --git a/reference/render_label.html b/reference/render_label.html index 4a987fb2..f29b51a0 100644 --- a/reference/render_label.html +++ b/reference/render_label.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -260,7 +260,8 @@

Examples

altitude=12000, zscale=50, text = "Santa Cruz") render_snapshot() } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + monterey = c(36.603053, -121.892933) #We can also change the linetype to dashed by setting `dashed = TRUE` (additional options allow @@ -273,7 +274,8 @@

Examples

dashed = TRUE, clear_previous = TRUE) render_snapshot() } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Error in validate_mesh(scene): !any(is.na(normals)) is not TRUE canyon = c(36.621049, -122.333912) #By default, z specifies the altitude above that point on the elevation matrix. We can also specify @@ -284,7 +286,9 @@

Examples

zscale=50,text = "Monterey Canyon", relativez=FALSE) render_snapshot() } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Error in validate_mesh(scene): !any(is.na(normals)) is not TRUE #We can also render labels in high quality with `render_highquality()`, specifying a custom #line radius. By default, the labels point towards the camera, but you can fix their angle with @@ -304,20 +308,20 @@

Examples

lightdirection = 180, clamp_value = 10, min_variance = 0, sample_method = "sobol_blue") } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 + if(run_documentation()) { #Fixed text angle render_highquality(samples = 128,text_size = 24, line_radius = 2, text_offset = c(0, 20, 0), lightdirection = 180, text_angle = 0, clamp_value=10, min_variance = 0, sample_method = "sobol_blue") } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 + #We can remove all existing labels by calling `render_label(clear_previous = TRUE)` if(run_documentation()) { render_label(clear_previous = TRUE) render_snapshot() } - + @@ -332,7 +336,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_movie.html b/reference/render_movie.html index e625a640..eafa31c9 100644 --- a/reference/render_movie.html +++ b/reference/render_movie.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -303,7 +303,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_multipolygonz-1.png b/reference/render_multipolygonz-1.png index 96596025..e0821097 100644 Binary files a/reference/render_multipolygonz-1.png and b/reference/render_multipolygonz-1.png differ diff --git a/reference/render_multipolygonz-2.png b/reference/render_multipolygonz-2.png index 694ea909..e892c7b1 100644 Binary files a/reference/render_multipolygonz-2.png and b/reference/render_multipolygonz-2.png differ diff --git a/reference/render_multipolygonz-3.png b/reference/render_multipolygonz-3.png index b80d6088..777d09c2 100644 Binary files a/reference/render_multipolygonz-3.png and b/reference/render_multipolygonz-3.png differ diff --git a/reference/render_multipolygonz.html b/reference/render_multipolygonz.html index e4c367c1..00604984 100644 --- a/reference/render_multipolygonz.html +++ b/reference/render_multipolygonz.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -248,7 +248,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_obj-3.png b/reference/render_obj-3.png index d28cefb7..f630d1a1 100644 Binary files a/reference/render_obj-3.png and b/reference/render_obj-3.png differ diff --git a/reference/render_obj.html b/reference/render_obj.html index 2b541bf5..b18a3f8b 100644 --- a/reference/render_obj.html +++ b/reference/render_obj.html @@ -22,7 +22,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -323,7 +323,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_path-1.png b/reference/render_path-1.png index 711ce628..bd96bf1c 100644 Binary files a/reference/render_path-1.png and b/reference/render_path-1.png differ diff --git a/reference/render_path-2.png b/reference/render_path-2.png index 3300545a..ef0fc8dd 100644 Binary files a/reference/render_path-2.png and b/reference/render_path-2.png differ diff --git a/reference/render_path-3.png b/reference/render_path-3.png index b99b408e..d1d454dd 100644 Binary files a/reference/render_path-3.png and b/reference/render_path-3.png differ diff --git a/reference/render_path-4.png b/reference/render_path-4.png new file mode 100644 index 00000000..d12450ba Binary files /dev/null and b/reference/render_path-4.png differ diff --git a/reference/render_path-5.png b/reference/render_path-5.png new file mode 100644 index 00000000..357f1636 Binary files /dev/null and b/reference/render_path-5.png differ diff --git a/reference/render_path-6.png b/reference/render_path-6.png new file mode 100644 index 00000000..547da100 Binary files /dev/null and b/reference/render_path-6.png differ diff --git a/reference/render_path.html b/reference/render_path.html index ede69f07..72434fa5 100644 --- a/reference/render_path.html +++ b/reference/render_path.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -316,7 +316,8 @@

Examples

use_extruded_paths = TRUE, sample_method = "sobol_blue", samples = 128) } -#> Error: Expecting a single string value: [type=list; extent=1]. +#> Warning: material set as vertex color but no texture or bump map passed--ignoring mesh3d material. + if(run_documentation()) { #We can also change the material of the objects by setting the `point_material` and #`point_material_args` arguments in `render_highquality()` @@ -325,7 +326,8 @@

Examples

path_material = rayrender::glossy, use_extruded_paths = TRUE, path_material_args = list(gloss = 0.5, reflectance = 0.2)) } -#> Error: Expecting a single string value: [type=list; extent=1]. +#> Warning: material set as vertex color but no texture or bump map passed--ignoring mesh3d material. + if(run_documentation()) { #For transmissive materials (like `dielectric`), we should specify that the path @@ -340,7 +342,8 @@

Examples

path_material = rayrender::dielectric, use_extruded_paths = TRUE, path_material_args = list(refraction = 1.5, attenuation = c(0.05,0.2,0.2))) } -#> Error: Expecting a single string value: [type=list; extent=1]. +#> Warning: material set as vertex color but no texture or bump map passed--ignoring mesh3d material. + @@ -355,7 +358,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_points-1.png b/reference/render_points-1.png index 59c5faef..c33109f1 100644 Binary files a/reference/render_points-1.png and b/reference/render_points-1.png differ diff --git a/reference/render_points-2.png b/reference/render_points-2.png index 2e7f1dc2..6562e3e1 100644 Binary files a/reference/render_points-2.png and b/reference/render_points-2.png differ diff --git a/reference/render_points-3.png b/reference/render_points-3.png index 385b6948..26a3a801 100644 Binary files a/reference/render_points-3.png and b/reference/render_points-3.png differ diff --git a/reference/render_points-4.png b/reference/render_points-4.png index bc5d10de..49348223 100644 Binary files a/reference/render_points-4.png and b/reference/render_points-4.png differ diff --git a/reference/render_points.html b/reference/render_points.html index dedc69e6..971fca75 100644 --- a/reference/render_points.html +++ b/reference/render_points.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -264,7 +264,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_polygons-1.png b/reference/render_polygons-1.png index 4bfaf7e1..8d36c540 100644 Binary files a/reference/render_polygons-1.png and b/reference/render_polygons-1.png differ diff --git a/reference/render_polygons-2.png b/reference/render_polygons-2.png index d0d63210..9970a5ea 100644 Binary files a/reference/render_polygons-2.png and b/reference/render_polygons-2.png differ diff --git a/reference/render_polygons-3.png b/reference/render_polygons-3.png index 5c814c50..37084625 100644 Binary files a/reference/render_polygons-3.png and b/reference/render_polygons-3.png differ diff --git a/reference/render_polygons-4.png b/reference/render_polygons-4.png index 80ae9b1e..809c4fc8 100644 Binary files a/reference/render_polygons-4.png and b/reference/render_polygons-4.png differ diff --git a/reference/render_polygons.html b/reference/render_polygons.html index 8eac7668..966e4c06 100644 --- a/reference/render_polygons.html +++ b/reference/render_polygons.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -282,7 +282,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_raymesh.html b/reference/render_raymesh.html index 72bcd858..323aa7bd 100644 --- a/reference/render_raymesh.html +++ b/reference/render_raymesh.html @@ -22,7 +22,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -283,7 +283,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_resize_window-1.png b/reference/render_resize_window-1.png index 82233de4..f068736c 100644 Binary files a/reference/render_resize_window-1.png and b/reference/render_resize_window-1.png differ diff --git a/reference/render_resize_window-2.png b/reference/render_resize_window-2.png index 473c8b57..8c24c387 100644 Binary files a/reference/render_resize_window-2.png and b/reference/render_resize_window-2.png differ diff --git a/reference/render_resize_window-3.png b/reference/render_resize_window-3.png index 7a7d68c2..a546a82d 100644 Binary files a/reference/render_resize_window-3.png and b/reference/render_resize_window-3.png differ diff --git a/reference/render_resize_window.html b/reference/render_resize_window.html index 8980e8a8..2144f172 100644 --- a/reference/render_resize_window.html +++ b/reference/render_resize_window.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -155,7 +155,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_scalebar-1.png b/reference/render_scalebar-1.png new file mode 100644 index 00000000..a131b681 Binary files /dev/null and b/reference/render_scalebar-1.png differ diff --git a/reference/render_scalebar-2.png b/reference/render_scalebar-2.png new file mode 100644 index 00000000..e2b95e38 Binary files /dev/null and b/reference/render_scalebar-2.png differ diff --git a/reference/render_scalebar-3.png b/reference/render_scalebar-3.png new file mode 100644 index 00000000..620d2538 Binary files /dev/null and b/reference/render_scalebar-3.png differ diff --git a/reference/render_scalebar-4.png b/reference/render_scalebar-4.png new file mode 100644 index 00000000..adeac95b Binary files /dev/null and b/reference/render_scalebar-4.png differ diff --git a/reference/render_scalebar-5.png b/reference/render_scalebar-5.png new file mode 100644 index 00000000..6f7a3a9b Binary files /dev/null and b/reference/render_scalebar-5.png differ diff --git a/reference/render_scalebar-6.png b/reference/render_scalebar-6.png new file mode 100644 index 00000000..d96acc4c Binary files /dev/null and b/reference/render_scalebar-6.png differ diff --git a/reference/render_scalebar-7.png b/reference/render_scalebar-7.png new file mode 100644 index 00000000..e22a9fe0 Binary files /dev/null and b/reference/render_scalebar-7.png differ diff --git a/reference/render_scalebar-8.png b/reference/render_scalebar-8.png new file mode 100644 index 00000000..e0719bc6 Binary files /dev/null and b/reference/render_scalebar-8.png differ diff --git a/reference/render_scalebar.html b/reference/render_scalebar.html index 46630162..164e2cc2 100644 --- a/reference/render_scalebar.html +++ b/reference/render_scalebar.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -209,7 +209,9 @@

Examples

render_snapshot() } #> `montereybay` dataset used with no zscale--setting `zscale=50`. For a realistic depiction, raise `zscale` to 200. -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #This function works with `render_highquality()` render_highquality(lightdirection = 250, lightaltitude = 40, @@ -217,7 +219,9 @@

Examples

sample_method = "sobol_blue", samples = 128) render_scalebar(clear_scalebar = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #We can change the position by specifying a cardinal direction to `position`, and the #color by setting `color_first` and `color_second` @@ -227,7 +231,9 @@

Examples

render_snapshot() render_scalebar(clear_scalebar = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #And switch the orientation by setting `text_switch_side = TRUE` render_scalebar(limits=c(0,80), label_unit = "km", position = "N", text_switch_side = TRUE, @@ -235,7 +241,9 @@

Examples

render_snapshot() render_scalebar(clear_scalebar = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #We can add additional breaks by specifying additional distances in `limits` @@ -243,7 +251,10 @@

Examples

render_snapshot() render_scalebar(clear_scalebar = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #We can also manually specify the height by setting the `y` argument: @@ -251,7 +262,10 @@

Examples

render_snapshot() render_scalebar(clear_scalebar = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #Here we change the total size by specifying a start and end point along the side, #and set the number of colored `segments`: @@ -262,7 +276,13 @@

Examples

render_snapshot() render_scalebar(clear_scalebar = TRUE) } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + if(run_documentation()) { #Change the radius of the scale bar with `radius`. Here, the autopositioning doesn't work well with #the labels, so we provide additional offsets with `text_y_offset` and `text_x_offset` to fix it. @@ -271,7 +291,10 @@

Examples

label_unit = "km", radius=10,text_y_offset=-20,text_x_offset=20) render_snapshot() } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} +#> Warning: Title position is ignored when not using {magick} + @@ -286,7 +309,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_snapshot-1.png b/reference/render_snapshot-1.png index e7ef3efd..280efe80 100644 Binary files a/reference/render_snapshot-1.png and b/reference/render_snapshot-1.png differ diff --git a/reference/render_snapshot-2.png b/reference/render_snapshot-2.png index 375d9284..10ceba5e 100644 Binary files a/reference/render_snapshot-2.png and b/reference/render_snapshot-2.png differ diff --git a/reference/render_snapshot-3.png b/reference/render_snapshot-3.png index e0aedf41..201481cb 100644 Binary files a/reference/render_snapshot-3.png and b/reference/render_snapshot-3.png differ diff --git a/reference/render_snapshot-4.png b/reference/render_snapshot-4.png new file mode 100644 index 00000000..375d9284 Binary files /dev/null and b/reference/render_snapshot-4.png differ diff --git a/reference/render_snapshot-5.png b/reference/render_snapshot-5.png new file mode 100644 index 00000000..e0aedf41 Binary files /dev/null and b/reference/render_snapshot-5.png differ diff --git a/reference/render_snapshot.html b/reference/render_snapshot.html index 1bfeffb3..ea71a457 100644 --- a/reference/render_snapshot.html +++ b/reference/render_snapshot.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -126,10 +126,10 @@

Render Snapshot of 3D Visualization

text_angle = NULL, text_size = 30, text_offset = c(0, 0, 0), - point_radius = 1, + point_radius = 0.5, line_offset = 1e-07, thick_lines = TRUE, - line_radius = 1, + line_radius = 0.25, cache_scene = FALSE, reset_scene_cache = FALSE, new_page = TRUE, @@ -266,7 +266,7 @@

Arguments

point_radius
-

Default `1`. Radius of 3D points (rendered with `render_points()`). This scales the existing +

Default `0.5`. Radius of 3D points (rendered with `render_points()`). This scales the existing value of size specified in `render_points()`.

@@ -281,7 +281,7 @@

Arguments

line_radius
-

Default `0.5`. The radius of the thick cylinders if `thick_lines = TRUE` and `software_render = TRUE`.

+

Default `0.25`. The radius of the thick cylinders if `thick_lines = TRUE` and `software_render = TRUE`.

cache_scene
@@ -356,7 +356,10 @@

Examples

vignette = TRUE, title_offset=c(0,20), title_font = "Helvetica", title_position = "north") } -#> Error: R: NonconformingDrawingPrimitiveDefinition `text' @ error/draw.c/RenderMVGContent/4456 +#> Warning: Title position is ignored when not using {magick} + +#> Warning: Title position is ignored when not using {magick} + #Use software rendering to render a scene with shadow mapping if(run_documentation()) { montereybay |> @@ -366,7 +369,7 @@

Examples

render_snapshot(software_render = TRUE) } #> `montereybay` dataset used with no zscale--setting `zscale=50`. For a realistic depiction, raise `zscale` to 200. - + if(run_documentation()) { #Now with shadow mapped shadows, calculated in rayvertex render_snapshot(rayvertex_lighting = TRUE, @@ -374,7 +377,7 @@

Examples

direction = c(-1, 1, -1)), rayvertex_shadow_map = TRUE, software_render = TRUE) } - + @@ -389,7 +392,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_snapshot_software.html b/reference/render_snapshot_software.html index e98135dc..6ea6e789 100644 --- a/reference/render_snapshot_software.html +++ b/reference/render_snapshot_software.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -148,7 +148,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_tree-5.png b/reference/render_tree-5.png index f6e55ddf..8783ad48 100644 Binary files a/reference/render_tree-5.png and b/reference/render_tree-5.png differ diff --git a/reference/render_tree-6.png b/reference/render_tree-6.png index 264d5b18..0af28a4e 100644 Binary files a/reference/render_tree-6.png and b/reference/render_tree-6.png differ diff --git a/reference/render_tree-7.png b/reference/render_tree-7.png index 4039a41c..e47ad299 100644 Binary files a/reference/render_tree-7.png and b/reference/render_tree-7.png differ diff --git a/reference/render_tree-8.png b/reference/render_tree-8.png index c0174618..b9190534 100644 Binary files a/reference/render_tree-8.png and b/reference/render_tree-8.png differ diff --git a/reference/render_tree.html b/reference/render_tree.html index 56e491e3..f9217d54 100644 --- a/reference/render_tree.html +++ b/reference/render_tree.html @@ -22,7 +22,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -397,7 +397,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/render_water-1.png b/reference/render_water-1.png index a7d07b45..c7922d93 100644 Binary files a/reference/render_water-1.png and b/reference/render_water-1.png differ diff --git a/reference/render_water-2.png b/reference/render_water-2.png index ffa9c93b..565256e2 100644 Binary files a/reference/render_water-2.png and b/reference/render_water-2.png differ diff --git a/reference/render_water-3.png b/reference/render_water-3.png index 9340905d..8ada6ef2 100644 Binary files a/reference/render_water-3.png and b/reference/render_water-3.png differ diff --git a/reference/render_water-4.png b/reference/render_water-4.png index be372683..26fd9a2e 100644 Binary files a/reference/render_water-4.png and b/reference/render_water-4.png differ diff --git a/reference/render_water.html b/reference/render_water.html index 3352959a..c7f74f84 100644 --- a/reference/render_water.html +++ b/reference/render_water.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -199,7 +199,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/resize_matrix.html b/reference/resize_matrix.html index 98efa973..42567c6a 100644 --- a/reference/resize_matrix.html +++ b/reference/resize_matrix.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -185,7 +185,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/rot_to_euler.html b/reference/rot_to_euler.html index 4386d417..feb8424a 100644 --- a/reference/rot_to_euler.html +++ b/reference/rot_to_euler.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -118,7 +118,6 @@

Value

Examples

#None
-
 
@@ -133,7 +132,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/run_documentation.html b/reference/run_documentation.html index d965603c..56ee5953 100644 --- a/reference/run_documentation.html +++ b/reference/run_documentation.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -126,7 +126,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/save_3dprint-1.png b/reference/save_3dprint-1.png index 62b5bdbb..1d5cc8db 100644 Binary files a/reference/save_3dprint-1.png and b/reference/save_3dprint-1.png differ diff --git a/reference/save_3dprint-2.png b/reference/save_3dprint-2.png index 62b5bdbb..1d5cc8db 100644 Binary files a/reference/save_3dprint-2.png and b/reference/save_3dprint-2.png differ diff --git a/reference/save_3dprint-3.png b/reference/save_3dprint-3.png index 62b5bdbb..1d5cc8db 100644 Binary files a/reference/save_3dprint-3.png and b/reference/save_3dprint-3.png differ diff --git a/reference/save_3dprint-4.png b/reference/save_3dprint-4.png index 62b5bdbb..1d5cc8db 100644 Binary files a/reference/save_3dprint-4.png and b/reference/save_3dprint-4.png differ diff --git a/reference/save_3dprint.html b/reference/save_3dprint.html index 45c77e3c..d74c5a18 100644 --- a/reference/save_3dprint.html +++ b/reference/save_3dprint.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -139,8 +139,8 @@

Examples

render_snapshot() save_3dprint(filename_stl) } -#> Dimensions of model are: 125.0 mm x 58.7 mm x 87.2 mm +#> Dimensions of model are: 125.0 mm x 58.7 mm x 87.2 mm #Save the STL file into `filename_stl`, setting maximum width to 100 mm if(run_documentation()) { @@ -150,8 +150,8 @@

Examples

render_snapshot() save_3dprint(filename_stl, maxwidth = 100) } -#> Dimensions of model are: 100.0 mm x 47.0 mm x 69.8 mm +#> Dimensions of model are: 100.0 mm x 47.0 mm x 69.8 mm #'#Save the STL file into `filename_stl`, setting maximum width to 4 inches if(run_documentation()) { @@ -161,8 +161,8 @@

Examples

render_snapshot() save_3dprint(filename_stl, maxwidth = 4, unit = "in") } -#> Dimensions of model are: 4.00 in x 1.88 in x 2.79 in +#> Dimensions of model are: 4.00 in x 1.88 in x 2.79 in #'#'#Save the STL file into `filename_stl`, setting maximum width (character) to 120mm if(run_documentation()) { volcano %>% @@ -171,8 +171,8 @@

Examples

render_snapshot() save_3dprint(filename_stl, maxwidth = "120mm") } -#> Dimensions of model are: 120.0 mm x 56.4 mm x 83.7 mm +#> Dimensions of model are: 120.0 mm x 56.4 mm x 83.7 mm @@ -187,7 +187,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/save_multipolygonz_to_obj.html b/reference/save_multipolygonz_to_obj.html index c8a3d730..faeb87d4 100644 --- a/reference/save_multipolygonz_to_obj.html +++ b/reference/save_multipolygonz_to_obj.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -143,7 +143,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/save_obj.html b/reference/save_obj.html index bf427647..015161f2 100644 --- a/reference/save_obj.html +++ b/reference/save_obj.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -180,7 +180,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/save_png.html b/reference/save_png.html index f89b8166..ac7658fa 100644 --- a/reference/save_png.html +++ b/reference/save_png.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -204,7 +204,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/sphere_shade.html b/reference/sphere_shade.html index a7034c5f..3ecf864b 100644 --- a/reference/sphere_shade.html +++ b/reference/sphere_shade.html @@ -19,7 +19,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -200,7 +200,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/texture_shade.html b/reference/texture_shade.html index 89628ef6..88004d9e 100644 --- a/reference/texture_shade.html +++ b/reference/texture_shade.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -224,7 +224,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/transform_into_heightmap_coords.html b/reference/transform_into_heightmap_coords.html index 5000989f..5c45a3ff 100644 --- a/reference/transform_into_heightmap_coords.html +++ b/reference/transform_into_heightmap_coords.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -120,7 +120,6 @@

Value

Examples

#Fake example
-
 
@@ -135,7 +134,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/transform_points_custom_crs.html b/reference/transform_points_custom_crs.html index 7bde4cf9..3d0379d9 100644 --- a/reference/transform_points_custom_crs.html +++ b/reference/transform_points_custom_crs.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -115,7 +115,7 @@

Transform Polygon into Raycoords

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/transform_points_into_raycoords.html b/reference/transform_points_into_raycoords.html index 48c5b59c..ec29b480 100644 --- a/reference/transform_points_into_raycoords.html +++ b/reference/transform_points_into_raycoords.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -121,7 +121,7 @@

Transform Points into Raycoords

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/transform_polygon_custom_crs.html b/reference/transform_polygon_custom_crs.html index 3c99191c..393690d4 100644 --- a/reference/transform_polygon_custom_crs.html +++ b/reference/transform_polygon_custom_crs.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -115,7 +115,7 @@

Transform Polygon into Raycoords

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/transform_polygon_into_raycoords.html b/reference/transform_polygon_into_raycoords.html index d72e9571..e64a16ac 100644 --- a/reference/transform_polygon_into_raycoords.html +++ b/reference/transform_polygon_into_raycoords.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -121,7 +121,7 @@

Transform Polygon into Raycoords

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/translate_shape_string.html b/reference/translate_shape_string.html index bbd519a2..495cc1fb 100644 --- a/reference/translate_shape_string.html +++ b/reference/translate_shape_string.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -123,7 +123,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/tree_basic_center_obj.html b/reference/tree_basic_center_obj.html index 8aa732d0..b9b4af58 100644 --- a/reference/tree_basic_center_obj.html +++ b/reference/tree_basic_center_obj.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -121,7 +121,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/tree_cone_center_obj.html b/reference/tree_cone_center_obj.html index 17206bb8..772698eb 100644 --- a/reference/tree_cone_center_obj.html +++ b/reference/tree_cone_center_obj.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -121,7 +121,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/tree_trunk_obj.html b/reference/tree_trunk_obj.html index 7e2fc245..4e0daf44 100644 --- a/reference/tree_trunk_obj.html +++ b/reference/tree_trunk_obj.html @@ -18,7 +18,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -121,7 +121,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/trim_padding.html b/reference/trim_padding.html index 02fc232f..439dbdc2 100644 --- a/reference/trim_padding.html +++ b/reference/trim_padding.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -131,7 +131,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/unit_vector.html b/reference/unit_vector.html index f383013d..1fd1e32a 100644 --- a/reference/unit_vector.html +++ b/reference/unit_vector.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -119,7 +119,7 @@

Value

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/washington_monument_multipolygonz.html b/reference/washington_monument_multipolygonz.html index 5aa728e8..57ef4084 100644 --- a/reference/washington_monument_multipolygonz.html +++ b/reference/washington_monument_multipolygonz.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -114,7 +114,6 @@

Source

Examples

# See the `render_multipolygonz()` documentation for examples of using this data.
-
 
@@ -129,7 +128,7 @@

Examples

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/reference/write_stl.html b/reference/write_stl.html index 66c6ff48..f1282c19 100644 --- a/reference/write_stl.html +++ b/reference/write_stl.html @@ -17,7 +17,7 @@ rayshader - 0.38.1 + 0.38.4 @@ -123,7 +123,7 @@

Arguments

-

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.