read_obj: Load an OBJ file

View source: R/readobj.R

read_objR Documentation

Load an OBJ file

Description

Loads an OBJ file and return a ray_mesh list structure. No processing is done on the object other than loading it (unlike obj_model()).

Usage

read_obj(filename, materialspath = NULL)

Arguments

filename

Filename of the OBJ file.

materialspath

Directory where the MTL file is located. Defaults to the directory of filename.

Value

ray_mesh list object #Load an arrow OBJ sphere = read_obj(system.file("extdata", "arrow.txt", package="rayvertex"))


rayvertex documentation built on Sept. 11, 2024, 7:51 p.m.