r_obj {rayvertex} | R Documentation |
R 3D Model
Description
3D obj model of R logo (created from the R SVG logo with the raybevel
package),
to be used with obj_model()
Usage
r_obj(simple_r = FALSE)
Arguments
simple_r |
Default |
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)))
}
[Package rayvertex version 0.11.4 Index]