diff --git a/R/convert_rgl_to_raymesh.R b/R/convert_rgl_to_raymesh.R index 7d3cdeab..9b4b03e7 100644 --- a/R/convert_rgl_to_raymesh.R +++ b/R/convert_rgl_to_raymesh.R @@ -6,9 +6,7 @@ #'@return A `ray_mesh` object #'@export #'@examples -#'if(interactive()) { #'filename_obj = tempfile(fileext = ".obj") -#' #'#Save model of volcano #'if(run_documentation()) { #'volcano %>% diff --git a/man/convert_rgl_to_raymesh.Rd b/man/convert_rgl_to_raymesh.Rd index 429fa23b..eaab85de 100644 --- a/man/convert_rgl_to_raymesh.Rd +++ b/man/convert_rgl_to_raymesh.Rd @@ -15,3 +15,14 @@ A `ray_mesh` object \description{ Converts the current RGL rayshader scene to a `ray_mesh` object (see `rayvertex` package for more information) } +\examples{ +filename_obj = tempfile(fileext = ".obj") +#Save model of volcano +if(run_documentation()) { +volcano \%>\% + sphere_shade() \%>\% + plot_3d(volcano, zscale = 2) + +rm_obj = convert_rgl_to_raymesh() +} +} diff --git a/man/render_highquality.Rd b/man/render_highquality.Rd index 7eae6a6c..fd9bfbd3 100644 --- a/man/render_highquality.Rd +++ b/man/render_highquality.Rd @@ -5,7 +5,7 @@ \title{Render High Quality} \usage{ render_highquality( - filename = NULL, + filename = NA, samples = 128, sample_method = "sobol_blue", min_variance = 1e-07,