read_obj | R Documentation |
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()
).
read_obj(filename, materialspath = NULL)
filename |
Filename of the OBJ file. |
materialspath |
Directory where the MTL file is located. Defaults to the directory of |
ray_mesh
list object
#Load an arrow OBJ
sphere = read_obj(system.file("extdata", "arrow.txt", package="rayvertex"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.