3D obj model of R logo (created from the R SVG logo with the raybevel package), to be used with obj_model()

r_obj(simple_r = FALSE)

Arguments

simple_r

Default FALSE. If TRUE, this will return a 3D R (instead of the R logo).

Value

File location of the 3d_r_logo.obj file (saved with a .txt extension)

Examples

#Load and render the included example R object file.
if(run_documentation()) {
obj_mesh(r_obj()) |> 
  rasterize_scene(lookfrom = c(0, 1, 10),
                  fov=7,light_info = directional_light(c(1,1,1)))
}
#> Setting `lookat` to: c(0.00, 0.00, 0.00)